Login

Realizar Login

POST https://sol.interfoneip.com/auth/app

Necessário para receber o token

Request Body

Name
Type
Description

login

string

Telefone ou E-Mail

{
    "message": "Success",
    "type": "M"
}

Confirmar Token

POST https://sol.interfoneip.com/auth/app/token

Validar o token recebido pelo endpoint anterior

Request Body

Name
Type
Description

token

string

Código de 4 dígitos recebido pelo telefone ou e-mail

login

string

Telefone ou E-mail fornecido no endpoint anterior

mac_address

string

Mac Adress do dispositivo a conectar

{
    "token": "XXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX"
}

Validar Token

POST https://sol.interfoneip.com

Headers

Name
Type
Description

Authentication

string

Bearer JWT Token

Request Body

Name
Type
Description

token

string

Token JWT Fornecido pelo endpoint anterior

mac_address

string

Mac Address do dispositivo conectado

Realizar login (Site)

POST https://sol.interfoneip.com/auth

O token adquirido precisa ser fornecido via Authorization para todas as solicitações seguintes

Request Body

Name
Type
Description

manterConectado

boolean

Manter conectado por mais tempo

login

string

Usuário (login, telefone, email)

senha

string

Senha

{
    "token": "eyJ0eXAiOiJKsadLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJsdW1lbi1qd3QiLCJzdWIiOjksrhdhgdCI6MTU3MTAwMjE2MCwiZXhwIjoxNTcxMDMwOTYwfQ.zi-eCTkunyJYkPu023fqkkkBBeKNDVHBEeesjPkuQFA"
}

Last updated

Was this helpful?