← Back to Developer Portal

API Documentation

Everything you need to integrate with the Tampa.dev platform.

Scopes

Scopes follow the GitHub model. The user scope implicitly includes read:user and user:email.

ScopeDescription
userRead/write access to profile info (includes user:email and read:user)
read:userRead your public profile data
user:emailRead your email address
read:eventsRead events and event details
read:groupsRead groups and group details
read:favoritesRead your favorite groups
write:favoritesManage your favorite groups
read:portfolioRead your portfolio items
write:portfolioManage your portfolio items
user:linked-accountsRead your connected identity providers
manage:groupsManage groups you own or co-manage
manage:eventsCreate and manage events in your groups
manage:checkinsManage checkin codes and view attendees
manage:badgesCreate, award, and manage group badges
adminFull admin access

Scope Hierarchy

The user scope is a parent scope that automatically grants:

  • read:user - read-only access to profile data
  • user:email - read access to email addresses

When requesting scopes during authorization, only request what your application needs. Users will see the full list of requested permissions on the consent screen.

Requesting Scopes

Include scopes as a space-separated string in the scope parameter of the authorization URL:

https://tampa.dev/oauth/authorize?scope=read:user read:events read:groups

Management Scopes

Group management, event management, checkin, and badge management endpoints accept all three authentication methods: session cookies, Personal Access Tokens, and OAuth Bearer tokens. When using PATs or OAuth, include the appropriate manage:* scope.

For example, to manage groups via a PAT:

curl -H "Authorization: Bearer td_pat_abc123..." \
  https://api.tampa.dev/groups/manage

Or request the scope during OAuth authorization:

https://tampa.dev/oauth/authorize?scope=manage:groups manage:events

Recommended Scopes for MCP

When connecting an AI assistant via MCP, the scopes you request determine which tools the agent can discover and use. Here are common configurations:

Use CaseRecommended Scopes
Read-only browsingread:events read:groups read:user
Personal assistant (full)user read:events write:events read:groups read:favorites write:favorites read:portfolio write:portfolio
Group management botmanage:groups manage:events manage:checkins manage:badges
Platform adminadmin

The MCP server's tools/list response is automatically filtered to only include tools your token's scopes allow. This means an agent can introspect its own capabilities by listing available tools.