Get field

​

Returns the value of field_name for the customer with customer_id.

Path Parameters

  • Identifier of the customer.

  • Name 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
  }
}