Quickstart

This guide walks you through making your first request to the Stacked API.

Base URL

All API requests use the following base:

https://api.donorelevate.com/api

Get an API key

  1. Log in to the Stacked web app.
  2. Navigate to Settings → API.
  3. Click Create to generate a new key.
  4. Copy the key immediately — it won't be shown again.

Make your first request

Use the X-API-Key header to authenticate. This example fetches the list of users in your organization:

curl https://api.donorelevate.com/api/users \
  -H "X-API-Key: your-api-key"

Read the response

A successful response follows this envelope structure:

{
  "error": false,
  "success": true,
  "message": "Success",
  "code": 200,
  "data": [...]
}

Your results are in the data field. Note that not all endpoints use this exact envelope — endpoint reference pages document each controller's response shape.

Common mistakes

MistakeResponse
Missing X-API-Key header401 — Invalid token format
Using a regenerated or old key401 — Invalid API key

See Authentication for the full list of auth error responses.

On this page