API Docs
  • Overview
  • Authentication
  • Errors
  • Error codes
  • Expanding Responses
  • API Reference
    • Contacts
      • The contact object
      • List all contacts
      • Total contacts
      • Retrieve a contact
      • Create a contact
      • Update a contact
      • Delete a contact
      • Bulk delete contacts
Con tecnología de GitBook
En esta página

¿Te fue útil?

  1. API Reference
  2. Contacts

Retrieve a contact

Retrieves the details of an existing contact. Supply the unique contact ID from either a contact creation request or the contact list, and Treevox will return the corresponding contact information.

List all contacts

GET https://api.treevox.com/v1/contacts/:id

Retrieves the details of an existing contact. Supply the unique contact ID from either a contact creation request or the product list, and Treevox will return the corresponding product information.

Path Parameters

Name
Type
Description

id*

Number

The Id of the contact to be retrieved

Query Parameters

Name
Type
Description

expand[]

String

Headers

Name
Type
Description

Content-Type*

application/json

Accept-Encoding

gzip

x-api-key*

String

{
  "id": "1",
  "name": "Zelma",
  "surname": "Pacocha",
  "dni": "885838866",
  "jobTitle": "Investor Infrastructure Officer",
  "email": "ben_crona@yahoo.com",
  "secondaryEmail": "juvenal13@example.org",
  "phone": "218-224-9677",
  "mobilePhone": "1-597-960-1880",
  "urlAvatar": "http://placeimg.com/640/480",
  "address": "Sharon Via",
  "withSales": false,
  "city": "East Sylvester",
  "countryId": 31,
  "classification": 74,
  "stageId": 17,
  "organizationId": 65,
  "assignedToId": 59,
  "userCreatorId": 33,
  "createdAt": "2021-06-16T14:20:59.553Z",
  "updatedAt": "2021-11-26T04:39:51.894Z"
}
{
    "timestamp": "2021-11-25T03:45:20.986Z",
    "message": "Contact not found",
    "code": "contact_not_found"
}
AnteriorTotal contactsSiguienteCreate a contact

Última actualización hace 3 años

¿Te fue útil?

values: organization, country, stage, assignedTo, userCreator.

Doc expandable
your api key in treevox