Contact

List

Get method to list all Contacts from account

Parameters

Name Description
account_id required Your account unique identifier to access API.
user_id Search by: Contact user_id
device_id Search by: Contact associated device_id
name_first Search by: Name of the contact
name_last Search by: Last name of the contact
email Search by: Email fo the contact
phone_countrycode Search by: Country code of the contact phone
phone_number Search by: Phone number without country code of the contact
limit limit of number contacts returns, default: 200
contact_id_from Contact id to start the list
order creation_date order asc or desc, default: asc

Request

Route
GET 
/v2/account/:account_id/contact/
Route with Pagination
GET 
/v2/account/:account_id/contact/?contact_id_from={contact_id}
Headers
Accept: application/json 
Authorization: Token token={account.secret}
Content-Type: application/json

Response

Status
200
Body
{"contacts"=>[{"id"=>"3210938120313912312", "name_first"=>"Jhoe", "name_last"=>"Doe", "user_id"=>"xxxxxx", "email"=>"email@email.email", "phone_countrycode"=>"34", "phone_number"=>"77777777", "tags"=>[]}]}