- 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/
Last modified:2025-05-23 05:50:44
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
page_size
stringÂ
optional
Example:
15
expand
stringÂ
optional
search
stringÂ
optional
Example:
Rajesh
namespace
stringÂ
optional
status
stringÂ
optional
Example:
inactive
type
stringÂ
optional
created_at_after
stringÂ
optional
Example:
2025-05-12
created_at_before
stringÂ
optional
Example:
2025-05-19
tags
stringÂ
optional
Example:
individual
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/?page_size=15&tags=individual'
Responses
🟢200Success
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 (Contact) {15}]Â
required
name
stringÂ
required
>= 1 characters<= 100 characters
Match pattern:
^[a-zA-Z0-9\s,.\-'&()]{1,100}$
namespace
stringÂ
required
status
enum<string>Â
required
Allowed values:
activeinactive
type
enum<string>Â
required
Allowed values:
individualcorporate
tags
array[string]
optional
refs
objectÂ
optional
props
array[object (Props) {3}]Â
required
rm_id
stringÂ
optional
Match pattern:
^[A-Za-z0-9_-]{1,50}$
branch_id
stringÂ
optional
Match pattern:
^[A-Za-z0-9_-]{1,50}$
id
stringÂ
required
>= 8 characters<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
created_at
string <date-time>
required
created_by
stringÂ
required
<= 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Â
required
<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
Examples
{"count":3,"total_pages":1,"current_page":1,"has_previous":false,"has_next":false,"previous_page":null,"next_page":null,"results":[{"id":"01JQ8RRBB2XRSVTCG11Y6JKCKH","namespace":"Vayana","tenant_id":"23067dbc-6c62-4203-9014-7100e4ffe811","created_by":"6da08401-b1f7-46ec-9013-2a9d7bc6185c","updated_by":"6da08401-b1f7-46ec-9013-2a9d7bc6185c","created_at":"2025-03-26T13:52:59.683345Z","updated_at":"2025-03-26T13:54:34.531893Z","name":"Sukumar","ref_id":"jijkdmkdoedmsaad","status":"active","type":"individual","tags":["9uJPe0RjSZ","RIPx3gSDNzV","ZdZ- gtkSZTBZeO6m"],"refs":{},"branch_id":"","props":["01JQ8RRB3HN71YQWJK8QRWG80K"]},{"id":"01JQ8T33JZ18DSQDC6Y560KDZK","namespace":"Vayana","tenant_id":"23067dbc-6c62-4203-9014-7100e4ffe811","created_by":"6da08401-b1f7-46ec-9013-2a9d7bc6185c","updated_by":"","created_at":"2025-03-26T14:16:20.768642Z","updated_at":"2025-03-26T14:16:20.768642Z","name":"Nimesh","ref_id":"jijkdmkdoedmsaad","status":"active","type":"individual","tags":["string"],"refs":{},"branch_id":"","props":["01JQ8T33BVMMK02XA9W1047G53"]},{"id":"01JQ8T3WZ4CEYA74W2WFA5BWJB","namespace":"Vayana","tenant_id":"23067dbc-6c62-4203-9014-7100e4ffe811","created_by":"6da08401-b1f7-46ec-9013-2a9d7bc6185c","updated_by":"","created_at":"2025-03-26T14:16:46.756429Z","updated_at":"2025-03-26T14:19:04.051072Z","name":"Rajesh","ref_id":"jijkdmkdoedmsaad","status":"inactive","type":"individual","tags":["string"],"refs":{},"branch_id":"","props":["01JQ8T3WPAWKAMYJSH2WGDDSN5"]}]}