List contact attribute keys
Changed onReturns the contact attribute keys for a workspace. Use the returned key values as targeting.filters[].root.contactAttributeKey when targeting app surveys; dataType hints which operators apply. Requires the Contacts entitlement (403 without it). Session cookie, x-api-key, or a Bearer token.
Optional search, filter[dataType][in], filter[type][in], sortBy and includeTotalCount narrow, order and count the list on the server. Without them the endpoint behaves as before: ordered by id, meta.totalCount is null. The cursor is bound to sortBy and the search/filter set; changing any of them while paging → 400 naming cursor. Unknown query parameters → 400.
Request
- Base URLhttps://app.formbricks.com
- URLhttps://app.formbricks.com/api/v3/contact-attribute-keys
- Auth
- API key in cookie next-auth.session-token
- or API key in header x-api-key
- or HTTP bearer
Query parameters
Workspace identifier. This is the canonical container ID for v3 APIs.
Page size (max 250).
Opaque cursor returned as meta.nextCursor from the previous page. Omit on the first request.
When true, meta.totalCount is the number of keys matching the search and filters across all pages; otherwise it is null.
Case-insensitive substring match over key, name and description.
Keep only keys with one of these data types. Repeat the parameter or send comma-separated values. Unknown values → 400.
Keep only built-in (default) or workspace-defined (custom) keys. Repeat or comma-separate.
Sort order. name sorts by the display name (falling back to key), case-insensitively. A leading - sorts newest first. Omit for the original order (by id).
Response
Contact attribute keys retrieved successfully
Changes
- info
added the new optional
queryrequest parameterfilter[dataType][in] - info
added the new optional
queryrequest parameterfilter[type][in] - info
added the new optional
queryrequest parameterincludeTotalCount - info
added the new optional
queryrequest parametersearch - info
added the new optional
queryrequest parametersortBy - info
added
subschema #2to theresponse propertyallOflist for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info
- warning
added the new
chart_in_useenum value to theresponse property for the response status - warning
added the new
chart_in_useenum value to theresponse property for the response status - warning
added the new
chart_in_useenum value to theresponse property for the response status - warning
added the new
chart_in_useenum value to theresponse property for the response status - warning
added the new
chart_in_useenum value to theresponse property for the response status - warning
added the new
dashboards_plan_requiredenum value to theresponse property for the response status - warning
added the new
dashboards_plan_requiredenum value to theresponse property for the response status - warning
added the new
dashboards_plan_requiredenum value to theresponse property for the response status - warning
added the new
dashboards_plan_requiredenum value to theresponse property for the response status - warning
added the new
dashboards_plan_requiredenum value to theresponse property for the response status - warning
added the new
limit_exceededenum value to the//response property for the response status - warning
added the new
limit_exceededenum value to the//response property for the response status - warning
added the new
limit_exceededenum value to the//response property for the response status - warning
added the new
limit_exceededenum value to the//response property for the response status - warning
added the new
limit_exceededenum value to the//response property for the response status
- warning