- 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/relations/
Last modified:2025-05-23 05:59:30
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
page_size
number
optional
page
number
optional
expand
string
optional
Example:
related_contact
created_at_after
string
optional
Example:
2025-05-12
created_at_before
string
optional
Example:
2025-05-19
contact
string
optional
Example:
01JVVJF3NTPY29SE2XQ7C5H0QA
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/relations/?expand=related_contact&contact=01JVVJF3NTPY29SE2XQ7C5H0QA'
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 (Relation) {9}]
required
contact
string
required
type
enum<string>
required
Allowed values:
fathermotherspousechildsiblingfriendco_applicantguarantorwitnessnominee
related_contact
string | null
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
[{"id":"01JN5QEYNNCEB2K4BRQJRNZGMG","tenant_id":"59ecf94e-054d-43ee-83db-b158ab9d7f67","created_by":"cffe818a-5003-4116-9104-069f7e062bb4","updated_by":"","created_at":"2025-02-28T13:01:16.341851Z","updated_at":"2025-02-28T13:01:16.341851Z","type":"father","contact":"01JMH5RK91QB2WKRE67D1F32YS","related_contact":{"id":"01JMH4QJQ6VP27A1ZSZ8YZ486K","tenant_id":"59ecf94e-054d-43ee-83db-b158ab9d7f67","created_by":"cffe818a-5003-4116-9104-069f7e062bb4","updated_by":"","created_at":"2025-02-20T13:09:07.494558Z","updated_at":"2025-02-20T13:09:07.494558Z","name":"Kaushik","status":"active","type":"individual","tags":["string"],"refs":{},"branch":null}}]