authentication
Retrieve authentication token
Public endpoint. No permission required. </Info>
Returns a JSON Web Token (JWT) auth_token for authenticating further requests to the API.
<Note> This API path has a rate limit of 100 requests per IP in a 5-minute window. Make sure to store your authentication token to avoid hitting this limit. For more information, see [Rate limits](/developers/api-guidelines/rate-limits). </Note>Multi-factor authentication flow
When multi-factor authentication (MFA) is enabled for a user account:
- Initial login: Send your username and SHA-1 hashed password. If MFA is enabled and the device isn't trusted, you receive an mfa_token instead of auth_token in the response and a one-time password (OTP) via email.
- MFA verification: Send the mfa_token with the 6-digit OTP code. Optionally include trusted_device information to skip MFA for 90 days.
- Subsequent logins: If you included a trusted device fingerprint during verification, send your username and SHA-1 hashed password with the fingerprint to bypass MFA.
For more information, see Multi-factor authentication.
post/api/v1/authenticate
Request
- Base URL: https://cdn.emnify.net
- URL: https://cdn.emnify.net/api/v1/authenticate
- Auth: none declared
Request body
Response
Successful Authentication Request
Changes
No recorded changes to this operation across all 1 revision of this API.