Podium Ci Integration
Overview
Implementation patterns for Podium ci integration using the REST API with OAuth2 authentication.
Prerequisites
- Completed
podium-install-authsetup - Valid OAuth2 access token
Instructions
Step 1: API Call Pattern
import axios from 'axios';
const podium = axios.create({
baseURL: 'https://api.podium.com/v4',
headers: { 'Authorization': `Bearer ${process.env.PODIUM_ACCESS_TOKEN}` },
});
const { data } = await podium.get('/locations');
console.log(`Locations: ${data.data.length}`);
Output
- Podium API integration for ci integration
- OAuth2 authenticated requests
- Error handling and retry logic
Error Handling
| Error | Cause | Solution | |-------|-------|----------| | 401 Unauthorized | Expired token | Refresh OAuth token | | 429 Rate Limited | Too many requests | Implement backoff | | 403 Forbidden | Missing scope | Update OAuth app scopes |
Resources
Next Steps
See related Podium skills for more workflows.