Authentication Token Overview (BETA)

The JWT authentication scheme with Sila will follow the conventional HTTP Bearer token scheme:

  • Request an auth_token for your client application from the Sila API; this auth token will have a token value and an expiration timestamp.

    Refer to the /auth_token docs for more information

  • Store this auth_token in your local database, and continue to re-use this token for application-level authorization for all requests until it's nearly expired.
  • If and when you notice that the token's expiration time is almost up (30 minutes or less), you may request a new auth token from the Sila API.

    Use of an expired token will return a 401 response.
    Refer to the Auth Token Management docs for more information