Developers

Organizer API

Supporters, donations, and campaigns for your organisation

Get your API key

Authentication

All requests use the base URL https://organizer.ladill.com/api/v1/organizer-api and a Bearer API key. Create a token with the Organizer scope in account.ladill.com → Developers.

Authorization header
Authorization: Bearer your_key

Organisation summary

GET /summary

Headline numbers for your organisation: teams, members, contacts, and funds raised.

Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/summary \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": {
    "scope": "Whole organisation",
    "teams": 12,
    "members": 86,
    "open_tasks": 9,
    "checkins_today": 14,
    "contacts": 4210,
    "new_30d": 318,
    "lapsed": 97,
    "by_kind": { "supporter": 3800, "volunteer": 350, "member": 60 },
    "raised_minor": 12500000,
    "raised_30d_minor": 2400000,
    "donors": 640,
    "funds": { "total_raised_minor": 12500000 }
  }
}

List campaigns

GET /campaigns

List your campaigns, newest first, with their sign-up and fundraising configuration.

Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/campaigns \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": [
    {
      "id": 3,
      "slug": "clean-water",
      "name": "Clean Water Fund",
      "kind": "fundraiser",
      "status": "active",
      "tagline": "A borehole for every community",
      "signups_open": true,
      "signup_kinds": ["supporter", "volunteer"],
      "fundraising_enabled": true,
      "goal_minor": 50000000,
      "suggested_amounts": [5000, 10000, 20000],
      "allow_pledges": true,
      "allow_recurring": true
    }
  ]
}

List contacts

GET /contacts

List your supporters, volunteers, and members, newest first. Results are paginated.

Parameters

campaign string optional Filter by campaign.
kind string optional supporter, volunteer, or member.
status string optional new, active, lapsed, inactive, or opted_out.
area integer optional Filter by area.
tag string optional Filter by tag.
q string optional Search contacts.
engaged_before string optional Only contacts last engaged before this date.
engaged_after string optional Only contacts last engaged after this date.
per_page integer optional Page size, 1–100 (default 50).
page integer optional Page number.
Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/contacts \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": [
    {
      "id": 9912,
      "campaign": "clean-water",
      "kind": "supporter",
      "status": "new",
      "name": "Abena Darko",
      "email": "abena@example.com",
      "phone": "0241234567",
      "area_id": 41,
      "custom": {},
      "source": "api",
      "tags": ["newsletter"],
      "consent_at": "2026-11-13T10:00:00+00:00",
      "created_at": "2026-11-13T10:00:00+00:00"
    }
  ],
  "meta": { "page": 1, "last_page": 85, "total": 4210 }
}

Create a contact

POST /contacts

Add a contact collected on your own form. If the person is already known they are merged rather than duplicated. consent must be true: you are asserting that the person agreed to be contacted. Limited to 120 requests a minute.

Parameters

name string required Full name (max 120 chars).
consent boolean required Must be true.
email string optional Email. Required unless phone is sent.
phone string optional Phone. Required unless email is sent.
campaign string optional Slug of the campaign the contact signed up to.
kind string optional supporter (default), volunteer, or member.
area_id integer optional Id of one of your areas (see List areas).
tags string[] optional Tags to apply (each max 60 chars).
custom object optional Up to 30 custom field values.
consent_text string optional The consent wording the person agreed to (max 300 chars).
Request
curl -X POST https://organizer.ladill.com/api/v1/organizer-api/contacts \
  -H "Authorization: Bearer your_key" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Abena Darko",
  "email": "abena@example.com",
  "campaign": "clean-water",
  "tags": ["newsletter"],
  "consent": true,
  "consent_text": "I agree to receive updates."
}'
Response · 201
{
  "data": {
    "id": 9912,
    "campaign": "clean-water",
    "kind": "supporter",
    "status": "new",
    "name": "Abena Darko",
    "email": "abena@example.com",
    "phone": null,
    "source": "api",
    "tags": ["newsletter"],
    "consent_at": "2026-11-13T10:00:00+00:00"
  }
}

Fetch a contact

GET /contacts/{id}

Retrieve a single contact by its id.

Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/contacts/{id} \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": {
    "id": 9912,
    "kind": "supporter",
    "status": "active",
    "name": "Abena Darko",
    "email": "abena@example.com",
    "tags": ["newsletter"]
  }
}

Update a contact

PATCH /contacts/{id}

Change a contact's name, kind, status, or tags. Setting status to opted_out records the opt-out so the person is no longer messaged. Sending tags replaces the existing tags.

Parameters

name string optional Full name (max 120 chars).
kind string optional supporter, volunteer, or member.
status string optional new, active, lapsed, inactive, or opted_out.
tags string[] optional The full set of tags the contact should have.
Request
curl -X PATCH https://organizer.ladill.com/api/v1/organizer-api/contacts/{id} \
  -H "Authorization: Bearer your_key" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "opted_out"
}'
Response · 200
{
  "data": {
    "id": 9912,
    "status": "opted_out",
    "name": "Abena Darko"
  }
}

Delete a contact

DELETE /contacts/{id}

Permanently delete a contact. The deletion is recorded in your audit log.

Request
curl -X DELETE https://organizer.ladill.com/api/v1/organizer-api/contacts/{id} \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": { "deleted": true }
}

List donations

GET /donations

List donations, newest first. Results are paginated.

Parameters

status string optional Filter by donation status, e.g. paid.
campaign string optional Slug of a campaign.
per_page integer optional Page size, 1–100 (default 50).
page integer optional Page number.
Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/donations \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": [
    {
      "reference": "DN-5H7QW2",
      "receipt_no": "R-000184",
      "campaign": "clean-water",
      "amount_minor": 10000,
      "currency": "GHS",
      "status": "paid",
      "donor_name": "Yaw Asante",
      "donor_email": "yaw@example.com",
      "donor_phone": null,
      "anonymous": false,
      "pledge_reference": null,
      "area_id": null,
      "team_id": null,
      "paid_at": "2026-11-12T16:20:05+00:00",
      "created_at": "2026-11-12T16:19:40+00:00"
    }
  ],
  "meta": { "page": 1, "last_page": 13, "total": 640 }
}

Fetch a donation

GET /donations/{reference}

Retrieve a donation by its reference. Its status is re-checked against Ladill Pay first.

Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/donations/{reference} \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": {
    "reference": "DN-5H7QW2",
    "receipt_no": "R-000184",
    "campaign": "clean-water",
    "amount_minor": 10000,
    "currency": "GHS",
    "status": "paid",
    "paid_at": "2026-11-12T16:20:05+00:00"
  }
}

List pledges

GET /pledges

Your 200 most recent pledges and recurring gifts, with how much has been paid and what is outstanding.

Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/pledges \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": [
    {
      "reference": "PL-2M4RT8",
      "campaign": "clean-water",
      "kind": "recurring",
      "frequency": "monthly",
      "amount_minor": 5000,
      "committed_minor": 60000,
      "paid_minor": 15000,
      "outstanding_minor": 45000,
      "status": "active",
      "next_due_on": "2026-12-01",
      "donor_name": "Yaw Asante",
      "donor_email": "yaw@example.com"
    }
  ]
}

Fundraising report

GET /funds/report

Totals raised, fees, and net, broken down by campaign, area, and team.

Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/funds/report \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": {
    "total_raised_minor": 12500000,
    "fees_minor": 437500,
    "net_minor": 12062500,
    "gifts": 910,
    "by_campaign": [
      { "campaign": "clean-water", "raised_minor": 8200000, "goal_minor": 50000000, "pledged_outstanding_minor": 450000 }
    ],
    "by_area": [
      { "area_id": 41, "level": "region", "name": "Ashanti", "raised_minor": 3100000 }
    ],
    "by_team": [
      { "team_id": 6, "name": "Kumasi volunteers", "raised_minor": 1900000, "gifts": 140 }
    ]
  }
}

List areas

GET /areas

List the areas (regions, constituencies, polling stations) your organisation works in. Returns up to 5,000 areas per page; follow meta.next_page until it is null.

Parameters

level string optional region, constituency, or station.
parent_id integer optional Only areas directly under this area.
per_page integer optional Page size, 1–5000 (default 5000).
page integer optional Page number.
Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/areas \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": [
    { "id": 41, "parent_id": null, "level": "region", "name": "Ashanti", "code": "AS", "registered_voters": null }
  ],
  "meta": { "total": 16, "page": 1, "per_page": 5000, "next_page": null }
}

List events

GET /events

Your 100 most recent events, latest first, with how many people have registered.

Request
curl -X GET https://organizer.ladill.com/api/v1/organizer-api/events \
  -H "Authorization: Bearer your_key"
Response · 200
{
  "data": [
    {
      "id": 15,
      "title": "Community clean-up",
      "description": "Bring gloves.",
      "location": "Osu, Accra",
      "starts_at": "2026-12-05T08:00:00+00:00",
      "accepting": true,
      "campaign": "clean-water",
      "registrations": 48
    }
  ]
}

Webhooks

Set your webhook URL in organizer.ladill.com → Developers. Ladill POSTs contact.created, donation.paid, donation.refunded, pledge.created, and incident.reported events to your URL, named in the X-Ladill-Event header. Verify each one with HMAC-SHA512 of the raw request body using your webhook secret, compared against the X-Ladill-Signature header.

Browser API

For sign-up and giving forms that call Ladill straight from the browser, use your publishable key (orpk_…) instead of a token: GET /api/public/organizer/{key}/campaigns/{campaign}, POST /campaigns/{campaign}/signups and /campaigns/{campaign}/gifts, GET /campaigns/{campaign}/wall, GET /donations/{reference}, GET /events and /events/{id}, and POST /events/{id}/registrations. No Authorization header is needed.

Errors

Errors use standard HTTP status codes with a JSON error message.

401 Missing, invalid, or revoked API token.
403 The token does not have the scope this API needs.
404 No such record on your account.
409 The request conflicts with the current state (for example, the slot was just taken).
422 Validation failed (missing or invalid parameters).
429 Rate limit exceeded — slow down and retry.
502 Ladill Pay could not start the payment — safe to retry.
402 Your Organizer plan does not include the developer API (code: plan_required).

Live chat

Ladill apps