---
title: "Authentication for Developers & Agents | Attendir"
description: "How authentication works at Attendir: OAuth 2.1 sign-in for the MCP server, the widget API capability token, and what Attendir does not expose (no API keys, no SDKs)."
canonical: "https://attendir.com/auth"
lang: "en"
---

# Authentication for Developers & Agents | Attendir

Developers & Agents

# Authentication

A straight answer about what you can and cannot authenticate against at Attendir — written so an agent can decide in one read, without guessing.

 

## In Short

- **Public pages** — no authentication of any kind. Every marketing, blog, and glossary URL is open, in HTML or [markdown](https://attendir.com/docs).
- **Widget API** — authorized by the campaign's `share_link` UUID, a capability token carried in the URL path. Nothing else is required.
- **MCP server** — `https://attendir.com/mcp`, OAuth 2.1: an AI assistant such as Claude gets a token only after the account holder signs in at attendir.com and allows it. [Details below](https://attendir.com/auth#mcp-oauth).
- **Account data** — only with the account holder's consent, given while signed in at attendir.com. For programmatic access, email <info@attendir.com>.
 
 

## Widget API: the Share-Link Capability Token

The one public, programmable surface is the widget API under `/api/widget/{share_link}/`, specified in [openapi.json](https://attendir.com/openapi.json). Every endpoint is scoped to a single campaign by its `share_link` — an unguessable UUID that acts as a capability token in the path:

 ```bash
curl https://attendir.com/api/widget/{share_link}/config
```

 

Possession of that UUID authorizes exactly the widget-level operations documented in the spec, for that one campaign, and nothing else. It ships inside the campaign's public embed snippet, so it is not a secret in the way a password is — but it is still the credential, so treat it like a bearer token scoped to one campaign, and rotate the campaign if it leaks somewhere you did not intend. You will find it in the **Embed Widget** section of the campaign page.

There are no headers to send: no `Authorization`, no keys, no scopes. Every endpoint is CORS-enabled and, except `GET /email-html`, rate-limited — responses carry the IETF `RateLimit-Policy` and `RateLimit` fields plus the legacy `X-RateLimit-Limit` and `X-RateLimit-Remaining`, and exceeding a limit returns `429` as JSON with `Retry-After`.

One endpoint layers a second credential on top. `POST /api/widget/{share_link}/linkedin/share` publishes on a real attendee's behalf, so it additionally requires the short-lived, single-use `widget_token` that the LinkedIn OAuth popup issues to the widget; a missing, expired, or already-used token returns `401`. That popup flow also validates the embedding page's origin against the campaign's allowed-domains list, so LinkedIn sharing from your own domain works once your origin is registered for the campaign — email <info@attendir.com> to have it added. Every other channel works on any site out of the box.

 

## MCP Server: OAuth 2.1

The Attendir MCP server at `https://attendir.com/mcp` (Streamable HTTP) lets an AI assistant set up share campaigns in the account of the person who connects it. It takes a bearer token from Attendir's OAuth 2.1 authorization server and nothing else. Which assistants connect: [the MCP server page](https://attendir.com/integrations/mcp). Step by step in Claude: [Connect Claude to Attendir](https://attendir.com/integrations/claude).

- **Discovery** — a call without a token gets `401` with `WWW-Authenticate: Bearer resource_metadata="…"` naming the protected resource metadata (RFC 9728) at [/.well-known/oauth-protected-resource/mcp](https://attendir.com/.well-known/oauth-protected-resource/mcp), which points at the authorization server metadata (RFC 8414) at [/.well-known/oauth-authorization-server](https://attendir.com/.well-known/oauth-authorization-server). The [server card](https://attendir.com/.well-known/mcp/server-card.json) lists the tools.
- **Registration** — dynamic client registration (RFC 7591) at `POST /oauth/register`, for public clients. Callbacks are matched exactly against a short list: `https://claude.ai/api/mcp/auth_callback`, ChatGPT's connector callbacks, and `http://localhost` or `127.0.0.1` on any port. Anything else is refused with `invalid_redirect_uri`.
- **Authorization** — the authorization code grant at `/oauth/authorize` with PKCE, S256 only. The person signs in (or signs up, with the free trial), sees which assistant is asking and where it will send them back, and chooses Allow or Deny.
- **Tokens** — `POST /oauth/token`. Access tokens carry the `mcp:use` scope and last one hour; refresh tokens last 30 days and are replaced on every use.
- **Revocation** — the account holder sees every connected assistant under Profile → Connected AI assistants and can disconnect any of them; its tokens stop working at once.
 
 ```bash
curl -i -X POST https://attendir.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# HTTP/2 401
# www-authenticate: Bearer realm="mcp", resource_metadata="https://attendir.com/.well-known/oauth-protected-resource/mcp"
```

 

What an assistant can do with the token is limited by the tools, whatever the scope: it can read the person's events, campaigns and share counts, create and update events and campaigns, and make share cards. It cannot post to LinkedIn, see who shared, send invites, delete anything or touch billing.

 

## Signing In to the Product

The Attendir application authenticates people with a session cookie, established by email and password or by Google sign-in at [/login](https://attendir.com/login). Accounts are self-serve: [register](https://attendir.com/register), get a 7-day free trial with no credit card, no sales call, and no demo gate.

There is no headless login flow: every route to account data goes through the account holder, signed in at attendir.com, so an agent cannot provision access on its own. Other programmatic account access is arranged case by case — email <info@attendir.com>. Short of that, anything that drives the product on a person's behalf drives their browser session.

 

## What Attendir Does Not Have

Listed explicitly, because a wrong guess here costs an agent a wasted round trip:

- No API keys and no client secrets. Assistants get tokens only through the OAuth consent flow above.
- No general-purpose account API for events, campaigns, advocates, or analytics. The MCP server covers campaign setup only. The widget API above is the whole uncredentialed surface, and none of it reads or writes account data.
- No SDK packages on npm or PyPI, and no agent card.
- No sandbox or test environment; there is one production environment, and a trial account is how you try things safely.
 
Some of these are on the roadmap. None of them are shipped, so none of them are advertised.

 

## How Integrations Authenticate

These are credentials Attendir uses to reach *other* systems on your behalf, configured inside the product — not a way in to Attendir:

- [Eventbrite](https://attendir.com/integrations/eventbrite) — authorization-code OAuth 2.0, connected from your account
- [Bizzabo](https://attendir.com/integrations/bizzabo) and [Cvent](https://attendir.com/integrations/cvent) — OAuth 2.0 client credentials
- [Luma](https://attendir.com/integrations/luma) — an API key you paste in
- LinkedIn — each attendee connects their own account through LinkedIn's OAuth consent screen; Attendir never holds attendee passwords
 
 

## Requesting Programmatic Access

For campaign setup, connect an assistant to the MCP server above. A general account API beyond that is not something you can sign up for yet, and concrete use cases are what move it up the queue. Email <info@attendir.com> with what you are building, which resources you need to read or write, and whether you are acting for one account or many.

Security contact and disclosure policy: [/.well-known/security.txt](https://attendir.com/.well-known/security.txt) (RFC 9116) and [/security](https://attendir.com/security). Full developer reference: [/docs](https://attendir.com/docs).

 

 

 

 

  

## Let your attendees do your event marketing

No credit card required. Set up your LinkedIn sharing cards campaign in minutes.

 [ Start free 7-day trial ](https://attendir.com/register)
