API ReferenceContacts
List contacts
Get contacts for an organization with optional search and filtering.
Authorization
sessionAuth AuthorizationBearer <token>
NextAuth session token
In: header
Path Parameters
orgId*string
Format
uuidQuery Parameters
search?string
Search by name, phone, email, or company
status?string
Filter by contact status
Value in
"active" | "inactive" | "blocked"source?string
Filter by source
Value in
"phone_inbound" | "phone_outbound" | "chat" | "browser" | "manual"limit?integer
Default
50Range
value <= 500offset?integer
Default
0Response Body
application/json
curl -X GET "https://platform.autophone.org/api/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts"{
"contacts": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"phone": "string",
"email": "user@example.com",
"firstName": "string",
"lastName": "string",
"displayName": "string",
"company": "string",
"jobTitle": "string",
"source": "phone_inbound",
"status": "active",
"isCustomer": false,
"customerSince": "2019-08-24T14:15:22Z",
"timezone": "string",
"preferredLanguage": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"total": 0,
"limit": 0,
"offset": 0
}Empty
Empty