Skip to content
Skip to Content
Coder Docs

Get OAuth2 applications.

GET
/api/v2/oauth2-provider/apps

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Query Parameters

user_id?string

Filter by applications authorized for a user

Response Body

OK

application/json
  1. response
[index: integer]?

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/oauth2-provider/apps" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
[  {    "callback_url": "string",    "client_type": "confidential",    "dynamically_registered": true,    "endpoints": {      "authorization": "string",      "device_authorization": "string",      "token": "string",      "token_revoke": "string"    },    "icon": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "redirect_uris": [      "string"    ],    "scope": "string"  }]