Expanding Responses
How it works
Example - Request
curl --location -g --request GET 'https://api.treevox.com/v1/contacts?expand[]=assignedTo' \
--header 'Content-Type: application/json' \
--header 'Accept-Encoding: gzip' \
--header 'x-api-key: {your_api_key}Example response
{
"data": [
{
...,
"assignedToId": 1,
"assignedTo": {
"id": 1,
"name": "Name",
"surname": "Surname",
"createdAt": "2020-12-12T18:46:43.291Z",
"updatedAt": "2021-06-18T00:57:17.481Z"
},
...
},
...
],
"pagination": {
...
}
}Última actualización