For the complete documentation index, see llms.txt. This page is also available as Markdown.

Inspect a permanent token

Inspect Token

You can inspect any token generated in Firstoken. The inspection process receives a valid token and responds with all available token information. This method is useful to know the status of a token and to know other values.

GET /v1/tokens/:token/inspect

curl -X GET https://api.firstoken.co/v1/tokens/4242428805134242/inspect\
-H 'x-api-key: YOUR_API_KEY' \
-H "Content-Type: application/json"

token string

A valid Token

Example: 4242424242424242

Example JSON Response
{
    "status_code": 200,
    "status": "success",
    "desc": "Success",
    "data": {
        "token": "4242428805134242",
        "card_truncated": "424242******4242",
        "exp": "09/2028",
        "name": "Jhon Doe",
        "status": 1,
        "created_by": "Jhon Smith",
        "createdAt": "2020-02-07T14:22:58.015Z",
    }    
}

Last updated