Contacts
The Bearer API key of your user more info.
numeric user id
the response
GET /api/users/{user-id}/contacts/emails HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
the response
[
{
"id": 1,
"target": "text",
"status": "OK"
}
]The Bearer API key of your user more info.
numeric user id
the response
POST /api/users/{user-id}/contacts/emails HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"target": "text"
}the response
{
"id": 1,
"target": "text",
"status": "OK"
}The Bearer API key of your user more info.
numeric user id
entity ID
the response
GET /api/users/{user-id}/contacts/emails/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
the response
{
"id": 1,
"target": "text",
"status": "OK"
}The Bearer API key of your user more info.
numeric user id
entity ID
the response
PUT /api/users/{user-id}/contacts/emails/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"target": "text"
}the response
{
"id": 1,
"target": "text",
"status": "OK"
}The Bearer API key of your user more info.
numeric user id
entity ID
if deletion was successful
DELETE /api/users/{user-id}/contacts/emails/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
if deletion was successful
No content
The Bearer API key of your user more info.
numeric user id
the response
GET /api/users/{user-id}/contacts/phone-numbers HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
the response
[
{
"id": 1,
"regionCode": "text",
"target": "text",
"primary": true,
"status": "OK"
}
]The Bearer API key of your user more info.
numeric user id
May only be enabled for a single phone number contact at a time
the response
POST /api/users/{user-id}/contacts/phone-numbers HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"regionCode": "text",
"target": "text",
"primary": true
}the response
{
"id": 1,
"regionCode": "text",
"target": "text",
"primary": true,
"status": "OK"
}The Bearer API key of your user more info.
numeric user id
entity ID
the response
GET /api/users/{user-id}/contacts/phone-numbers/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
the response
{
"id": 1,
"regionCode": "text",
"target": "text",
"primary": true,
"status": "OK"
}The Bearer API key of your user more info.
numeric user id
entity ID
May only be enabled for a single phone number contact at a time
the response
PUT /api/users/{user-id}/contacts/phone-numbers/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"regionCode": "text",
"target": "text",
"primary": true
}the response
{
"id": 1,
"regionCode": "text",
"target": "text",
"primary": true,
"status": "OK"
}The Bearer API key of your user more info.
numeric user id
entity ID
if deletion was successful
DELETE /api/users/{user-id}/contacts/phone-numbers/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
if deletion was successful
No content
Last updated
Was this helpful?