Introduction
Getting started with the PNTA API
Welcome to the PNTA API
The PNTA API provides a comprehensive set of endpoints to manage your application data programmatically. Our REST API is designed to be simple, predictable, and resource-oriented.
Base URL
All API requests should be made to:
Authentication
All API endpoints require authentication using API keys. Include your API key in the Authorization header:
You can manage your API keys from the PNTA dashboard.
Response Format
All API responses are returned in JSON format. Successful responses will have a 2xx status code, while errors will return appropriate 4xx or 5xx status codes with detailed error messages.
Response Codes
PNTA uses standard HTTP codes to indicate the success or failure of your requests.
In general, 2xx HTTP codes correspond to success, 4xx codes are for user-related failures, and 5xx codes are for infrastructure issues.
Status | Description |
---|---|
200 | Successful request. |
201 | Resource created successfully. |
400 | Bad request - check that the parameters were correct. |
401 | Unauthorized - the API key used was missing or invalid. |
404 | The resource was not found. |
422 | Unprocessable entity - validation errors in request data. |
5xx | Indicates an error with PNTA servers. |