Skip to main content

Explore the GraphQL graph

Apollo Sandbox lets you explore Riseact's GraphQL schema interactively: browse types and fields, compose queries and mutations, and test calls in real time.

Open Apollo Sandbox

→ Open Apollo Sandbox with the Riseact endpoint

Add the authentication token

All queries and mutations require a Bearer token. To add it in Sandbox:

  1. Open the Headers panel (at the bottom of the editor, "Headers" tab)
  2. Add a header:
    • Key: Authorization
    • Value: Bearer <your-token>

To obtain a token, see Private apps → Getting started.

How to use Sandbox

The left-hand Documentation panel shows the entire schema: available queries, mutations, types, and fields. Click a field to add it automatically to the query in the editor.

The center panel is the GraphQL editor. Press Ctrl+Space for context-aware autocompletion.

Example: reading a campaign's configuration

query {
campaign(id: 123) {
id
title
shown_fields
required_fields
has_one_off
has_subscription
default_amount
asks
}
}

Example: creating a donation

mutation {
checkout_create(data: {
campaign_id: 123,
amount: 25.00,
frequency: ONEOFF,
payment_method_id: 3,
supporter_data: {
first_name: "Mario",
last_name: "Rossi",
email: "mario.rossi@esempio.it",
country: "IT",
privacy: true
}
}) {
id
state
donation_id
}
}