Consent Flow

Submit Virtual Key identity

Validates the submitted Virtual Key and links it to the pending flow as the user's identity. On success, redirects to the MCPs page. On failure, redirects back to the identity page with an error message.

Request body is application/x-www-form-urlencoded (browser form submission).

POST
/api/oauth/per-user/consent/vk
AuthorizationBearer <token>

Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT. Virtual keys (prefixed with sk-bf-) can also be passed here.

In: header

flow_idstring

Pending flow ID

vkstring

Virtual Key value (validated against the database)

Response Body

curl -X POST "https://loading/{AI_GATEWAY_URL}/api/oauth/per-user/consent/vk" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'flow_id=string&vk=string'
Empty
On this page

On this page

No Headings