Blog / Mobilize· December 1, 2026

How to Show Mobilize Events on Your Website

Use the public Mobilize API to list your upcoming events on your own site. Finding your organization ID, filters, rendering, caching, and RSVPs.

Gary Bunofsky

Gary Bunofsky

Lead Developer

A megaphone

Your events live on Mobilize, but your supporters visit your website. You want an events page that lists what's coming up, in your design, without someone copying event details over by hand every week.

The Mobilize API makes this easier than most people expect. Listing public events doesn't need an API key. This guide covers the quick option, then building your own events list from the API.


1. The Quick Option: Link to a Filtered Feed

Every Mobilize organization has a public event feed at https://www.mobilize.us/your-slug/. You can filter it with URL parameters, such as showing only virtual events:

https://www.mobilize.us/your-slug/?is_virtual=true

Mobilize has a URL generator in the dashboard for building these links. If all you need is a "See upcoming events" button, this is enough.

The downside is that visitors leave your site, and the page looks like Mobilize, not like you. For an events page that feels like part of your site, use the API.


2. Find Your Organization ID

The API identifies organizations by a numeric ID, not the slug in your feed URL. The organizations endpoint is public:

curl "https://api.mobilize.us/v1/organizations"

Each organization in the response has an id, a name, a slug, and an event_feed_url. Find the one whose slug matches your feed URL. The endpoint doesn't filter by name, so you may need to page through results. Mobilize support can also tell you your ID.


3. List Your Upcoming Events

With the ID, request your events. Without an API key, you get public events only, which is what an events page should show anyway.

curl "https://api.mobilize.us/v1/organizations/1234/events?timeslot_start=gte_now&per_page=25"

timeslot_start=gte_now limits results to events with a timeslot starting now or later. Other useful parameters:

  • zipcode and max_dist find events within a number of miles of a ZIP code.
  • is_virtual filters to virtual or in-person events.
  • event_types filters by type, such as CANVASS, PHONE_BANK, or RALLY. Repeat it for more than one.
  • tag_id filters by a Mobilize tag. Repeat it for more than one.
  • high_priority_only returns only events you've marked high priority.

Responses come wrapped in an envelope with data, count, next, and previous. To get every page, keep requesting the next URL until it's null.


4. Render the Events

Each event includes what you need for a card or list item:

  • title, featured_image_url, and event_type.
  • description, which is HTML. Sanitize it before you put it on your page.
  • timeslots, an array where each item has start_date and end_date as Unix timestamps in seconds, plus is_full.
  • timezone, the event's time zone name.
  • location, with venue, address_lines, locality, region, and postal_code. Coordinates sit one level deeper, at location.location.latitude and location.location.longitude.
  • is_virtual, for events with no physical location.
  • browser_url, the event's page on Mobilize. This is where your RSVP button should point.

Mobilize removed the old summary field, so if you find an older example that uses it, use description instead.

Show times in the event's own time zone, not the visitor's. A rally in Philadelphia starts at 6pm Eastern no matter where someone is reading:

function formatTimeslot(event, timeslot) {
  return new Intl.DateTimeFormat('en-US', {
    weekday: 'short',
    month: 'short',
    day: 'numeric',
    hour: 'numeric',
    minute: '2-digit',
    timeZone: event.timezone,
    timeZoneName: 'short',
  }).format(new Date(timeslot.start_date * 1000));
}

Two cases to handle in your template. Events with a private address return a placeholder string in venue and address_lines instead of the real address, so check for it rather than printing it as a location. And a recurring event can have many timeslots, so decide whether to show the next one or list them all.


5. Fetch at Build Time, Not on Every Visit

You could call the API from each visitor's browser, but there's little reason to. Events don't change minute to minute, and a cached list loads faster and keeps working if the API is slow.

On a static site, fetch events when the site builds. In Eleventy, a global data file does it in a few lines:

// src/_data/mobilizeEvents.js
export default async function () {
  const events = [];
  let url =
    'https://api.mobilize.us/v1/organizations/1234/events?timeslot_start=gte_now&per_page=25';

  while (url) {
    const response = await fetch(url);
    if (!response.ok) throw new Error(`Mobilize API returned ${response.status}`);
    const page = await response.json();
    events.push(...page.data);
    url = page.next;
  }

  return events;
};

Then loop over mobilizeEvents in your template. Rebuild the site on a schedule, every hour or every few hours, so new events appear and past ones drop off. On WordPress or another server-rendered site, fetch on the server and cache the result for the same window.

The API allows 15 GET requests per second per IP address, which a scheduled build won't come near.


6. RSVPs on Your Own Site

Linking each event's RSVP button to its browser_url is the simplest path, and it's what most organizations should do. Mobilize handles confirmation emails, reminders, and capacity.

If you want people to RSVP without leaving your site, Mobilize has an attendances endpoint: POST /v1/organizations/{id}/events/{event_id}/attendances. It's restricted. You need an API key with permission from Mobilize, which you request through their support team. The request takes a person (name, email, phone, ZIP), the timeslots they're signing up for, and an optional referrer with UTM fields so you can see which page drove the RSVP.

Build it only if the in-page experience is worth the extra work. You'll be responsible for the form, validation, and error states that Mobilize otherwise handles.


Bringing It Together

A good events page is usually a list built from the API at build time, with filters for virtual and in-person events, and RSVP buttons that hand off to Mobilize. It takes an afternoon to build and nobody has to update it by hand again.

Events are rarely the only tool on the page. If signups go to Action Network, see our guides to integrating Action Network forms and the Action Network API. For EveryAction, see styling EveryAction forms and connecting your website to EveryAction and NGP VAN. For donations, see adding ActBlue to your website.


Want an Events Page That Runs Itself?

We build nonprofit websites that pull events, signups, and donations from the tools you already use, so your team updates one place. Tell us what you're trying to do.

More thinking

All posts
Stacked sheets of paper
everyaction · December 1, 2026

Connecting Your Website to EveryAction and NGP VAN

Embed EveryAction forms with ActionTag, or use the NGP VAN API to find or create people and apply activist codes. Auth, access tiers, and examples.

Tall stone pillars in soft light, suggesting a building under construction.
nonprofit · December 1, 2026

Who Designs Capital Campaign Websites for Nonprofits?

Your options for a capital campaign website, what the site needs to do at each phase, and how Loopdash designs and builds them for nonprofits.

Loose sheets of paper on a desk
actblue · December 1, 2026

How to Add ActBlue Donation Forms to Your Website

Link, embed, or open ActBlue in a modal from your own site. Refcodes, URL parameters, conversion tracking, and getting donations into your CRM.