Get list of contacts
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Query parameters
-
direction string
Sorting direction
Values are
ASC
orDESC
. Default value isASC
. -
pageNumber integer(int32)
Page Number
Default value is
1
. -
sizePerPage integer(int32)
Size per page
Default value is
60
. -
sortingField string
Field to sort by
GET /api-v1/contact
curl \
-X GET http://10.10.10.132/api-v1/contact \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"archived": true,
"clientOrderValidity": 42,
"contactType": "ORGANIZATION",
"creatorContactId": 42,
"email": "string",
"externalId": "string",
"hasWarnings": true,
"id": 42,
"isCustomer": true,
"isEmployee": true,
"isStaff": true,
"isUser": true,
"isVendor": true,
"name": "string",
"organizationId": 42,
"tenantId": 42,
"warnings": "string"
}
]