API v2 Documentation (Draft)
Client API > Response
Client API > Contacts
Client API > Display
Client API > Environment
Client API > User
Client API > File Upload
Roles
Me
Management API > Responses
Management API > Contacts
Management API > Surveys > Contact Links
Management API > Webhooks
Organizations API > Teams
Organizations API > Project Teams
Organizations API > Users
Upload Bulk Contacts
Uploads contacts in bulk
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
Use your Formbricks x-api-key to authenticate.
Body
application/json
The contacts to upload
Was this page helpful?
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>"
}
}