/api/v1/object/field/select/{objectSlug}List the select, status and priority fields of an object.
List the select, status and priority fields of an object.
Deprecated: use
GET /object/field/active/{objectSlug}?types=select,status,priority,
which returns full field entries. This route returns only each field's
slug and name, for active and inactive fields.
Scope: read.<object slug>, for example read.contacts.
Errors:
400— no object has that slug, or the object is inactive.
Response 200:
{
"status": 200,
"message": "Select fields retrieved successfully",
"data": [
{ "slug": "stage-k2j9h4g7", "name": "stage" },
{ "slug": "status-a1b2c3d4", "name": "status" }
]
}
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Responses
Successful response
{
"slug": "string",
"name": "string"
}Bad request
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Unauthorized
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Internal server error
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Powered by heyo-docs