Skip to Content
SendlySendly
API ReferenceConnections

Reduce what a connected AI app may do

PATCH
/api/users/me/connected-apps/{clientId}

The full list of permissions the app keeps. Naming one it was never granted answers 400 SCOPE_ESCALATION: permissions are added on the consent screen, never here.

Requires the connections:write scope — Connect, re-verify and disconnect services.

cookiebetter-auth.session_token<token>

BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.

clientId*string

The app's client id.

application/json
  1. body
scopes*array<string>

Response Body

OK

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X PATCH 'https://api.sendly.now/api/users/me/connected-apps/string' \  -H 'Content-Type: application/json' \  -d '{  "scopes": [    "string"  ]}'
Example Response
{  "success": true,  "data": {    "clientId": "string",    "scopes": [      "string"    ]  }}