Enroll a user in a track. The user must be connected to Slack and have at least one role assigned. Exactly one of email, user_id, or slack_user_id must be provided to identify the user.
API key for authentication. Generate keys in the Doozy dashboard.
The unique identifier of the track
"wf_abc123xyz"
The email address of the user to enroll
"user@example.com"
The Doozy user ID of the user to enroll
"abc123"
The Slack user ID of the user to enroll
"U01ABC2DEF3"
Allow enrolling a user who has previously completed this track. Defaults to false.
false
ISO 8601 timestamp for when the user should start the track. Defaults to now. Can be set to a future date to schedule enrollment.
"2026-02-20T09:00:00.000Z"
User successfully enrolled in track
The object type
track_enrollment "track_enrollment"
The ID of the track the user was enrolled in
"wf_abc123xyz"
The Doozy user ID of the enrolled user
"usr_abc123"
The ID of the workflow instance created for this enrollment
"inst_xyz789"
The status of the enrollment
active "active"
ISO 8601 timestamp of when the user was enrolled
"2026-02-18T10:30:00.000Z"
ISO 8601 timestamp of when the user will start the track (may be in the future if scheduled)
"2026-02-20T09:00:00.000Z"