Upload Bulk Contacts
Uploads contacts in bulk. This endpoint expects the bulk request shape: contacts must be an array, and each contact item must contain an attributes array of { attributeKey, value } objects. Unlike POST /management/contacts, this endpoint does not accept a top-level attributes object. Each contact must include an email attribute in its attributes array, and that email must be valid. Note - Environments are deprecated. Use Workspace/workspaceId terminology.
Documentation Index
Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use your Formbricks x-api-key to authenticate.
Body
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.
Response
Contacts uploaded successfully.