When authenticating with the Venddor API, you must include specific parameters in your POST requests. This page documents the required and optional parameters for authentication.
Authenticates a user and provides access to the API.
Parameter | Required | Description |
---|---|---|
email |
Yes | User login e-mail. Can be both an admin's or a customer's e-mail. If a non-registered e-mail is provided, a 404 error is returned. |
redirect_url |
No | URL for the user to be redirected to immediately after following the login link. |
{ "email": "admin@example.com", "redirect_url": "https://www.example.com/dashboard" }
/api/auth
with the required parameters.redirect_url
was provided, the user will be directed to that location after successful authentication.