API Reference

Obter Token de Acesso

1. Requisição de um novo Token:

Preenchimento dos parâmetros:

  1. Método: POST

  2. URL: https://api.moblix.com.br/api/Token

373
  1. Header:
  • Content-Type=application/x-www-form-urlencoded
  • Origin=externo

https://suporte.moblix.com.br/hc/article_attachments/360049279074/blobid38.png

  1. Body:
  • Marcar o campo: x-www-form-urlencoded
  • grant_type=password
  • username=[FONECIDO]
  • password=[FORNECIDO]

https://suporte.moblix.com.br/hc/article_attachments/360059193133/mceclip1.png

Executar requisição

https://suporte.moblix.com.br/hc/article_attachments/360058279554/mceclip2.png

Retorno

{
 "access_token": "JKTMVXp7U4StE0rTtA26fOGKKZiF4tRVfOmt2_FcN8RBuoxrz1RYiATnFA18iQ09ABHFfV2YjDG9OJcb2kHTasjJhG_4VESDjvqlNa_fu-
qzQ9qj2xgBWmrhAZFcZ0r38gErc5yfvDwtEVPplOX4J5teSJugAwWMJE8G7CtjmW9v5r3HUjUpAlsukEOz5l1_7pdY8kdQlNib0p
fbtfb9aSr_vpeAEsA1L3Wsvcz0NNcgJOPPWpx4XSgHRqr6X7FlgyUtLaIYkDnbj5dgWGoQoCo1lio9-1JfcFqZg2btBQKQUu2pWLc2qbajbLLp6UTwH2a0lrVBOHTwv8fcw",
 "token_type": "bearer",
 "expires_in": 86399
}

https://suporte.moblix.com.br/hc/article_attachments/360058279694/mceclip3.png