GET
/api/v1/customer/friend-requests
This API method will retrieve a list of active friend requests. You can retrieve all records, incoming or outgoing friend requests by passing an additional type param.
Request Parameters
Parameter | Value / Type | Required |
|---|---|---|
type | STRING (all / incoming / outgoing) | false |
Sample Response
{
"status": true,
"items": [
{
"id": "bZ6xBGP2mdPm3R8VX17L",
"customer_description": "",
"name": "Steve Martin",
"total_balance": 0,
"avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/4?v=1513629663",
"created_at": "2018-07-26 10:06:34",
"sent_request": 0
}
]
}{
"status": false,
"errorCode": "NO_ITEMS",
"message": "No Friend Requests Found"
}