Base URL
The API is built on REST principles and is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported. The Base URL for all API endpoints is:Terminal
Authentication
Include your API token in theAuthorization header of all requests using Bearer token authentication:
Terminal
Get API token
You can create a new API token/key under your BabySea Developer dashboard.- Navigate to the Developer dashboard
- Locate the API Tokens section
- Click Create to generate a new token
- Provide a descriptive name for your token (e.g., “Production Server”, “Development Environment”)
- Copy the token immediately - it will only be displayed once
- Store it securely in your environment variables