Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string

        The UUID of the resource.

      • created_at string

        The timestamp of when the resource was created.

      • updated_at string

        The timestamp of when the resource was updated.

      • provider object

        The name of the provider the OAuth2 connection is for

        Hide provider attributes Show provider attributes object
        • name string
        • label string
        • logo_url string
        • authorization_url string
      • access_token_expires_at string

        The expiry date of the access token. If blank, the access token will not expire.

      • refresh_token_expires_at string

        The expiry date of the refresh token. If blank, the refresh token will not expire.

      • refresh_authorization_url string

        The authorization URL to refresh the connection. Only visible when listing all OAuth2 providers.

      • label string

        The user generated label for the OAuth2 connection.

GET /api/v1/oauth/connections
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/oauth/connections' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "uuid": "0b96d72c-d9de-40fb-9beb-de30a48c0160",
      "label": "My Fundment Account 1",
      "provider": {
        "name": "fundment",
        "label": "Fundment",
        "logo_url": "https://api.plannrcrm.com/imgs/fundment-banner.png",
        "authorization_url": "https://api.plannrcrm.com/oauth/fundment/authorize"
      },
      "created_at": "2026-01-16T13:10:23+00:00",
      "updated_at": "2026-01-16T13:10:23+00:00",
      "access_token_expires_at": "2026-01-16T17:10:23.951021Z",
      "refresh_token_expires_at": "2027-01-16T13:10:23.951035Z",
      "refresh_authorization_url": "https://api.plannrcrm.com/oauth/fundment/authorize/7d2b5e9a-1413-47d7-8625-0f7000a194f2"
    }
  ]
}