Create contact
POST {{base_url}}/respondents
email
is the only required field; name
and phone_number
are optional.
Request Body
{"name"=>"Johnny Rose", "email"=>"jr@example.com", "phone_number"=>"+13038675309"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
organization-id | string |
RESPONSES
status: Created
{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"Johnny Rose","email":"jr@example.com","phone_number":"+13038675309"}