Get customer
Returns customer data for customer_id.
Path Parameters
- Type: integercustomer
_id requiredIdentifier of the customer.
Responses
- application/json
- application/json
Request Example for get/customers/{customer_id}/
curl https://api.landbot.io/v1/customers/1/ \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"success": true,
"customer": {
"id": 42,
"name": "Ataulfo",
"channel_id": 1,
"avatar": "https://octodex.github.com/images/dojocat.jpg",
"last_message": 1493285931.828493,
"unread": false,
"archived": false,
"agent_id": 1,
"register_date": 1491480847.264482,
"custom_fields": {
"email": {
"value": "api@helloumi.com",
"type": "string",
"extra": {},
"name": "email"
},
"payment_date": {
"value": 1491480957.264482,
"type": "datetime",
"extra": {},
"name": "payment_date"
}
},
"meta_data": {}
}
}