SurveyTale Docs

Create a contact

Creates a single contact in the database. This endpoint expects a top-level `attributes` object. For bulk uploads, use `PUT /management/contacts/bulk`, which expects `contacts[].attributes[]` instead. Each contact must have a valid email address in the attributes. All attribute keys must already exist in the environment. The email is used as the unique identifier along with the environment.

Authorization

apiKeyAuth
x-api-key<token>

Use your SurveyTale x-api-key to authenticate.

In: header

Request Body

application/json

The single contact to create. Must include a top-level attributes object with an email attribute, and all attribute keys must already exist in the environment.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json