Contacts

Get a user's emails

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

Responses
200

the response

application/json
get
/users/{user-id}/contacts/emails
200

the response

Create a new email

post
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

Body
targetstringOptional
Responses
post
/users/{user-id}/contacts/emails
201

the response

Get a specific email

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

idnumberRequired

entity ID

Responses
200

the response

application/json
get
/users/{user-id}/contacts/emails/{id}
200

the response

Update a user's email

put
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

idnumberRequired

entity ID

Body
targetstringOptional
Responses
200

the response

application/json
put
/users/{user-id}/contacts/emails/{id}
200

the response

Delete the user's specified email

delete
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

idnumberRequired

entity ID

Responses
delete
/users/{user-id}/contacts/emails/{id}
204

if deletion was successful

No content

Get a user's phone numbers

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

Responses
200

the response

application/json
get
/users/{user-id}/contacts/phone-numbers
200

the response

Create a phone number

post
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

Body
regionCodestringOptional
targetstringOptional
primarybooleanOptional

May only be enabled for a single phone number contact at a time

Responses
post
/users/{user-id}/contacts/phone-numbers
201

the response

Get specific phone number

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

idnumberRequired

entity ID

Responses
200

the response

application/json
get
/users/{user-id}/contacts/phone-numbers/{id}
200

the response

Update a user's phone number

put
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

idnumberRequired

entity ID

Body
regionCodestringOptional
targetstringOptional
primarybooleanOptional

May only be enabled for a single phone number contact at a time

Responses
200

the response

application/json
put
/users/{user-id}/contacts/phone-numbers/{id}
200

the response

Delete the user's specified phone number

delete
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
user-idstringRequired

numeric user id

idnumberRequired

entity ID

Responses
delete
/users/{user-id}/contacts/phone-numbers/{id}
204

if deletion was successful

No content

Last updated

Was this helpful?