Logo PopinaPopina API

Get paginated call list

This endpoint retrieves a paginated list of calls for toasting management purposes on the POS. The call list is sorted by calledAt date in descending order. (Pass a valid locationId in the query params if you want to use a service key instead of a device token)

GET/v1/call/
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Query Parameters

index?integer

Index of the page query parameter

Default0
Range0 <= value
size?integer

Number of record on a page query parameter (capped to 100)

Default10
Range1 <= value <= 100
locationId?string
Formatuuid

Response Body

application/json

curl -X GET "http://localhost:4008/v1/call/"
{
  "data": [
    {
      "calledAt": {},
      "customerId": "969d082a-2207-4b1a-8f25-72d17ba21022",
      "id": "99d8e109-8669-46ed-8d7b-d8392bce567c",
      "phoneNumber": "+33 6 42 10 00 62",
      "status": "DECROCHE"
    }
  ],
  "meta": {
    "currentPageIndex": 0,
    "pageSize": 10,
    "totalCount": 100,
    "totalPage": 10
  }
}