Get contact attribute keys
Gets contact attribute keys from the database.
GET
Authorizations
Use your Formbricks x-api-key to authenticate.
Query Parameters
Required range:
1 <= x <= 100
Required range:
x >= 0
Available options:
createdAt
, updatedAt
Available options:
asc
, desc
Response
200 - application/json
Contact attribute keys retrieved successfully.
The ID of the contact attribute key
The date and time the contact attribute key was created
Example:
"2021-01-01T00:00:00.000Z"
The date and time the contact attribute key was last updated
Example:
"2021-01-01T00:00:00.000Z"
Whether the attribute must have unique values across contacts
Example:
false
The attribute identifier used in the system
Example:
"email"
Display name for the attribute
Example:
"Email Address"
Description of the attribute
Example:
"The user's email address"
Whether this is a default or custom attribute
Available options:
default
, custom
Example:
"custom"
The ID of the environment this attribute belongs to
Was this page helpful?