Contacts

List Contacts

Returns a paginated list of contacts ordered by createDate descending

get/companies/{companyId}/contacts

Request

  • Base URL
    https://api.pax8.com/v1
  • URL
    https://api.pax8.com/v1/companies/{companyId}/contacts
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://token-manager.pax8.com/oauth/token

Path parameters

companyIdstring uuid required
Example:f7fc273a-8d86-45c9-a26f-ffd42416adda

Query parameters

pagenumber

The page number to request for in the contacts list

sizenumber

Return this number of company records per page

Response

Successful operation

Example response

{
  "content": [
    {
      "id": "18d6329e-93f9-46a5-9df7-37e4c29d2840",
      "firstName": "John",
      "lastName": "Doe",
      "email": "john@doe.com",
      "phone": "555-555-5555",
      "createdDate": "2020-05-12"
    }
  ],
  "page": {
    "size": 50,
    "totalElements": 237,
    "totalPages": 5,
    "number": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.