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.
Use your Formbricks x-api-key to authenticate.
The contacts to upload. Use the full nested bulk body shown in the example or cURL snippet: { environmentId, contacts: [{ attributes: [{ attributeKey: { key, name }, value }] }] }. Each contact must include an email attribute inside its attributes array.
Contacts uploaded successfully.