Authentication

Pod Engine uses API tokens to authenticate requests. You need to include your API token in the header of all requests to access protected endpoints.

API Token

All API requests must include your token in the Authorization header:

Your API Token

••••••••••••••••••••••••••••••••

Security Notice

Your API tokens carry many privileges, so be sure to keep them secure. Do not share your API tokens in publicly accessible areas such as GitHub, client-side code, or in your frontend application.

Authentication Examples

1// Using fetch
2const response = await fetch('https://api.podengine.ai/api/v1/episodes', {
3  headers: {
4    'Content-Type': 'application/json',
5    'Authorization': 'YOUR_API_TOKEN'
6  }
7});
8
9const data = await response.json();

Error Responses

If authentication fails, the API will respond with a 401 status code and the following error message:
1{
2  "status": "UNAUTHORIZED",
3  "data": {
4    "message": "Invalid authorization token"
5  }
6}

Need Help?

If you're having trouble with authentication or need to report a security issue, please contact our support team.

Contact Support