Getting started
To use the emnify REST API, you must authenticate with an Authentication Token. emnify uses JSON Web Tokens (JWTs) as the authentication token.
You can retrieve this authentication token using an application token generated in your emnify account.
The following pages cover the authentication basics, querying resources, and how to create and use application tokens for automating or scheduling recurring tasks.
When the /api/v1/authenticate API is sent an application token, it returns an auth_token used to authenticate all subsequent calls to the API via the Authorization header.
JSON Web Tokens (JWTs) are a secure mechanism to authenticate all API calls via the Authorization header.
This page describes how to obtain a JWT auth_token and how they’re used in requests.
Historically, you could retrieve the authentication token in two ways: with your user credentials (username and password) or an application token. To improve security across emnify services, authentication with user credentials was deprecated and removed on March 28, 2024. Please authenticate with application tokens instead.