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 > Contact Attribute Keys
Management API > Surveys > Contact Links
Management API > Webhooks
Organizations API > Teams
Organizations API > Project Teams
Organizations API > Users
Get a contact attribute key
Gets a contact attribute key from the database.
GET
/
contact-attribute-keys
/
{id}
curl --request GET \
--url https://app.formbricks.com/api/v2/management/contact-attribute-keys/{id} \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z",
"isUnique": false,
"key": "email",
"name": "Email Address",
"description": "The user's email address",
"type": "custom",
"environmentId": "<string>"
}
Authorizations
Use your Formbricks x-api-key to authenticate.
Path Parameters
The ID of the contact attribute key
Response
200 - application/json
Contact attribute key retrieved successfully.
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://app.formbricks.com/api/v2/management/contact-attribute-keys/{id} \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z",
"isUnique": false,
"key": "email",
"name": "Email Address",
"description": "The user's email address",
"type": "custom",
"environmentId": "<string>"
}