workshop
browser-session

Enroll and mint a workshop bearer code

Clerk-session only. IDEMPOTENT: re-calling with the same session returns the same enrollment record with fresh:false. Mints a 6-char bearer code, a stable slug, and assigns one skill round-robin from the enrollment ordinal. The slug names the attendee's hosted A2A endpoint paths. The returned enrollment.code IS the bearer for every other workshop route - treat it as a secret.

post/api/workshop/enroll

Request

  • Base URL: https://www.immersivecommons.com
  • URL: https://www.immersivecommons.com/api/workshop/enroll
  • Auth: API key in cookie __session

Request body

display_namestring

Optional. Falls back to the signed-in identity.

Response

The enrollment plus its A2A URLs.

okboolean required
freshboolean required

false means this session was already enrolled and the SAME record came back.

agent_card_urlstring
jsonrpc_urlstring

Changes

No recorded changes to this operation across all 1 revision of this API.