Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Address
  • Omni
  • Contact APIs
  • NameSpace
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Delete
      DELETE
  • Address
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Bank
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Props
    • Update Props
      PUT
    • Get Props
      GET
    • Delete Props
      DELETE
  • Relation
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Contact
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Dedupe
      POST
    • Active
      PUT
    • Inactive
      PUT
    • Reject
      PUT
    • Approve
      PUT
  1. Address

List

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/contacts/addresses/
Last modified:2025-05-23 06:00:04

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
contact
string 
optional
Example:
01JVVTX6K82VK4X4RBJBGFKG4C
expand
string 
optional
Example:
props
created_at_after
string 
optional
Example:
2025-05-12
created_at_before
string 
optional
Example:
2025-05-19
search
string 
optional
fields to be searched: "address_line", "city", "state", "country", "pincode"
tags
string 
optional

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://preprod.api.crego.io/contacts/addresses/?contact=01JVVTX6K82VK4X4RBJBGFKG4C'

Responses

🟢200OK
application/json
Body
count
integer 
required
total_pages
integer 
required
current_page
integer 
required
has_previous
boolean 
required
has_next
boolean 
required
previous_page
null 
required
next_page
null 
required
results
array[object (Address) {15}] 
required
contact_id
string 
required
address_line
string 
optional
Address line containing 5-100 characters, allowing letters, numbers, spaces, and common symbols (,.'-/#).
Match pattern:
^[a-zA-Z0-9\s,.'\-\/#]{5,100}$
city
string 
optional
City name containing 2-50 characters, allowing letters, spaces, dashes, and periods.
Match pattern:
^[a-zA-Z\s-.]{2,50}$
state
string 
optional
State name containing 3-50 characters, allowing letters, spaces, and dashes.
>= 3 characters<= 50 characters
Match pattern:
^[a-zA-Z\s-]{3,50}$
pincode
string 
optional
6-digit numeric postal code.
Match pattern:
^[0-9]{6}$
country
string 
optional
Country name containing 2-50 characters, allowing only letters and spaces.
Match pattern:
^[a-zA-Z\s]{2,50}$
coords
object 
optional
Location coordinates
codes
object 
optional
Object to hold miscellaneous codes.
tags
array[string]
optional
Array of tags, each containing 1-50 characters, allowing letters, numbers, spaces, and dashes.
id
string 
optional
ID, 8-40 characters long, allowing alphanumeric characters.
>= 8 characters<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
created_at
string <date-time>
optional
Timestamp indicating when the entity was created, in ISO 8601 format.
created_by
string 
optional
Created by, 1-100 characters long, allowing alphanumeric characters, spaces, periods, underscores, and dashes.
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
updated_at
string <date-time>
optional
Timestamp indicating when the entity was last updated, in ISO 8601 format.
updated_by
string  | null 
optional
Updated by, 1-100 characters long, allowing alphanumeric characters, spaces, periods, underscores, and dashes.
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
tenant_id
string 
optional
Tenant ID, 6-40 characters long, allowing alphanumeric characters.
<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
Examples
{
    "count": 2,
    "total_pages": 1,
    "current_page": 1,
    "has_previous": false,
    "has_next": false,
    "previous_page": null,
    "next_page": null,
    "results": [
        {
            "id": "01JQHRW1XCD6JQQCV6FNSM0YGG",
            "tenant_id": "01JQCCNCK7CN39AWMYD15MQK25",
            "created_by": "01JQCCJV6FRRP0QFP4JCBE6J57",
            "updated_by": "",
            "created_at": "2025-03-30T01:48:11.019719Z",
            "updated_at": "2025-03-30T01:48:11.019741Z",
            "address_line": "sector 46",
            "city": "gurgaon",
            "state": "Haryana",
            "pincode": "122002",
            "country": "India",
            "tags": [
                "current"
            ],
            "lat": null,
            "long": null,
            "refs": {},
            "contact": "01JQDJY2ESVZNVNKYAH8CNGANV",
            "props": []
        },
        {
            "id": "01JQTSYARHJEJ49YCBRYQS0DXA",
            "tenant_id": "01JQCCNCK7CN39AWMYD15MQK25",
            "created_by": "01JQCG0V2ZQJRV670JCT82R4RA",
            "updated_by": "01JQCG0V2ZQJRV670JCT82R4RA",
            "created_at": "2025-04-02T14:00:04.315127Z",
            "updated_at": "2025-04-02T14:01:21.860873Z",
            "address_line": "30, bhavan nagar, bk pudhur",
            "city": "Jamnagar",
            "state": "Gujarat",
            "pincode": "115892",
            "country": "India",
            "tags": [],
            "lat": 23.0225,
            "long": 75.08,
            "refs": {},
            "contact": "01JQTS0YDFXCXFYEKA82M5RJ37",
            "props": []
        }
    ]
}
Previous
Update
Next
Retrieve
Built with