post https://api.splio.com/authenticate
Get a valid JSON Web Token. This token, prefixed by 'Bearer ', can be used to call other endpoints for one hour.
Error cases
400 authentication failed (wrong credentials)
{
"status": 400,
"errors": [
{
"error_key": "username",
"error": "authentication.failed",
"error_description": "User authentication failed."
}
]
}
400 missing api_key field
{
"status": 400,
"errors": [
{
"error_key": "api_key",
"error": "is_blank",
"error_description": "Api key is missing."
}
]
}