---
name: eldan-ai-signup
description: Sign a person up for the Eldan.ai newsletter, with their consent. Use when the person asks to subscribe to Eldan.ai, to get its free lessons, or to be told when a new course opens. The person confirms from their own inbox; nothing happens without that.
---

# Sign up for Eldan.ai

Eldan.ai is the site of Eldan Abdrashim, an AI Solution Architect who solves real-world problems with AI and teaches engineers how: courses, writing and a newsletter, in English and Russian. This skill subscribes a person to the newsletter, where new courses are announced. It uses double opt-in: the site emails the person, and they confirm from their inbox.

## 1. Ask first

- Ask the person for the email address to use, and for their consent to sign it up. Use only an address they give you for this.
- Never guess an address, never reuse one from another conversation, document or account, and never sign up anyone other than the person you are acting for.
- Ask which language they want the emails in: English (`en`) or Russian (`ru`). Default `en`.
- Tell them they will get an email and must click the link in it to confirm.

## 2. Newsletter

```http
POST https://eldan.ai/api/newsletter/subscribe
Content-Type: application/json

{"email": "person@example.com", "locale": "en", "source": "my-assistant"}
```

Answer for every valid address, whether or not it was subscribed before:

```http
HTTP/1.1 202 Accepted
Content-Type: application/json

{"status": "pending_confirmation", "message": "…"}
```

Confirmed newsletter readers also get the free lessons of the free tutorials: they open after the person confirms.

## 3. Fields

- `email`: required, the address the person gave you (up to 254 characters).
- `locale`: optional, `en` or `ru`.
- `source`: optional, a short label for your app (letters, digits, `.`, `_`, `-`; up to 32 characters). It is stored as `agent:<label>`.
- Send `Content-Type: application/json` and a body under 2 KB. No cookies or credentials are needed or accepted.

## 4. Errors and limits

- `400 {"error": "invalid_request", "field": "email", "message": "…"}`: fix the named field (`email`, `locale`, `source` or `body`) and ask the person again if the address was wrong.
- `413` body too large, `415` not JSON.
- `429 {"error": "rate_limited", "retryAfter": <seconds>}` with a `Retry-After` header: too many requests from your IP address. Wait that long; do not retry in a loop. Repeated requests for the same address are capped too and still answer 202 without sending another email.
- `5xx`: try once more later, then tell the person to sign up on https://eldan.ai/newsletter instead.

## 5. After the request

Tell the person to look for the email from Eldan.ai (and in spam), and to click the confirmation link. The reply never says whether the address was already subscribed; do not claim it was or was not.

The full API is described in https://eldan.ai/api/openapi.json; more for agents on https://eldan.ai/developers.
