Skip to main content
GET
/
connected-accounts
/
connections
TypeScript
import { MyAccountClient } from "github.com/auth0/myaccount-js";

async function main() {
    const client = new MyAccountClient({
        token: "<token>",
    });
    await client.connectedAccounts.connections.list({
        from: "from",
        take: 1,
    });
}
main();
{
  "connections": [
    {
      "name": "<string>",
      "strategy": "<string>",
      "scopes": [
        "<string>"
      ]
    }
  ],
  "next": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer and DPoP tokens are supported depending on the API configuration

Query Parameters

from
string

Cursor for pagination - start retrieving results from this point

take
integer
default:10

Number of results to return (1-20)

Required range: x >= 1

Response

Successfully retrieved available connections

connections
object[]
required
Maximum array length: 20
next
string

The token to retrieve the next page of connections (if there is one)