Create a contact attribute key
Creates a contact attribute key in the database.
POST
Authorizations
Use your Formbricks x-api-key to authenticate.
Body
application/json
The contact attribute key to create
Input data for creating or updating a contact attribute
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
Response
201
Contact attribute key created successfully.
Was this page helpful?