ServicesAuthenticationHTTP APIConnected applications

List connected applications

GET
/api/account/consents

List the third-party applications to which the signed-in user gave consent, in all Organizations, 50 at a time. Use the user access token of a first-party Spiral application, such as Spiral Studio. Tokens of third-party applications and delegated tokens are refused.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Query Parameters

pageToken?string

The nextPageToken from the previous page. Other query parameters are refused.

Lengthlength <= 2048

Response Body

One page of connected applications.

application/json
  1. response
applications*array<>
nextPageToken*|

The token for the next page, or null on the last page.

curl -X GET 'https://auth.spiraldb.com/api/account/consents'
{  "applications": [    {      "clientId": "string",      "name": "string",      "scopes": [        "string"      ],      "organizationIds": [        "string"      ]    }  ],  "nextPageToken": "string"}