Authentication
All Flex Forward API endpoints require authentication via a Bearer token in theAuthorization header.
Getting your API token
API access tokens are issued by the Flex Forward team during onboarding or account approval. Contact us at [email protected] to request development or production access.How access works
Flex Forward uses a managed onboarding model. API access is provisioned by the Flex Forward team to ensure your account is configured correctly for your shipping lanes and courier requirements.Contact the Flex Forward team
Email [email protected] with your use case, expected shipping volume, and required shipping lanes.
Receive development access
The team provisions your development credentials and configures your shipper account for testing against courier sandbox services.
Test your integration
Build and validate your integration using the development environment. Verify label creation, document retrieval, and tracking.
About shipperAccountId
TheshipperAccountId is a UUID that identifies your configured shipper account (e.g., a1b2c3d4-e5f6-7890-abcd-ef1234567890). It is provisioned by the Flex Forward team during onboarding and linked to your courier and shipping lane configuration. A single API account may have multiple shipper account IDs for different courier setups.
Making authenticated requests
Include the token in theAuthorization header of every request:
Error responses
If the token is missing or invalid, the API returns a401 Unauthorized response:
403 Forbidden response:
Token best practices
- Rotate tokens regularly
- Use separate tokens for development and production environments
- Store tokens in environment variables or a secrets manager — never hard-code them