POST {{url}}/api/auth/login
Returns an array of API keys for the company that the user belongs to. The API key is required for all other API request and should be set in the Authorization header like this:
Input
Output
Authorization: [api_key]
.
This will allow the calls made to be authenticated and authorized with the permissions and access available to the company.json
{
"type": "object",
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": ["username", "password"],
"additionalProperties": false
}
json
{
"type": "object",
"properties": {
"type": "array",
"items": {
"apiKey": {
"type": "string"
},
"type": {
"type": "string"
}
}
},
"required": []
}
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
x-csrf-token
|
string |
RESPONSES
status
ENDPOINTS