Skip to content

Instantly share code, notes, and snippets.

@hamelsmu
Last active June 23, 2026 21:03
Show Gist options
  • Select an option

  • Save hamelsmu/283f041db37e482fc8851c49bbe991e5 to your computer and use it in GitHub Desktop.

Select an option

Save hamelsmu/283f041db37e482fc8851c49bbe991e5 to your computer and use it in GitHub Desktop.
Enroll people into a free Maven lightning-lesson series from a coding agent (public, no token)
name maven-series-enroll
description Enroll one or many people into a free Maven lightning-lesson series with a single public curl call (no login, no token). Set up for the AI Product Engineering series (maven.com/lls/21f487), and works for any Maven series by swapping the id. Use when asked to enroll, sign up, register, or bulk-add a list of emails.

Enroll people in a Maven lightning lesson series

Sign people up for a free Maven lightning lesson series from the command line. The signup endpoint is public and needs no login or token. It is idempotent, so running it twice for the same email is safe.

This is set up for the AI Product Engineering series at https://maven.com/lls/21f487 (series id 21f487). To use a different series, see "Any other series" at the bottom.

Enroll one person

EMAIL="person@example.com"
curl -s -X POST "https://api.maven.com/workshop_series/21f487/signup" \
  -H "Content-Type: application/json" \
  -H "Origin: https://maven.com" \
  -H "Referer: https://maven.com/lls/21f487" \
  -d "{\"email\":\"$EMAIL\",\"honeyPot\":null}"

Success returns HTTP 200 with {"email":"...","user_id":...}. That person is now enrolled in every session in the series and will get the calendar invites and recordings.

Enroll a whole list

Put one email per line in emails.txt, then:

while read -r EMAIL; do
  [ -z "$EMAIL" ] && continue
  code=$(curl -s -o /dev/null -w "%{http_code}" -X POST \
    "https://api.maven.com/workshop_series/21f487/signup" \
    -H "Content-Type: application/json" \
    -H "Origin: https://maven.com" \
    -H "Referer: https://maven.com/lls/21f487" \
    -d "{\"email\":\"$EMAIL\",\"honeyPot\":null}")
  echo "$EMAIL -> HTTP $code"
done < emails.txt

Any other series

Same call, just swap the id. The series id is the code at the end of its URL, https://maven.com/lls/<SERIES_ID>. Replace every 21f487 above with that id.

Notes

  • No auth. This is the same public signup the website form uses.
  • One call enrolls the person in the entire series, not a single session.
  • Idempotent per email: re-running returns the same user_id.
  • A non-200 code means that email did not enroll. Retry it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment