Skip to Content
Prets Developer Portal

Get a case

GET
/v1/cases/{caseId}

to try read requests with your account, or paste an API key into the Authorization field. Create an API key in the Partner Portal.

Retrieves a case's subject, state, and which party it is waiting on. Use state and waitingOn to decide whether you need to act, and List case messages to read the conversation.

Returns the case. Returns 404 when the case does not exist or is not visible to you.

Path Parameters

caseId*string

Platform case id (cas_{ULID})

Match^cas_[0-9A-HJKMNP-TV-Z]{26}$

Response Body

The case

application/json
  1. response

Case retrieval response

data*||

Quote support Case. Conversation lives on /messages; this resource is metadata and lifecycle only.

Authorization

bearerAuth
headerAuthorizationBearer <token>
Example Request
curl -X GET 'https://api.prets.app/v1/cases/cas_01ARZ3NDEKTSV4RRFFQ69G5FAV'
Example Response
{  "data": {    "caseId": "cas_01ARZ3NDEKTSV4RRFFQ69G5FAV",    "quote": {      "quoteId": "qot_01ARZ3NDEKTSV4RRFFQ69G5FAV"    },    "type": "merchant_feedback",    "requestType": "Reschedule Meeting",    "subject": "Customer wants a later install date",    "description": "The customer asked to move the appointment.",    "stage": "Prets Action",    "createdAt": "2026-08-14T09:12:04.000Z",    "expiresAt": "2026-09-09",    "createdBy": "Jane Advisor",    "updatedAt": "2026-08-16T11:03:22.000Z",    "state": "open",    "waitingOn": "prets",    "waitingSince": "2026-08-14T09:12:04.000Z"  }}