Skip to main content

Authentication and API Access

Obtaining a token​

The Producer obtains an access token from the AirNgin panel. The platform identifies the Producer from that token.

Enabling API access for a serial​

When registering a device serial, there is an option to allow API usage. On every call, the platform checks that:

  1. The device serial (DeviceSerial) exists.
  2. The serial is allowed to call the API (API access is enabled).

Token transport details​

ItemStatus
Where the token is sent (header / query / body)Not specified yet
Header nameNot specified yet
Token scheme (for example, Bearer)Not specified yet
Base URLNot specified yet
HTTP methodNot specified yet
Authentication error format and status codesNot specified yet