register_user
Create a Tavern Finder account for the person you are helping, and get a reusable access token for it. Use the account immediately — booking and creating events work right away. STORE THE ACCESS TOKEN and reuse it for this person every time; do not call this again for someone you already registered. You also get a claim link: give it to the person so they can take ownership, set their own email and password, and see their bookings on the website. Only pass an email if the person actually gave you one — otherwise leave it out and they will set it when they claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | First name | |
| No | Optional. The person's real email, only if they gave you one. Omit it rather than inventing one — they set it when claiming. | ||
| locale | No | Preferred locale: 'pt' | 'en' | 'es' (default 'pt') | |
| lastName | Yes | Last name | |
| password | Yes | Password, minimum 8 characters. Generate a strong random one; the person replaces it when they claim. | |
| tosAccepted | Yes | Must be true. Confirms the user agreed to https://tavernfinder.com/terms |