REST API V1: Authentication
Authentication is the process of verifying the identity of a client before granting access to Push0 API. It ensures that only authorized applications and users can send requests, access resources, or trigger actions.
API url -> https://api.push0.com/v1
Request Headers
The following headers are necessary for all rquests:
| Key | Value |
|---|---|
| Authorization | Bearer YOUR_API_KEY |
| Content-Type | application/json |
Positive Responses
| Status code | Title | Description |
|---|---|---|
| 200 | Success | Authentication successful! |
Error Responses
| Status code | Title | Description |
|---|---|---|
| 400 | Bad request | Missing Content-Typ: application/json |
| 401 | Unauthorized | Incorrect or not found YOUR_API_KEY or account with YOUR_API_KEY not found |
| 403 | Forbidden | Incorrect or not found YOUR_API_KEY or account with YOUR_API_KEY not found |
| 408 | Timeout | Request Timeout |
| 429 | Rate Limited | Too many requests in given period of time |
| 500 | Internal Server Error | Something happened on our side. Don't panic |