Skip to main content
POST
/
api
/
agents
/
{agentId}
/
regenerate-key
Regenerate runtime key
curl --request POST \
  --url https://app.mandate.md/api/agents/{agentId}/regenerate-key \
  --cookie laravel_session=
{
  "runtimeKey": "mndt_test_new_key_abc123def456ghi789"
}

Authorizations

laravel_session
string
cookie
required

Laravel Sanctum cookie-based session authentication. Obtained via GitHub OAuth login on the dashboard.

Path Parameters

agentId
string<uuid>
required

Response

New runtime key generated.

runtimeKey
string
required

The new runtime key. Store securely; this is the only time it is returned.

Example:

"mndt_test_new_key_abc123def456ghi789"