Overview
Call Vadio from your own app with a company API key.
Two headers go on every request to the Vadio API. x-api-key authenticates it, and x-company-id names the company it acts on. The access level comes off the key, so there is no separate developer account to register and nothing to arrange before your first call.
Base URL
| Item | Value |
|---|---|
| Base URL | https://api.vadio.no/api |
| Example | GET /meeting calls https://api.vadio.no/api/meeting |
Every path in the reference is relative to the base URL. No path contains a company id.
Request headers
| Header | Value | Where to find it |
|---|---|---|
x-api-key | Your API key, starts with api_ | Settings > API Keys, shown once when you create it |
x-company-id | The 24 character id of your company | Settings > API Keys, next to your keys. Also the companyId field on every key the API returns |
If you leave x-company-id out, the key's own company is used. Send it anyway, so a swapped key fails loudly instead of reading another company's data.
Your first call
Create a key under Settings > API Keys in the Vadio app, copy it right away (it is shown once) together with the company id shown on the same page, and send both:
curl https://api.vadio.no/api/meeting \
-H "x-api-key: api_your_key_here" \
-H "x-company-id: YOUR_COMPANY_ID"A 401 back means the key is unknown, revoked or expired. A 400 or 403 with API_KEY_WRONG_COMPANY or a COMPANY_ID_ code means the x-company-id header is wrong; Errors lists each code.
Where to go next
Authentication
Who can create a key, and what a key is allowed to reach.
Rate limits
100 requests a minute per key, and what a 429 is telling you.
Pagination
How list endpoints page, and how to know you are on the last one.
Errors
The refusal body, and the one field safe to branch on.
The endpoints themselves are in the sidebar, grouped by the resource they act on. Each one comes with a playground you can fire with your own key.