Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Page Number
Default value is
1. -
Field to sort by
-
Sorting direction
Values are
ASCorDESC. Default value isASC. -
Size per page
Default value is
60. -
Contact ID filter.
Multi-value supported. Example: value1;value2 -
Contact type filter
Values are
ORGANIZATIONorPERSON. -
Contact name filter
-
Whether the contact is a customer
-
Whether the contact is a vendor/supplier
-
Whether the contact is a staff member
-
Whether the contact has a user account
-
Email address filter
-
Whether the contact is archived
-
Whether the contact has warnings
-
Whether the contact is an employee
-
Whether to filter for staff contacts only
GET
/api-v1/contact
curl \
--request GET 'https://wyzio.app/api-v1/contact'
Response examples (200)
[
{
"id": 42,
"organizationId": 42,
"contactType": "ORGANIZATION",
"name": "string",
"warnings": "string",
"isCustomer": true,
"isVendor": true,
"isStaff": true,
"isUser": true,
"email": "string",
"externalId": "string",
"clientOrderValidity": 42,
"creatorContactId": 42,
"archived": true,
"hasWarnings": true,
"isEmployee": true,
"tenantId": 42
}
]