Skip to main content

Generate Token [v3]

This API helps you generate a token by submitting your access_key and access_secret. The token will give you access all other APIs of Nimbbl and will need to be passed as Authorization in the header of subsequent API calls. The token has an expiry of 20 minutes after which you will need to generate a fresh token. You can create multiple tokens, each of these tokens will have their own expiry.

Request Body required
    access_key string required

    access_key issued to you by Nimbbl, you can get this from the dashboard

    access_secret string required

    access_secret issued to you by Nimbbl, you can get this from the dashboard

Responses

When the token is successfully generated, the response will be as below


Schema
    token string

    This is the token, you will need to add it to the Header for subsequent API calls

    expires_at date-time

    This is the expiry of the token, it is expressed in UTC. If the token has expired, you will need to hit the API again to generate another token. The token has an expiry time of 20 minutes

Loading...