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

Login

Exchange the name and API key of your API credential for a token, valid for 10 days. Send this token with every other request, in the x-access-token header.

Authenticate on the API

post
/login

Authenticate on the API with your credentials to get a token that you can use in your requests. The token is valid for 10 days.

Body
namestringRequiredExample: api_company
apiKeystringRequiredExample: 2ddd4027-c779-4b7c-80fe-8661c92c35ff
Responses
200

Token to use in the other API calls

application/json
idintegerOptionalExample: 42
emailstringOptionalExample: api@hiboo.io
adminbooleanOptionalExample: false
firstNamestringOptionalExample: John
lastNamestringOptionalExample: Doe
tokenstringOptionalExample: eyJhbGciOiJIfkdFVHUREIsInR5cCI6IkpXVCJ9.xxXxXXX6OXXxXxxxx3XxXXXXXx6XxXxXxxxxXX6XXX3Xxx2XxX5OXwiXXxxXxxxXXx0XxX2Xxx4xX.Ylm61gfwIgGx2bQLjtq4UkqF1MOak9y8REsVfn1GtoQ
post/login
POST /login HTTP/1.1
Host: api.hiboo.io
Content-Type: application/json
Accept: */*
Content-Length: 70

{
  "name": "api_company",
  "apiKey": "2ddd4027-c779-4b7c-80fe-8661c92c35ff"
}
{
  "id": 42,
  "email": "api@hiboo.io",
  "admin": false,
  "firstName": "John",
  "lastName": "Doe",
  "token": "eyJhbGciOiJIfkdFVHUREIsInR5cCI6IkpXVCJ9.xxXxXXX6OXXxXxxxx3XxXXXXXx6XxXxXxxxxXX6XXX3Xxx2XxX5OXwiXXxxXxxxXXx0XxX2Xxx4xX.Ylm61gfwIgGx2bQLjtq4UkqF1MOak9y8REsVfn1GtoQ"
}

Last updated

Was this helpful?