NextSign API
Cases

Case Get Multiple

Get multiple cases by ID using GET /api/v2/{company}/cases/{case_ids}/get.

Case Get Multiple

Use this endpoint to fetch multiple specific cases in a single request by passing a comma-separated list of case IDs.

Authorization

All requests to this endpoint require authentication using a Bearer Token.

Use your NextSign API key as the bearer token for this endpoint.


Endpoint

GET https://www.nextsign.dk/api/v2/{company}/cases/{case_ids}/get

Path Parameters

ParameterTypeDescription
companystringYour company identifier
case_idsstringComma-separated list of case IDs

Example Request

cURL
curl --location 'https://www.nextsign.dk/api/v2/{company}/cases/6618ddb22f3dfc40f20af288,661cf690d0a8e1ab7c2c951c/get' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Example Response

200 OK
{
  "status": "cases_found",
  "cases": [
    {
      "_id": "6618ddb22f3dfc40f20af288",
      "title": "Contract 1",
      "createdAt": "2023-12-14T16:40:27.431Z",
      "updatedAt": "2024-02-19T10:52:25.836Z"
    },
    {
      "_id": "661cf690d0a8e1ab7c2c951c",
      "title": "Contract 2",
      "createdAt": "2024-01-10T08:20:15.123Z",
      "updatedAt": "2024-03-05T14:30:45.678Z"
    }
  ]
}

Response Fields

FieldTypeDescription
statusstringStatus of the lookup, typically cases_found
casesarrayArray of matching case objects

The API returns 404 when none of the requested IDs are found for the company.

Common Error Responses

Missing bearer token:

{
  "errors": [
    {
      "code": 401,
      "message": "Unauthorized",
      "description": "Bearer token not found"
    }
  ]
}

No matching cases:

{
  "message": "Cases not found"
}