PUT
/
contacts
/
bulk
curl --request PUT \
  --url https://app.formbricks.com/api/v2/management/contacts/bulk \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "environmentId": "<string>",
  "contacts": [
    {
      "attributes": [
        {
          "attributeKey": {
            "key": "<string>",
            "name": "<string>"
          },
          "value": "<string>"
        }
      ]
    }
  ]
}'
{
  "data": {
    "status": "<string>",
    "message": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Body

application/json
The contacts to upload
environmentId
string
required
contacts
object[]
required

Response

200
application/json
Contacts uploaded successfully.
data
object
required

Was this page helpful?