OAuth
Dynamic Client Registration
Register an OAuth client dynamically (RFC 7591). Used by MCP clients like ChatGPT and Claude.
post/oauth/register
Request
- Base URLhttps://api.midday.ai
- URLhttps://api.midday.ai/oauth/register
- Auth
- OAuth 2Authorization code: https://app.midday.ai/oauth/authorizeToken URL: https://api.midday.ai/oauth/token
- or HTTP bearer
Request body
Example request
{
"client_name": "ChatGPT",
"redirect_uris": [
"https://chatgpt.com/connector/oauth/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"token_endpoint_auth_method": "none",
"scope": "transactions.read invoices.read",
"logo_uri": "https://example.com/logo.png",
"client_uri": "https://example.com",
"response_types": [
"code"
]
}Response
Client registered successfully
Example response
{
"client_id": "mid_client_abcdef123456789",
"client_name": "ChatGPT",
"redirect_uris": [
"https://chatgpt.com/connector/oauth/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"token_endpoint_auth_method": "none",
"response_types": [
"code"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.