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.
All API requests must include your token in the Authorization header:
••••••••••••••••••••••••••••••••
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.
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();
1{
2 "status": "UNAUTHORIZED",
3 "data": {
4 "message": "Invalid authorization token"
5 }
6}
If you're having trouble with authentication or need to report a security issue, please contact our support team.
Contact Support