Authorization

Initialize authorization

POST https://professional.signius.eu:8200/api/signature/initAuthorization

Starts authorization of user. Sends SMS token to the phone number binded to the user profile.

Headers

NameTypeDescription

X-AUTH-TOKEN*

String

User auth token

Content-Type

String

application/json; charset=utf-8

User-Language

String

Example: en

Example response:
{
    "challengeId": "<id>"
}

Authorization

POST https://professional.signius.eu:8200/api/signature/authorize

Validates the SMS token (OTP).

Headers

NameTypeDescription

X-AUTH-TOKEN*

String

User acces token

Request Body

NameTypeDescription

challengeId*

String

challengeId from initAuthorization

challengeResult*

String

SMS token

Example response:
{
    "validated": <true_or_false>
}

Last updated