BeyondWords API overview
The BeyondWords API is a RESTful API that provides headless access to the entire platform, allowing you to programmatically create, manage, and deliver audio content.API basics
- Base URL: https://api.beyondwords.io/
- Format: The API accepts form-encoded request bodies and returns JSON-encoded responses
- Design: Uses predictable resource-oriented URLs and standard HTTP methods
- Status Codes: Uses standard HTTP response codes to indicate success or failure
Authentication
All API requests require authentication using your Project ID and API Key.Obtaining credentials
- Create a project in the dashboard
- Navigate to Settings > Integrations > API to find your Project ID and API Key
Security best practices
- Your API key carries many privileges, so be sure to safeguard it
- Never share your API key in publicly accessible places such as client-side code or GitHub
- Consider using environment variables to store your API credentials
Authentication methods
Most endpoints require theX-Api-Key header for authentication:
Request guidelines
- All API requests must use HTTPS; requests over plain HTTP will fail
- Requests without proper authentication will be rejected with a 401 Unauthorized response
- Include a content-type header of application/jsonfor requests with JSON bodies
Versioning
The API uses versioned endpoints to ensure compatibility:- Current stable version: v1
- Include the version in the URL path: https://api.beyondwords.io/v1/endpoint
Error handling
The API uses conventional HTTP response codes:- 2xx- Success
- 4xx- Client errors (invalid request)
- 5xx- Server errors
Getting help
If you encounter issues or have questions:- Contact support@beyondwords.io