For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

The following guide describes how to obtain a token for usage with Monogoto API functionality.

Authenticate your user account to obtain a login token

POST https://console.monogoto.io/Auth

Generate access token

post

Authenticate and generate a JWT access token for subsequent API requests.

Body
usernamestringRequiredExample: user@example.com
passwordstring · passwordRequiredExample: ********
Responses
200

JWT token generated successfully.

application/json
tokenstringOptional

JWT Bearer token

expires_inintegerOptionalExample: 3600
post/v1/auth/token
POST /v1/auth/token HTTP/1.1
Host: api.monogoto.io
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "username": "user@example.com",
  "password": "********"
}
{
  "token": "text",
  "expires_in": 3600
}

Request Body

Name
Type
Description

UserName*

String

Your username

Password*

String

Your password

Add your UserName and Password in the POST request to successfully obtain your login token.

Example using cURL:

Example response showing the login token, CustomerID etc:

Authorization Header

Once you obtained a token, make sure to add your login token to the the authorization header in all requests.

Example

Last updated

Was this helpful?