cURL
curl --request POST \ --url https://dovetail.com/api/v1/contacts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "John Smith", "email": "john@dovetail.com" }'
{ "data": { "id": "<string>" } }
Create a new contact in the contacts database.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Body
The body is of type object.
object
201
The response is of type object.
Was this page helpful?