curl --request GET \
--url https://api.perscom.io/{version}/forms/{form}/fields/{field} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}curl --request GET \
--url https://api.perscom.io/{version}/forms/{form}/fields/{field} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use.
v1, v2 OK
Show child attributes
Supports HTML.
array, model If the options type is a model, this is the resource that should populate the options field.
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?