Getting Started
Authentication
Your API requests are authenticated using API access token. Any request that doesn't include an access token will return an error. Authenticate your requests using a valid bearer authentication header.
To get an access token, call the following endpoint using client_id and client_secret.
Get an API access token
POST https://<AUTH_SERVER_URL>/realms/nibela/protocol/openid-connect/token
Headers
Content-Type*
string
The content type with value "application/x-www-form-urlencoded"
Request Body
grant_type*
string
The grant type with value "client_credentials"
client_id*
string
The identifier for your client
client_secret*
string
The secret for your client
curl -X POST 'https://${AUTH_SERVER_URL}/realms/nibela/protocol/openid-connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=${YOUR_CLIENT_ID}' \
--data-urlencode 'client_secret=${YOUR_CLIENT_SECRET}'For more details, please refer to the Authentication page.
AuthenticationMake your first request to our API
To make your first request, send an authenticated request to the /health/ready endpoint using a valid bearer access token as follow:
Check system health
GET https://<API_SERVER_URL>/health/ready
Headers
Authorization*
string
The bearer authentication header with value "Bearer <YOUR_ACCESS_TOKEN>"
Content-Type*
string
The content type with value "application/json"
All Done!
Congratulations on making your first call to the Nibela system!
Dive a little deeper and start exploring our API reference to get an idea of everything that's possible with our APIs.
API ReferenceLast updated