GET
/
v1
/
{tenantId}
/
cases
Get cases
curl --request GET \
  --url https://api.debbiecollect.com/v1/{tenantId}/cases \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "currentPage": 0,
    "pageSize": 25
  },
  "items": [
    {
      "status": "PENDING",
      "statusLog": [
        {
          "status": "PENDING",
          "createdAt": "<string>"
        }
      ],
      "exitReasonLabel": "PAID",
      "id": 123,
      "caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "creditorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "<string>",
      "endReasonId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "endReasonLabel": "<string>",
      "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customerReferenceId": "<string>",
      "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "groupLable": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "workflowId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "workflowLable": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.

Path Parameters

tenantId
string<uuid>
required

Id of the tenant the case belongs to

Query Parameters

page
integer

Page to get. Starting from 0.

pageSize
integer

Number of items per page.

Response

200
application/json

Successful operation

The response is of type object.