Inscripción Sencilla - API Set-Up (In English)

This is the recommended flow for setting up new users in Voxy:
  1. Create the user in Voxy with an expiration date (POST /partners/users/${external_id})
  2. Retrieve the authentication token (SSO) (GET /partners/users /${external_id}/auth_token)
  3. Redirect the user to response (SSO) → ['actions'] ['start']
For users already registered in Voxy:
  1. Retrieve the authentication token (SSO) (GET /partners/users/${external_id}/auth_token)
  2. Redirect the user to response (SSO) → ['actions'] ['start']
Check whether a user is already registered in Voxy or if the user's account has expired (GET /partners/users/external_id}/auth_token)If the user is registered and has a valid account expiration date (the account has not expired), the response will be:
If the user is registered but his/her account has expired account (account expiration date <today's date), the response will be:
{"error_message": "Access for the user with the id = '{id}' expired expired_date on {} "}
If the user has not been registered, the return will be:
{" error_message ": " user does not exist "}
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0
¿Tiene más preguntas? Enviar una solicitud


0 comentarios

El artículo está cerrado para comentarios.