Skip to main content
This guide takes you from scratch to your first authenticated request to the Nuvia API.
1

Get access to the Nuvia platform

You need an account in a company on Nuvia. API keys are created by a company user and belong to the company (the tenant).
2

Create an API key

Authenticated as a user, create a key with the minimum scope you need. For this guide, use agents:read (allows listing agents).
cURL
The response includes the token in the accessToken field.
The full token appears only once, at creation. Nuvia doesn’t store it, and there’s no way to retrieve it later. Copy it and store it securely now. The full flow (listing, revoking, scopes) is in the API key guide.
3

Make your first authenticated call

Send the API key in the Authorization: Bearer header. Use here the same token you copied in Step 2: the accessToken value is your API key (in the examples below, the NUVIA_API_KEY variable). The example lists your company’s agents:
4

Interpret the response

A successful response returns 200 OK. List endpoints follow the { data, meta } format, where data holds the items and meta holds the pagination:
If you received 200 and a body with data, your integration is authenticated and working.
5

Handle common errors

  • 401: token missing, invalid, expired, or revoked. Check the Authorization header.
  • 403: the key is valid, but doesn’t have the scope required by the endpoint.
Error formats and causes are detailed in Authentication.

Next steps

API reference

Explore all endpoints, parameters, and responses.

API key guide

Scopes, revocation, and security best practices.