Contacts
List contacts
List contacts.
search?stringPart of a name or number.
q?stringDeprecatedThe older name for search.
group_id?stringFormat
uuidsuppressed?booleantrue keeps only suppressed numbers, false only the ones that can be messaged.
attributes?stringA JSON object of attribute names to lists of values, like {"city":["Arusha"]}. At most 20 names and 50 values each.
limit?integerRange
1 <= value <= 500Default
50since?stringAdded at or after this time.
Format
date-timeuntil?stringAdded before this time.
Format
date-timecursor?stringThe next_cursor of the previous page. Opaque.
X-Request-Id?stringYour id for this request; it becomes the request_id of any error. Without it the server makes one.
curl -X GET 'https://v3.ghala.io/v1/contacts'{ "next_cursor": "string", "has_more": true, "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "phone": "255712345678", "name": "string", "email": "string", "attributes": { "property1": "string", "property2": "string" }, "suppression": "opt_out", "identities": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "channel": "whatsapp", "address": "string", "display": "string", "created_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}