- Omni
- Contact APIs
- NameSpace
- Address
- Bank
- Props
- Relation
- Contact
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
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
Match pattern:
^[a-zA-Z0-9\s,.'\-\/#]{5,100}$
city
stringÂ
optional
Match pattern:
^[a-zA-Z\s-.]{2,50}$
state
stringÂ
optional
>= 3 characters<= 50 characters
Match pattern:
^[a-zA-Z\s-]{3,50}$
pincode
stringÂ
optional
Match pattern:
^[0-9]{6}$
country
stringÂ
optional
Match pattern:
^[a-zA-Z\s]{2,50}$
coords
objectÂ
optional
codes
objectÂ
optional
tags
array[string]
optional
id
stringÂ
optional
>= 8 characters<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
created_at
string <date-time>
optional
created_by
stringÂ
optional
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
updated_at
string <date-time>
optional
updated_by
string  | nullÂ
optional
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
tenant_id
stringÂ
optional
<= 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": []
}
]
}