List contacts
People at a client company, with email and phone.
GET https://cotlet.dev/api/v1/accelo/contacts
read
Returns the contacts of one company, or contacts that match a search across your Accelo. Each contact has the name, email, phone and whether the person is the main contact. Use it to find who a ticket, quote or invoice goes to.
Parameters
| Name | Type | Description |
|---|---|---|
| company_id integer | integer | Company ID from list_companies. |
| search string | string | Part of the name or email. |
| limit integer | integer | 1 to 100. Default: 25. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/accelo/contacts \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("accelo", "list_contacts") const result = await cotlet.call('accelo', 'list_contacts'); cotlet call accelo list_contacts Example response
{
"contacts": [
{
"contact_id": 98,
"name": "Dana Whitfield",
"email": "dana@example.com",
"phone": "+1 555 0100",
"company": "Brightwave Studio",
"main_contact": true
}
],
"next_cursor": null
}