Skip to main content

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
https://api.babysea.ai/v1

Authentication

Include your API token in the Authorization header of all requests using Bearer token authentication:
Terminal
Authorization: Bearer YOUR_API_TOKEN

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
Your API token is shown only once during creation. If you lose it, you’ll need to generate a new token.