Authentication
All PostProxy API requests require authentication using a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEYYou can get your API key from your PostProxy dashboard.
API key types
Section titled “API key types”| Type | Scope |
|---|---|
| Full Access | Access all profile groups, create/delete profile groups |
| Profile Group Scoped | Access only the specified profile group |
Example request
Section titled “Example request”curl -X GET "https://api.postproxy.dev/api/profiles" \ -H "Authorization: Bearer YOUR_API_KEY"Profile group context
Section titled “Profile group context”API requests operate within a profile group context:
- Explicit parameter: Pass
?profile_group_id=<id>as a query parameter - API key scope: If your API key is scoped to a profile group, that group is used automatically
- Default: If neither is specified and the key has full access, the first profile group is used