Overview

The Enrollment API binds a human user (email + display name) to an agent within an organization. Admins create profiles, generate signed, time-bound enrollment URLs, and send them to the human. The human accepts by calling the public enrollment endpoint, which records consent and activates the profile.

Base URL

Profile management:
Public enrollment acceptor:
Profile endpoints require a valid Bearer token. The enrollment acceptor is public because the signed token is the credential. See Authentication for details.

Endpoints

Create profile

Request body:
Response:

Generate enrollment URL

Generates an HMAC-signed URL valid for 48 hours. The enrollment secret is resolved from the server config. Response:

Accept enrollment

Request body:
Response:
Accepting enrollment marks the profile as enrolled, records consent_given_at, and invalidates the token so it cannot be reused.

Update profile

Request body:
Allowed enrollment_status values: pending, enrolled, revoked. Response:

Error codes