API ReferenceConnections
Reduce what a connected AI app may do
PATCH
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.
cookie
better-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*stringThe app's client id.
application/json- body
scopes*array<string>OK
application/json- response
success*trueValue in
truedata*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" ] }}