All tools
C
Cby Clerk
Invite a user
Creates an invitation for an email address and sends the invitation email with a link to sign up.
Updated Sep 26, 2026Available asAPI
Description
Fails if the email address already has an invitation or belongs to an existing user. Invitations expire after a month by default.
create-invitation.md
Invite a user
Creates an invitation for an email address and sends the invitation email with a link to sign up.
Fails if the email address already has an invitation or belongs to an existing user. Invitations expire after a month by default.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://api.clerk.com/v1
- Endpoint:
POST /invitations - Auth: send the header
Authorization: Bearer $CLERK_SECRET_KEY - Get a key: https://dashboard.clerk.com/~/api-keys
- Docs: https://clerk.com/docs/reference/backend-api
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | POST /invitations | API key in $CLERK_SECRET_KEY | Docs |
Workflows using Invite a user
No workflows yet
No published workflow uses Invite a user yet.