Skip to main content

Use API Keys

Prerequisites

API Requests

Pass the ClientID and ClientSecret as headers in every request to the Palabra API endpoints listed in the API Reference.

Code Samples

The example below shows how to send a request to the built-in voices API endpoint.

Built-in Voices:

curl -L 'https://api.palabra.ai/saas/voice/builtin' \
-H 'Accept: application/json' \
-H 'ClientID: <YourClientID>' \
-H 'ClientSecret: <YourClientSecret>'

API Reference Playground

Most sections in the Palabra documentation, such as "Built-in Voices", include a Playground block. The Playground block lets you authorize with your ClientID and ClientSecret and execute test requests directly against the Palabra API.

Authorize

Swagger Playground

The Palabra API documentation is also available in Swagger UI format, which allows you to send test requests in the Swagger playground using your ClientID and ClientSecret.

Swagger

note

The section linked above offers the same content found in the API Reference right sidebar menu, just with a different user interface.