MCP Gateway
ApiOauth app templates

Get OAuth app template by type

Retrieve a single OAuth app template by provider type (e.g., github, google, microsoft365).

GET
/api/v1/oauth-templates/{template_type}

Path Parameters

template_type*string

OAuth provider types supported by the gateway.

Adapted from Obot's OAuthAppType (14 providers).

Value in"github" | "google" | "microsoft365" | "slack" | "notion" | "hubspot" | "salesforce" | "zoom" | "linkedin" | "pagerduty" | "atlassian" | "gitlab" | "smartthings" | "custom"

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/oauth-templates/github"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "type": "github",
  "name": "string",
  "icon": "string",
  "auth_url": "string",
  "token_url": "string",
  "user_info_url": "string",
  "default_scopes": [
    "string"
  ],
  "default_optional_scopes": [
    "string"
  ],
  "pkce_required": true,
  "token_endpoint_auth_method": "client_secret_post",
  "additional_params": {},
  "setup_instructions": "string",
  "created_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}