POST
/
v1
/
customFields
/
listKeys
List custom field keys
curl --request POST \
  --url https://api.metronome.com/v1/customFields/listKeys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entities": [
    "customer"
  ]
}'
{
  "data": [
    {
      "entity": "customer",
      "key": "x_account_id",
      "enforce_uniqueness": true
    }
  ],
  "next_page": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

next_page
string

Cursor that indicates where the next page of results should start.

Body

application/json

Response

200 - application/json

Success

The response is of type object.