Quickstart
To begin using the Coba API:
- Contact our team to request your API credentials.
- Use the provided
API Client KeyandAccess Tokento authenticate your requests. - Choose the appropriate API base URL depending on your environment:
Production API base URLs
# Production
https://api.coba.ai/metal
Sandbox API base URLs
# Sandbox
https://sandbox.api.coba.ai/metal
Making your first API request
After picking your preferred client, you are ready to make your first call to the Coba API. Below, you can see how to send a GET request to the Conversations endpoint to get a list of all your conversations. In the cURL example, results are limited to ten conversations, the default page length for each client.
GET
/fxcurl -G https://sandbox.api.coba.ai/metal/fx\
-H "Authorization: Bearer {token}" \
-H "X-Coba-Metal-API-Key: {client_api_key}" \
What's next?
Great, you're now set up with an API client and have made your first request to the API. Here are a few links that might be handy as you venture further into the Protocol API: