Authentication
All PostSyncer API requests require authentication using an API key. This guide explains how to obtain and use your API key.Don’t have an API key yet? Get one here.
Getting Your API Key
- Sign in to your PostSyncer account at app.postsyncer.com
- Navigate to Settings → API Integration
- Click “Create”
- Copy the key immediately - it won’t be shown again
Using Your API Key
Include your API key in theAuthorization header of all requests:
Example Request
JavaScript Example
Python Example
Python Example
PHP Example
Error Responses
If authentication fails, you’ll receive a401 Unauthorized response: