List Tokens

Get all API tokens.

get

/v1/accounts/api-tokens

Responses
curl -L \
  --url '/v1/accounts/api-tokens'
{
  "$meta": {
    "pagination": {
      "offset": 1,
      "limit": 1,
      "total": 1
    },
    "omitted": [
      "text"
    ]
  },
  "data": [
    {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-02-23T04:57:51.771Z",
          "by": {
            "id": "text",
            "audit": "[Circular Reference]",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "updated": {
          "at": "2025-02-23T04:57:51.771Z",
          "by": {
            "id": "text",
            "audit": "[Circular Reference]",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "href": "text",
      "status": "text",
      "name": "text",
      "description": "text",
      "icon": "text",
      "lastAccessAt": "2025-02-23T04:57:51.771Z",
      "token": "text",
      "account": {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-02-23T04:57:51.771Z",
            "by": {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "updated": {
            "at": "2025-02-23T04:57:51.771Z",
            "by": {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "externalIds": {
          "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
        },
        "externalId": "text",
        "externalName": "text",
        "type": "Client",
        "status": "Active",
        "serviceLevel": "Express",
        "address": {
          "addressLine1": "text",
          "addressLine2": "text",
          "postCode": "text",
          "city": "text",
          "state": "text",
          "country": "text"
        },
        "icon": "text",
        "technicalSupportEmail": "hello@example.com",
        "website": "text",
        "description": "text",
        "name": "text",
        "groups": [
          {
            "id": "text",
            "audit": "[Circular Reference]",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "description": "text",
            "account": "[Circular Reference]",
            "logo": "text",
            "isDefault": true,
            "modules": "[Circular Reference]",
            "users": "[Circular Reference]",
            "buyers": "[Circular Reference]"
          }
        ]
      },
      "modules": [
        {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-23T04:57:51.771Z",
              "by": {
                "id": "text",
                "audit": "[Circular Reference]",
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "updated": {
              "at": "2025-02-23T04:57:51.771Z",
              "by": {
                "id": "text",
                "audit": "[Circular Reference]",
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "description": "text",
          "isConfigurable": true,
          "isEnabledByDefault": true,
          "paid": true,
          "name": "text",
          "filters": {
            "group.buyers": [
              "text"
            ]
          },
          "settings": {
            "sharedAccount": true,
            "configurable": true,
            "default": true,
            "paid": true,
            "type": [
              "text"
            ]
          },
          "accountTypes": [
            "text"
          ]
        }
      ]
    }
  ]
}

Last updated

Was this helpful?