Skip to main content
GET
/
v1
/
{tenantId}
/
cases
/
{id}
Get a case
curl --request GET \
  --url https://api.debbiecollect.com/v1/{tenantId}/cases/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "PENDING",
  "exitReason": "PAID",
  "id": 123,
  "caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "creditorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "statusTime": "<string>",
  "createdAt": "<string>",
  "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "migratedId": "<string>",
  "caseGroup": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "label": "<string>"
  }
}

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

id
string<uuid>
required

Id of the case to be retrieved. Either uuid or sequential case id.

Response

Successful operation

status
enum<string>

The case status

Available options:
PENDING,
VERIFIED,
ENDED
exitReason
enum<string>

Reason why the case is ended

Available options:
PAID,
OVERPAYMENT,
PARTIALLY_PAID,
DEAD,
BANKRUPTCY,
OBJECTION,
ERROR_CREDITOR,
ERROR_US,
WITHDRAWN,
EXPIRATION,
IRRECOVERABLE,
TRANSFERRED,
NO_COURT,
UNIDENTIFIED,
OFFER_FROM_US,
OFFER_FROM_DEBTOR,
FORCED_DISSOLVED,
NEGATIVE_PAYOFF,
DEPARTED,
CREDITOR_UNRESPONSIVE,
MERGED,
FIRE_AND_FORGET,
SMALL_CASE_NOT_WANTED,
ADDRESS_UNKNOWN,
DEBT_RELIEF,
CONFLICT_OF_INTEREST,
MINOR,
DELETED,
NO_DEBT
id
number

Case sequential id

caseId
string<uuid>

Id of case

creditorId
string<uuid>

Id of creditor

statusTime
string

Time og last status change

createdAt
string

Case created at

customerId
string<uuid>

Id of the customer related to the case

tenantId
string<uuid>

Id of the tenant

migratedId
string

Id from last system if the case is migrated

caseGroup
object