Search connected accounts
Changed onSearch for connected accounts in your environment using a text query that matches against identifiers, providers, or connectors. The search performs case-insensitive matching across account details. Returns paginated results with account status and authentication type information.
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Search term to match against connected account identifiers, providers, or connectors. Must be at least 3 characters. Case insensitive.
Maximum number of connected accounts to return per page. Value must be between 1 and 30.
Token from a previous response for pagination. Provide this to retrieve the next page of results.
Connection ID to filter connected accounts
Response
Successfully retrieved matching connected accounts with pagination support
Example response
{
"connected_accounts": [
{
"connection_id": "conn_24834495392086178",
"connector": "notion",
"id": "ca_24834495392086178",
"identifier": "user@example.com",
"last_used_at": "2024-03-20T14:30:00Z",
"provider": "GMAIL",
"token_expires_at": "2024-12-31T23:59:59Z",
"updated_at": "2024-03-20T15:04:05Z"
}
],
"next_page_token": "eyJvZmZzZXQiOjMwfQ==",
"prev_page_token": "eyJvZmZzZXQiOjB9",
"total_size": 100
}Changes
- info
added the optional property
//to the response with the status
- info
- warning
added the new
NO_AUTHenum value to the//response property for the response status
- warning