QiD
  1. API
QiD
  • Overview
  • API Parameters
  • API
    • Request a token
      POST
    • Refresh an existing token
      POST
    • Initiate a request
      POST
  • Webhook
    • Introduction
  1. API

Refresh an existing token

POST
/api/token/refresh
Refresh an issued token... the new token will be returned upon success. The token is valid for 60 minutes after an initial API requests - an unexpired token can be refreshed within the next 12 hours

Request

Header Params
authToken
string 
required
Example:
vqFHPM0PlV7eRHPmYgaFoz9rdxyvNAgLLcZYWEMW6ApIyo3KhPgSCrF7to0z4aCt77Glwwjzr0Qy5HB2pX2xxbARECKbOB87YOOwjGDtnyRnrGFRjnVWAkmZBh3wG5Ij6upHZcdv4XsTjedRQSlXSUZsCnnwam43jIIivggAHnLd6Sk3HByqNlewxGPuFHUsi9vjyDMgdhOXZbxQmtmdijamQLCob1jL0ehuIfX9FI4o8H7X

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qid.aiq.bio/api/token/refresh' \
--header 'authToken: vqFHPM0PlV7eRHPmYgaFoz9rdxyvNAgLLcZYWEMW6ApIyo3KhPgSCrF7to0z4aCt77Glwwjzr0Qy5HB2pX2xxbARECKbOB87YOOwjGDtnyRnrGFRjnVWAkmZBh3wG5Ij6upHZcdv4XsTjedRQSlXSUZsCnnwam43jIIivggAHnLd6Sk3HByqNlewxGPuFHUsi9vjyDMgdhOXZbxQmtmdijamQLCob1jL0ehuIfX9FI4o8H7X'

Responses

🟢200OK
application/json
Body
status
boolean 
required
Indicates whether the reuqest is succesfully received or not
code
string 
required
An error code or the success code
message
string 
required
Detailed description of an error or a notice
token
string 
optional
Token to be used to perform the other API requests
Example:
pqwiurbcxz3278bhfdjngdsomznaxb2143lakn
Examples
{
    "status": false,
    "code": "056",
    "message": "Token is expired"
}
Modified at 2024-08-07 14:21:26
Previous
Request a token
Next
Initiate a request
Built with