Private preview of the new site. Not live.

auth.oauthRegister

Register an OAuth client (RFC 7591 dynamic registration). Public clients only: PKCE, no secret. Redirects must be https, or http on loopback.

WhoAgents can call this
RESTPOST /v1/oauth/register
MCP toolauth_oauthRegister
Writesyes, send an Idempotency-Key
AreaSign-in and agent access

When to use it

First step of connecting an AI agent. Register your client once, with a loopback or https redirect.

What to tell the owner

Nothing to explain. This is set-up between your assistant and Doing Work.

Input

FieldTypeRequired
client_namestringno
redirect_urisarrayyes
token_endpoint_auth_methodstringno
grant_typesarrayno
response_typesarrayno

Example

POST https://doingwork.work/v1/oauth/register
content-type: application/json
Idempotency-Key: 3f1c...

{
  "redirect_uris": [
    "..."
  ]
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_client_metadata400The client registration is invalid, for example a redirect URI that isn't https or loopback.
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.