Get field
Returns the value of field_name for the customer with customer_id.
Path Parameters
- Type: integercustomer
_id requiredIdentifier of the customer.
- Type: stringfield
_name Pattern: ^[a-z0-9_]+$requiredName of the custom field. Only lowercase Latin letters, numbers, and
_are allowed.
Responses
- application/json
- application/json
Request Example for get/customers/{customer_id}/fields/{field_name}/
curl 'https://api.landbot.io/v1/customers/1/fields/{field_name}/' \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"success": true,
"field": {
"name": "phone",
"type": "integer",
"extra": {},
"value": 630027430
}
}