🔐Token Metadata

Show Current Token

Example Request

https://api.salescamp.app/token

Example Response (Status Code 200)

{
    "id": "61d8165ffc13ae680c000000",
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmFtZSI6IkpvaG4iLCJpYXQiOjE1MTYyMzU3MDIyfQ.S7LQBCQRHOhghLYdu7eqTNGRANMQQNNMvIRV6TrWetc"
    "expires_in": 1296000,
    "given_name": "Ashli",
    "email": "acanfield0@yahoo.com",
    "user_created_on": 1502255738,
    "profile_photo": "https://picsum.photos/200"
    "phone": "+323-264-8091"
}

Retrieve information about the token being used and the Workspace to which it belongs.

Required Scopes

This endpoint does not require any scopes.

HTTP Request

Request Path

GET <https://api.salescamp.app/token>

HTTP Response

Status Code - 200

Optional object

id : Required [ string ]

The Resource ID of the Current Token

workspace: Required [object]

An object containing information about the Workspace that the Token belongs to

Last updated