# Getting started

# Authentication

To access the API, authenticate your requests using either Basic HTTP authentication or Bearer Token authentication.

# Basic Authentication

Include a APP_SECRET_KEY value as the username, which will be provided by UBIO.

Use the Base64 encoded format of APP_SECRET_KEY: (secret key value followed by colon) in the Basic HTTP Auth header, as follows:

curl <URL> \
    -H 'Authorization: Basic JEFQUF9TRUNSRVRfS0VZOg=='

# Bearer Token Authentication

Use the JWT provided by UBIO as the token, as follows:

curl <URL> \
    -H 'Authorization: Bearer <JWT>'

More instructions for authentication here (opens new window)