Docs

Summit Apps Content and Accounts

Read the Agoo Trust & Tech Summit's programme, speakers, partners, exhibitors, hotels and floor plan as one versioned snapshot, register a phone for push notifications and delete an account.

PreviewFor developers building on the Summit's content

This is a published preview. Names and fields may still change before general availability; changes will be listed in the changelog.

The Agoo Trust & Tech Summit runs on Agoo Events. Its apps, and anyone showing the Summit's programme on their own screens, read everything public about it from one snapshot: the event, its days and rooms, the programme, the speakers, the partners, the exhibitors, the partner hotels, the AICC floor plan and the doors. The snapshot has a version, so an app asks a small question often and downloads the whole snapshot only when it has changed.

Every request goes to https://api.agoohq.com/v1. The two content routes need no sign-in and no key. Push registration and deleting an account act for a signed-in person and take their Agoo ID session as a bearer token.

No counts, on purpose

Nothing in the snapshot says how many seats are left in a session, how many passes are sold or how many people are booked. A session says whether it can be booked (open, full or waitlist), never a number.

The Snapshot

GET/summit/app/content
curl -i https://api.agoohq.com/v1/summit/app/content
HTTP/1.1 200 OK
Content-Type: application/json
ETag: "c41f9a0e7b2d"
Cache-Control: public, max-age=60, stale-while-revalidate=600
{
  "version": 42,
  "etag": "c41f9a0e7b2d",
  "built_at": "2028-11-14T18:05:00Z",
  "body": {
    "schema": 1,
    "event": {
      "slug": "agoo-trust-tech-summit-2028",
      "title": "Agoo Trust & Tech Summit",
      "edition_label": "2028",
      "starts_at": "2028-11-15T08:00:00Z",
      "ends_at": "2028-11-17T18:00:00Z",
      "timezone": "Africa/Accra",
      "venue_name": "Accra International Conference Centre",
      "city": "Accra",
      "country": "GH"
    },
    "days": ["…"],
    "rooms": ["…"],
    "programme": ["…"],
    "speakers": ["…"],
    "partners": ["…"],
    "exhibitors": [{ "name": "…", "sector": "…", "website": "…", "booth": "…" }],
    "hotels": ["…"],
    "floor_plan": { "…": "…" },
    "gates": [{ "slug": "main", "name": "Main Entrance", "kind": "main" }]
  }
}

Prop

Type

What's in body:

KeyWhat it holds
schemaThe shape's number. A new key can arrive without a new number; a key removed or changed in meaning raises it.
eventIts slug, title, edition, start and end, time zone, venue, city and country.
daysThe Summit's days and its side-event days, each with its label and when its doors open and close.
roomsThe halls and rooms sessions happen in.
programmeEvery published session: its title, time, room, track, speakers and whether it can be booked (open, full, waitlist).
speakersListed speakers only, with their public profile and photo. Speakers who aren't listed yet aren't in it.
partnersPublished partners and their level.
exhibitorsEach exhibitor's name, sector, website and booth.
hotelsThe partner hotels, their area, distance, delegate rate from, how to book and what the rate includes.
floor_planThe AICC's published floor plan (its width, height and areas: halls, rooms, booths, doors, stages and facilities), or null before one is published.
gatesThe doors, with their slug, name and kind.

Read only the keys you need and ignore any you don't know: new ones arrive without notice. Times are in UTC; show them in event.timezone.

Asking Again Without Downloading

Send the ETag you hold in If-None-Match. While nothing has changed, the answer is 304 Not Modified with no body.

curl -i https://api.agoohq.com/v1/summit/app/content \
  -H 'If-None-Match: "c41f9a0e7b2d"'
HTTP/1.1 304 Not Modified
ETag: "c41f9a0e7b2d"

The Version

GET/summit/app/content/version

The same three fields without the body, for asking often:

{ "version": 42, "etag": "c41f9a0e7b2d", "built_at": "2028-11-14T18:05:00Z" }

It's cached for 30 seconds (Cache-Control: public, max-age=30).

How Often to Ask

  • Keep the last snapshot on the device and show it first, so the app opens with the programme even with no signal.
  • Ask for the version when the app opens, when it comes back to the front and every 15 minutes while it's open. Don't ask more often than every 30 seconds: the answer won't have changed.
  • Fetch the snapshot only when the version you're told is higher than the one you hold, and send If-None-Match when you do.
  • On a 5xx or no network, keep what you have and try again later with growing gaps (30 seconds, a minute, two, up to 15), with a little randomness so many phones don't ask at the same moment.
  • A snapshot can be up to a minute old, and up to ten minutes old while a fresh one is being fetched. A change made by the Summit's team shows within a few minutes.

Push Notifications

A signed-in person's phone registers for the Summit's push notifications (a session about to start, a waitlist place, a change to the programme).

PUT/summit/me/push
curl -X PUT https://api.agoohq.com/v1/summit/me/push \
  -H "Authorization: Bearer $SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "install_id": "0f8e2a64-6c1b-4f7e-9d2a-3b5c7e9f1a20",
    "token": "<the push token from Apple or Firebase>",
    "platform": "ios",
    "environment": "production",
    "app_version": "1.0.0",
    "device_model": "iPhone",
    "locale": "en-GH",
    "time_zone": "Africa/Accra"
  }'

Prop

Type

The answer is { "ok": true }. Register again whenever the system gives the app a new token, and after each sign-in.

DELETE/summit/me/push/{install_id}

Stops push notifications to that install, for example when the person signs out or turns them off in the app. The answer is { "ok": true }, also when the install was already gone.

Deleting an Account

DELETE/summit/me

Deletes the signed-in person's Summit account at once: their profile, sharing choices, session bookings, push registrations and saved preferences. Their orders and passes stay in the organiser's books, as the law on keeping accounts requires, but are no longer linked to them. If the same sign-in is used for other Agoo products, it stays for those; if not, it's deleted too. The answer says which.

The apps ask the person to confirm before calling it, and sign out afterwards. Nothing can bring the account back.

Errors

Errors follow the API's usual problem details. The ones you'll see here:

StatusCodeWhen
401unauthorizedPush or delete without a signed-in session, or an expired one.
422validation_failedA field is missing or not one of its allowed values.
429rate_limitedToo many requests. Wait for the time Retry-After gives.
503unavailableThe snapshot can't be read just now. Keep what you have and try later.

On this page