Getting started
Create or access your developer account, request the appropriate API permissions, generate credentials, and make your first authenticated request.
Create a developer account
Sign up for a FrontBooker developer account through the affiliate or agent dashboard. Your account is the foundation for all API access and credential management.
Request API access
After creating your account, request API access for the capabilities you need. Access is scoped to application-based permissions, not granted as a single unrestricted key.
Generate credentials
Once approved, generate your API credential from the dashboard. One active key per account — creating a new key revokes the previous one. Your secret is shown only once.
# Example: credential created in dashboard
Credential ID: cred_abc123
Secret: fb_live_xxxxxxxxxxxx (shown once, never again)
Make your first request
Use your API credential in the Authorization header to make your first authenticated request.
curl https://distribution-api.frontbooker.com/v1/search \
-H "Authorization: Bearer fb_live_your_secret_key" \
-G -d destination=nairobi -d limit=5
Example response:
{
"success": true,
"data": {
"properties": [],
"pagination": {
"page": 1,
"has_more": true
}
}
}
Configure development environments
Set up your environment variables for development, staging, and production. Never hardcode secret credentials in your application code.
# .env.example
FRONTBOOKER_API_BASE=https://distribution-api.frontbooker.com/v1
FRONTBOOKER_API_KEY=fb_live_your_secret_key