Skip to main content
PUT
Upload Bulk Contacts

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Body

application/json

The contacts to upload. Use the full nested bulk body shown in the example or cURL snippet: { workspaceId, environmentId (deprecated), contacts: [{ attributes: [{ attributeKey: { key, name }, value }] }] }. Each contact must include an email attribute inside its attributes array.

workspaceId
string
required
contacts
object[]
required
Maximum array length: 250
environmentId
string
deprecated

Deprecated alias for workspaceId.

Response

Contacts uploaded successfully.

data
object
required