curl --request GET \
--url https://app.dynamicauth.com/api/v0/custom/fields/{customFieldId} \
--header 'Authorization: Bearer <token>'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"key": "An example name",
"name": "An example name",
"enabled": true,
"required": true,
"fieldType": "text",
"validationRules": {
"unique": true,
"regex": "^0x",
"validOptions": [
{
"label": "small"
},
{
"label": "medium"
},
{
"label": "large"
}
],
"checkboxText": "Agree to the terms and conditions"
},
"position": 123
}
curl --request GET \
--url https://app.dynamicauth.com/api/v0/custom/fields/{customFieldId} \
--header 'Authorization: Bearer <token>'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"key": "An example name",
"name": "An example name",
"enabled": true,
"required": true,
"fieldType": "text",
"validationRules": {
"unique": true,
"regex": "^0x",
"validOptions": [
{
"label": "small"
},
{
"label": "medium"
},
{
"label": "large"
}
],
"checkboxText": "Agree to the terms and conditions"
},
"position": 123
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The unique identifier of the custom field
Custom field retrieved successfully
The response is of type object
.
Was this page helpful?