curl --request GET \
--url https://api.usepylon.com/custom-fields \
--header 'Authorization: Bearer <token>'{
"data": [
{
"created_at": "<string>",
"default_value": "<string>",
"default_values": [
"<string>"
],
"description": "<string>",
"id": "<string>",
"is_read_only": true,
"label": "<string>",
"object_type": "<string>",
"select_metadata": {
"options": [
{
"label": "<string>",
"slug": "<string>"
}
]
},
"slug": "<string>",
"source": "<string>",
"type": "<string>",
"updated_at": "<string>"
}
],
"pagination": {
"cursor": "<string>",
"has_next_page": true
},
"request_id": "<string>"
}Get all custom fields
curl --request GET \
--url https://api.usepylon.com/custom-fields \
--header 'Authorization: Bearer <token>'{
"data": [
{
"created_at": "<string>",
"default_value": "<string>",
"default_values": [
"<string>"
],
"description": "<string>",
"id": "<string>",
"is_read_only": true,
"label": "<string>",
"object_type": "<string>",
"select_metadata": {
"options": [
{
"label": "<string>",
"slug": "<string>"
}
]
},
"slug": "<string>",
"source": "<string>",
"type": "<string>",
"updated_at": "<string>"
}
],
"pagination": {
"cursor": "<string>",
"has_next_page": true
},
"request_id": "<string>"
}Authorization: Bearer
The object type of the custom fields. Can be "account", "issue", or "contact".