Account and Authentication

To use Ayla APIs, you will need an Ayla IoT Cloud service account. If you don't already have an account, get help from Ayla Support team.

API services authenticate your API requests using your account’s access token (auth_token). When making requests to Ayla APIs, an Authentication header is used to identify the requesting user. This header must include the term auth_token.

916916

If you don’t include your access token when making an API request, or if you use an invalid or outdated access token, an error is returned.

To obtain an access token, log in to the Ayla User Service using the Sign In API. This API returns an access token and refresh token. The refresh token can be used to obtain a new access token.