Note: Use this if your access token has expired and you want to avoid first factor authentication through email/mobile otp
Digio Apis
Email:
support@digio.in
Getting started with Digio Rest Apis
API SERVER
SELECTED: https://api.digio.in
AUTHENTICATION
No API key applied
|
HTTP Basic
Send
Authorization in header containing the word Basic followed by a space and a base64 encoded string of username:password.
|
General ⦂
Regenerate Access Token API
post
{BASE_URL}/user/auth/generate_token
Regenerate Access Token API
Requires
Base 64 encoded clientId:clientSecret in Authorization header
REQUEST
REQUEST BODY
application/json
{
"entity_id" : "KID200526102029240GLYLZIMYROGYC1",
}
object
Single line description
Field
Type
Description
entityId
*
string
Unique identifier of the parent entity the access token belongs to
identifier
string
Unique identifier referencing an access token
API Server
https://api.digio.in
Authentication
Required (None Applied)
curl -X POST "https://api.digio.in/user/auth/generate_token" \
-H 'accept: application/json'
RESPONSE
application/json
object
Single line description
Only applicable while creating sign request when generate access token value is passes as “true”
Field
Type
Description
entityId
string
Unique identifier of the parent entity the access token belongs to
id
string
Unique identifier referencing an access token
validTill
date-time
DateTime at which the access token expires. New token can be generated when expired with the access token generation API mentioned in the document.
createdAt
date-time
'yyyy-mm-dd hh:mm:ss': Timestamp of generation
application/json
object
Single line description
Field
Type
Description
details
string
Details about the exception. Usually contains the exception id for reference.
code
string
Error code
message
string
Description of the error
errors
string
Custom errors