Skip to main content

Prerequisites

Before you begin, you must have:
  • A Primula username and password
  • The hostname of your API deployment (examples below use api.example.com)

Get started

1

Create a session

Exchange your credentials for an access token.
The response returns HTTP 201 with your tokens:
2

Call a protected endpoint

Send the access token in the Authorization header.
3

Explore the API

Every endpoint is documented in the API reference, where you can also try requests from your browser.
V3 has no refresh or logout endpoint. When your token stops working, create a new session.