Create a contact attribute key
Creates a contact attribute key in the database. Note - Environments are deprecated. Use Workspace/workspaceId terminology.
Documentation Index
Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use your Formbricks x-api-key to authenticate.
Body
The contact attribute key to create
Input data for creating or updating a contact attribute
The attribute identifier used in the system
"email"
Display name for the attribute
"Email Address"
Description of the attribute
"The user's email address"
The ID of the Workspace this attribute belongs to
Deprecated alias for workspaceId.
Response
Contact attribute key created successfully.
The ID of the contact attribute key
The date and time the contact attribute key was created
"2021-01-01T00:00:00.000Z"
The date and time the contact attribute key was last updated
"2021-01-01T00:00:00.000Z"
Whether the attribute must have unique values across contacts
false
The attribute identifier used in the system
"email"
Display name for the attribute
"Email Address"
Description of the attribute
"The user's email address"
Whether this is a default or custom attribute
default, custom "custom"
The ID of the Workspace this attribute belongs to
Deprecated alias for workspaceId.