Agents External APIs

Create External API Configuration

Changed on

Create an external API configuration.

Securely stores credentials for an external service (such as an OpenAI-compatible LLM or your ElevenLabs account) so agents can reference it by ID. The secret itself is never returned in responses. Fails if the service rejects the key, which is only checked for ElevenLabs so far.

post/v1/external-apis

Request

  • Base URL
    https://api.bey.dev
  • URL
    https://api.bey.dev/v1/external-apis
  • Auth
    API key in header x-api-key

Request body

OR

Response

Created External API Configuration with ID

OR

Example response

{
  "id": "01234567-89ab-cdef-0123-456789abcdef"
}

Changes