GET
/
contact-attributes
curl --request GET \
  --url https://app.formbricks.com/api/v2/management/contact-attributes \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "<string>",
    "createdAt": "2021-01-01T00:00:00.000Z",
    "updatedAt": "2021-01-01T00:00:00.000Z",
    "attributeKeyId": "<string>",
    "contactId": "<string>",
    "value": "example@email.com"
  }
]

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Query Parameters

limit
number
default:10
Required range: 1 <= x <= 100
skip
number
default:0
Required range: x >= 0
sortBy
enum<string>
default:createdAt
Available options:
createdAt,
updatedAt
order
enum<string>
default:desc
Available options:
asc,
desc
startDate
string
endDate
string

Response

200 - application/json
Contact attributes retrieved successfully.
id
string
required

The ID of the contact attribute

createdAt
string
required

The date and time the contact attribute was created

Example:

"2021-01-01T00:00:00.000Z"

updatedAt
string
required

The date and time the contact attribute was last updated

Example:

"2021-01-01T00:00:00.000Z"

attributeKeyId
string
required

The ID of the attribute key

contactId
string
required

The ID of the contact

value
string
required

The value of the attribute

Example:

"example@email.com"

Was this page helpful?