GET/oauth_connections

List OAuth connections

Lists OAuth connections created when users authorize your OAuth application. Filter by oauth_application_id to view connections for a specific application, or use status.in to select connection statuses. Use cursor to retrieve subsequent pages of results.

4 parameters
cursorstringoptional
Return the page of entries after this cursor.
limitintegeroptional
Maximum number of OAuth connections to return. Defaults to 100 when omitted; the maximum is 100 and the value must be at least 1.
Default:100
status.inarray<string>optional
Filter by connection status using a comma-delimited list of `active` or `inactive` values. Defaults to `active` connections when omitted.
oauth_application_idstringoptional
Filter results to connections for the specified OAuth application.

3 status codes
200Returns a list of OAuth connection objects and a `next_cursor` value for retrieving the next page; `next_cursor` is null when there are no further results.
dataarray<OAuthConnection>required
The contents of the list.
next_cursorstringrequired
A pointer to a place in the list. Pass this as the `cursor` parameter to retrieve the next page of results. If there are no more results, the value will be `null`.
4XXReturned when the request cannot be processed because of a client-side error.
5XXReturned when the request cannot be processed because of a server-side error.

Error handling

status.in values must be active or inactive. Use oauth_application_id to filter the results to a specific OAuth application.