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

Identity

Authentication and user management

Login to the API

post
/v1/login
Body
usernamestring · max: 191Required

Username for authentication

passwordstring · password · max: 191Required

Password for authentication

Responses
200

Successful login

application/json
accessTokenstringRequired

JWT access token

tokenTypestringRequired
expiresIninteger · int32Optional
post/v1/login
POST /v1/login HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "username": "text",
  "password": "password"
}
{
  "accessToken": "text",
  "tokenType": "text",
  "expiresIn": 1
}

Get current user information

get
/v1/me
Authorizations
AuthorizationstringRequired

Paste a Bearer JWT here. Two token types are accepted:

Connect1 User Tokens — issued by the Connect1 identity service. Copy the token from your Connect1 session.

Azure AD M2M — use the azureClientCredentials scheme below to get a token, then paste it here.

Responses
200

Current user information

application/json
get/v1/me
GET /v1/me HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "company": {
    "id": 1,
    "name": "text",
    "description": "text",
    "domain": "text"
  },
  "user": {
    "id": 1,
    "username": "text",
    "firstName": "text",
    "lastName": "text",
    "email": "text",
    "phone": "text",
    "phoneCountryCode": "text",
    "city": "text",
    "emailCheckFailData": "text"
  }
}

Last updated