Skip to main content

API Authentication & Key generation

SN avatar
Written by SN
Updated this week

Every SecondNature API request must include your API key in the request header:

Authorization: Token YOUR_API_KEY_HERE

  • In Account Settings, admin users can generate their own API Keys

  • When generating a new key, the user can

    • Select the duration (according to internal policies)

    • Add a description for the key (Like “used for reporting API”)

    • And click generate

  • Once generated, the popup with the key itself will only be available once, the admin has to make sure they copy the key before moving forward!

  • This key that was generated is associated with the user that generated it only.

Did this answer your question?