This is unreleased documentation for Parallel Developer Documentation **Next 🚧** version.

For up-to-date documentation, see the **[latest version](https://developer.parallelmarkets.com/docs/server/case-management-api/introduction)** (Current – v2.x).

Version: Next 🚧

## Case Management API Overview
The Case Management API provides programmatic access to the Parallel Markets platform.

## Endpoints
The base URL for the API endpoints differ for production and sandbox environments. You should call the endpoint associated with the environment you are integrating with.

| Production Endpoint | Sandbox Endpoint |
| --- | --- |
| `https://api.parallelmarkets.com/v2/partner-records/` | `https://demo-api.parallelmarkets.com/v2/partner-records/` |

### Demo Environment Configuration
If integrating in the sandbox environment, ensure you are using the sandbox endpoint listed above. Using the production API endpoints with an [API key](https://developer.parallelmarkets.com/docs/next/server/api-keys) associated with a sandbox account will fail.

## Authentication
All case management endpoints use [API Key authentication](https://developer.parallelmarkets.com/docs/next/server/api-keys).

## Pagination
Pagination is supported by endpoints that return a list of records, for example, [List Businesses/Individuals](https://developer.parallelmarkets.com/docs/next/server/case-management-api/records/list). The following parameters can be used to page your requests.

### Paginated Request Parameters
| Parameter | Description |
| --- | --- |
| `cursor` _(string)_ | _Optional._ A pagination cursor value that is returned in the previous response. |
| `limit` _(integer)_ | _Optional._ Limit the number of records returned per page. <br>_Min: 1, Max: 100, Default: 10_ |

### Paginated Response
| Parameter | Description |
| --- | --- |
| `pagination` | _Optional._ An object containing the `next_cursor` string. The `next_cursor` value can be used in subsequent requests to retrieve the next page of records. If no further records are available, then the `next_cursor` value will be `null`. |
