Tokens

API tokens let you access the Vaultoro services, create orders and more.

Get Tokens

GET https://api.vaultoro.com/v1/tokens

This endpoint allows you to get your API tokens.

Headers

{
    "data": [
        {
            "expires": 1654870020,
            "scopes": [
                "api"
            ],
            "createdAt": 1623334020,
            "referenceId": "20c96eaf-4e40-44ae-b697-650e0ae64d5e"
        }
    ]
}

Create Token

POST https://api.vaultoro.com/v1/tokens

Create API tokens for your account. Make a note of the token that is returned since you cannot access this again. Currently you can only create tokens within the Vaultoro dashboard.

Headers

Request Body

{
    "data": {
        "expires": 1595535601,
        "referenceId": "fe22dc78-f266-4584-9071-95bbffd08429",
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
    }
}

Delete Token

DELETE https://api.vaultoro.com/v1/tokens/:referenceId

Delete any of your API tokens.

Path Parameters

Headers

{"data":{"success":true}}

Last updated