Get OAuth App

Prev Next
Get
/api/v1/oauth-apps.get

Retrieves an OAuth app by ID or client ID.

Permission required: manage-oauth-apps. The endpoint can be accessed even without this permission, but sensitive information (such as client secrets) will be filtered out.

Version Description
2.4.0 Added
Header parameters
X-Auth-Token
stringRequired

The authorization token of the user.

Example9HqLlyZOugD_0YdwAJF8V47U3QHXSq
X-User-Id
stringRequired

The user ID of the user.

ExampleaobEdbYhXfu5hkeqG
Query parameters
appId
string

The app ID. This value is required if clientId is not used.

The parameter will stop being accepted from 7.0.0 (use the clientId or _id parameters instead).

Examplejn32kjnnd0943j4njk
clientId
string

The client ID. This value is required if appId is not used.

Examplenkn8jk67b8b99b78
_id
string

The app ID. This value is required if clientId is not used.

Responses
200
400
401
Collapse all
object
oauthApp
object
_id
string
name
string
active
boolean
clientId
string
clientSecret
string
redirectUri
string
_createdAt
string
_createdBy
object
_updatedAt
string
success
boolean