Logo PopinaPopina API

Get a consumer list

Get a consumer list with pagination.

GET/v1/consumers/
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

Response Body

application/json

curl -X GET "https://api.pragma-project.dev/v1/consumers/"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "scopes": [
        "string"
      ]
    }
  ],
  "meta": {
    "totalPage": 0,
    "totalCount": 0,
    "currentPageIndex": 0,
    "pageSize": 0,
    "hiddenByFilterCount": 0
  },
  "links": {
    "self": "string",
    "first": "string",
    "last": "string",
    "next": "string",
    "prev": "string"
  },
  "nextPageToken": "string"
}