Spellweave.app API

Build apps that interact with Spellweave. Access user collections, decks, and deck statistics through a simple REST API secured by OAuth 2.0.

Example Request

Request
curl https://public-api.spellweave.app/api/v1/me \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "email": "[email protected]",
    "display_name": "CardSlinger",
    "avatar_url": null,
    "created_at": "2026-01-15T10:30:00Z"
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2026-03-31T14:22:00Z"
  }
}

Available Scopes

ScopeDescription
profile:readRead user profile information (email, display name)
collections:readRead user card collections and their contents
collections:writeCreate collections and import cards (subject to plan limits)
decks:readRead user decks, deck cards, and deck statistics

Ready to build?

Register your application to get API credentials. We review every submission to ensure quality and safety for our users.

Register an App