# Inviting Team Members

> Source: https://docs.trailspark.ai/docs/inviting-users

## Sending an Invitation

Requires **Owner** or **Admin** role.

1. Navigate to the **Users** page
2. Click **Invite User**
3. Enter the recipient's email address
4. Select a role: **Admin**, **Editor**, or **Viewer** (defaults to Viewer)
5. Click **Send Invitation**

The invitee receives an email with a secure invitation link. Existing TrailSpark users can log in and accept; new users are directed to the registration page with their email pre-filled and locked.

## Managing Pending Invitations

Pending invitations appear in the **Pending Invitations** section below the members list on the Users page. Each shows the email address, expiration date, and a "Pending" status badge.

From the actions menu (three dots) on any pending invitation:

- **Resend** -- Sends a new email and resets the 7-day expiration
- **Cancel** -- Revokes the invitation immediately; the link becomes invalid

## Invitation Expiration

Invitations expire after **7 days**. Once expired, the link is invalid and the invitation is removed from the pending list. Send a new invitation if needed.

## Troubleshooting

### Email mismatch on acceptance

If a user tries to accept an invitation while logged in with a different email than the one invited, they will see an "Email mismatch" error. They must log out and log in with the correct email, or you can send a new invitation to their preferred email.

## Next Steps

- [Managing Team Members](/docs/managing-team-members)
- [Understanding User Roles](/docs/understanding-user-roles)