Skip to main content
Introduction

Base URL

All API requests are made to:
All endpoints use HTTPS. HTTP requests are not supported.

Authentication

Authentication

The ParsaLink API uses Bearer token authentication. Include your access token in the Authorization header of every request:

Obtaining a Token

Authenticate by calling the login endpoint with your email and password:
Response:
The access token is valid for 1 hour. Use the refresh token to get a new access token without re-entering credentials.
See Authentication for full details on token refresh and API key authentication.
Responses

Response Format

All responses are JSON. Field names use camelCase throughout the API.

Success Response

Paginated List Response

Use the next URL directly to fetch the next page. You can also pass ?page=N or ?limit=N&offset=N query parameters.

Errors

Error Handling

Errors return standard HTTP status codes with a JSON body explaining the error.
Error response body:
For validation errors:

Rate Limits

Rate Limiting

Each plan has a defined request rate limit.
Rate limit headers are returned with every response:
When you exceed the limit, a 429 response is returned. The X-RateLimit-Reset value is a Unix timestamp indicating when the rate limit window resets.

Versioning

Versioning

The current API version is v1, which is the default when no version is specified. Breaking changes will be introduced with a new version prefix (e.g., /api/v2/). The current version will be supported for at least 12 months after a new version is released.