POST
/
contacts

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Surge-Account
string
required

The account ID

Body

application/json

POST body for creating a contact

phone_number
string
required

The contact's phone number in E.164 format.

first_name
string

The contact's first name.

last_name
string

The contact's last name.

Response

201 - application/json

Response schema for single contact

first_name
string

The contact's first name.

id
string

Unique identifier for the object.

last_name
string

The contact's last name.

phone_number
string

The contact's phone number in E.164 format.