Contacts
Create contact
Creates a new Contact object.
POST
/
contacts
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Surge-Account
string
requiredThe account ID
Body
application/json
POST body for creating a contact
phone_number
string
requiredThe 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.