EN
Developer guide

Facebook Events API: Search, Create and Manage Events

Meta's Official Events API is reserved to approved partners. Search Facebook events by city and date, create them, list their guests and answer them from your users' own accounts.

Your App · Events near you 3 events
Searchtech meetupLyon, FranceDecember
Lyon Product MeetupThu 7:00 PM · La Cordée PerracheGoing
AI Builders NightTue 6:30 PM · H7 LyonInterested
Women in Tech LyonThu 6:00 PM · OnlineInvited
POSTsearch/events GETevents/{id}/attendees 200 OK
Short answer

Meta's Official Events API exists, but only for event platforms that Meta approves, and public event search by location is no longer open to apps. The working route is a connected account: your app searches, creates and manages events from your users' own Facebook accounts.

For the rest of Meta's platform, see how the Facebook APIs fit together.

With Unipile

Search and create Facebook events in three steps

  1. Connect the accountYour user links their Facebook account through Hosted Auth. No Meta app, no App Review.

  2. Search eventsSend POST /v2/{account_id}/search/events with your key in X-API-KEY, a keyword, a location ID and a date filter.

  3. Create and manage eventsCall POST /v2/{account_id}/events to create one, then list its guests or RSVP on /events/{event_id}.

Status in 2026

Is There an Official Facebook Events API?

Yes, with conditions. Meta's Official Events API is built for ticketing and event platforms that publish events to Facebook, and access is granted on application.

The other official routes are narrower. The Graph API only covers events tied to Pages your app manages (see the Facebook Page API), and the Content Library is reserved for researchers. Searching events by location, which older tutorials and repos describe, is no longer granted to apps.

Not to be confused with the conversion events of the Meta Pixel, which are ad tracking.

FacebookFacebook events, who can use what
Official Events APIEvent platforms publishing events. On application
Graph APIEvents of Pages your app manages. Pages only
Search by locationFind events in a city. Closed to apps
Connected accountSearch, create, guests, RSVP. Works today

Source: Meta's Official Events API page. Last verified: November 23, 2026.

Use cases

What Teams Build with Facebook Events

Four products built on their users' connected accounts.

Discover · BerlinThis weekend
Berlin Startup BrunchSat 11:00 AM · Factory Görlitzer ParkPublic
Founders Run ClubSat 9:00 AM · Tempelhofer FeldPublic
Design Systems TalkSun 4:00 PM · OnlinePublic

Event discovery

A city guide or community app lists events by keyword, city and dates, with their place and picture.

Local events in your product, not just on facebook.com.

Organizer · New eventCreated

Lyon Product MeetupThu, Dec 3 · 7:00 PM · Europe/Paris

Posted in Lyon Product People, 2 co-hosts invitedVisibility: group

Meetup organizers

A community tool creates the event once, in the right group, with co-hosts, and invites the organizer's friends.

One form in your app, the event live on Facebook.

CRM · Contact
CRCamille RouxHead of Growth, Northwind

Going to Lyon Product Meetup, where your rep is a co-hostThu, Dec 3

CRM context

A CRM matches the guest list of the rep's events with its contacts, so the rep knows who will be in the room.

A reason to say hello before the event.

RSVP tracker
yes 24maybe 11noreply 6
NLNora LambertGoingyes
YBYanis BenaliGoingyes

RSVP tracking

An event tool shows guests by status and reminds the invited friends who have not answered yet.

A real headcount before you book the room.

Decision

Official Options vs a Connected Account

Meta's routes publish for a platform or a Page. Search, guests and RSVP need to act as the user.

CriteriaOfficial Events APIGraph API Page eventsConnected account (Unipile)
Who it is forEvent platforms approved by MetaPages your app managesAny user who connects their account
Publish eventsYes, as a partner platformEvents of those PagesPublic, private, friends or group events
Search events by city and dateNoNoYes, with keywords, dates and categories
Guests by statusNot as a userNot as a userGoing, interested, invited, declined
Invite and RSVPNot as a userNot as a userInvite friends, answer yes, maybe or no
Group eventsNoNo, Groups API retired in 2024List a group's upcoming or past events
Who it is for
Official Events APIEvent platforms approved by Meta
Graph API Page eventsPages your app manages
Connected account (Unipile)Any user who connects their account
Publish events
Official Events APIYes, as a partner platform
Graph API Page eventsEvents of those Pages
Connected account (Unipile)Public, private, friends or group events
Search events by city and date
Official Events APINo
Graph API Page eventsNo
Connected account (Unipile)Yes, with keywords, dates and categories
Guests by status
Official Events APINot as a user
Graph API Page eventsNot as a user
Connected account (Unipile)Going, interested, invited, declined
Invite and RSVP
Official Events APINot as a user
Graph API Page eventsNot as a user
Connected account (Unipile)Invite friends, answer yes, maybe or no
Group events
Official Events APINo
Graph API Page eventsNo, Groups API retired in 2024
Connected account (Unipile)List a group's upcoming or past events
Step 2

Create a Facebook Event

POST /events creates an event as the connected user, online or in person, and returns the created event.

Required

Name and start

name and start_at, in the future. end_at is optional, timezone takes an IANA name and defaults to UTC.

Where

Online or in person

is_online with online_url, or a location. Facebook refuses links its Community Standards block.

Who

Visibility and guests

visibility: private by default, public, friends or group with group_id. Add co_host_ids, can_attendees_invite (private events only, true by default) and is_attendees_list_hidden (false by default).

const res = await fetch(`${BASE}/events`, {
  method: "POST", headers,
  body: JSON.stringify({
    name: "Product demo",
    start_at: "2026-12-10T17:00:00Z",
    end_at: "2026-12-10T18:30:00Z",
    timezone: "Europe/Paris",
    is_online: true,
    online_url: "https://meet.google.com/abc-defg-hij",
    group_id: GROUP_ID,           // visibility "group"
    co_host_ids: ["100012345678901"]
  })
});
const event = await res.json();   // the created event
event = requests.post(f"{BASE}/events", headers=headers, json={
    "name": "Product demo",
    "start_at": "2026-12-10T17:00:00Z",
    "end_at": "2026-12-10T18:30:00Z",
    "timezone": "Europe/Paris",
    "is_online": True,
    "online_url": "https://meet.google.com/abc-defg-hij",
    "group_id": GROUP_ID,          # visibility "group"
    "co_host_ids": ["100012345678901"],
}).json()                           # the created event
curl --request POST \
  --url "https://api.unipile.com/v2/{ACCOUNT_ID}/events" \
  --header "X-API-KEY: {YOUR_API_KEY}" \
  --header "content-type: application/json" \
  --data '{
    "name": "Product demo",
    "start_at": "2026-12-10T17:00:00Z",
    "end_at": "2026-12-10T18:30:00Z",
    "timezone": "Europe/Paris",
    "is_online": true,
    "online_url": "https://meet.google.com/abc-defg-hij",
    "group_id": "{GROUP_ID}"
  }'
→ event created in the group, co-host invited

Read it back with GET /events/{event_id}, which also returns is_host. DELETE /events/{event_id} works on events the account organizes.

One API for events

Ship Facebook events in your product this week

Connect a Facebook account with Hosted Auth and call the Events endpoints, without applying to a partner program.

Build Now
Step 3

Guests, Invitations and RSVP

Read guests by status, invite a friend of the account and answer events.

Lyon Product Meetup · Guests
yes 24maybe 11noreply 6no 2
IMInès MartinInterestedmaybe
TFThomas FabreInterestedmaybe
SASofia AlvesInvited by you, no answer yetnoreply
GETattendees?status=maybe200 OK
  • List guests. GET /events/{event_id}/attendees with status: yes (going, the default), maybe (interested), noreply (invited) or no (declined).
  • Invite a friend. POST /events/{event_id}/attendees with a numeric user_id, as the "Invite" button does. The friend then appears as noreply.
  • RSVP. POST /events/{event_id}/rsvp with yes, maybe or no.
Two Facebook rules

Facebook serves the first page of guests only: raise limit up to 100, a cursor gets a 400. The organizer always attends its own event, so its RSVP gets a 400.

// Guests who are interested (first page only)
const maybe = await fetch(
  `${BASE}/events/${EVENT_ID}/attendees?status=maybe&limit=100`, { headers }
).then(r => r.json());

// Invite a friend of the account
await fetch(`${BASE}/events/${EVENT_ID}/attendees`, {
  method: "POST", headers,
  body: JSON.stringify({ user_id: "100012345678901" })
});

// Answer someone else's event
await fetch(`${BASE}/events/${OTHER_EVENT_ID}/rsvp`, {
  method: "POST", headers, body: JSON.stringify({ status: "yes" })
});
# Guests who are interested (first page only)
maybe = requests.get(f"{BASE}/events/{EVENT_ID}/attendees", headers=headers,
                     params={"status": "maybe", "limit": 100}).json()

# Invite a friend of the account
requests.post(f"{BASE}/events/{EVENT_ID}/attendees", headers=headers,
              json={"user_id": "100012345678901"})

# Answer someone else's event
requests.post(f"{BASE}/events/{OTHER_EVENT_ID}/rsvp", headers=headers,
              json={"status": "yes"})
# Invite a friend of the account
curl --request POST \
  --url "https://api.unipile.com/v2/{ACCOUNT_ID}/events/{EVENT_ID}/attendees" \
  --header "X-API-KEY: {YOUR_API_KEY}" \
  --header "content-type: application/json" \
  --data '{ "user_id": "100012345678901" }'

# Answer someone else's event
curl --request POST \
  --url "https://api.unipile.com/v2/{ACCOUNT_ID}/events/{EVENT_ID}/rsvp" \
  --header "X-API-KEY: {YOUR_API_KEY}" \
  --header "content-type: application/json" \
  --data '{ "status": "yes" }'
Groups

Events of a Facebook Group

GET /groups/{group_id}/events lists a group's upcoming events, or its past ones with period=past, with a cursor and a limit.

This list has no dates or places: call GET /events/{event_id} on each event to get them. To create an event inside a group, pass its group_id to POST /events.

Reading posts, members and keyword alerts in groups is covered in our Facebook Groups API guide.

FacebookLyon Product PeopleGroup · Upcoming events
Lyon Product MeetupRetrieve for date and place
Product demoRetrieve for date and place
GETgroups/{id}/events?period=upcoming200 OK
Same API

The Same Events API on LinkedIn

The routes you used for Facebook work for LinkedIn events too. Only what LinkedIn allows changes.

Feature
Search filtersKeywords, dates, city, categoriesKeywords only
Create: visibilityPublic, private, friends or groupPublic only
Group, co-host and guest optionsYesRefused (400)
Guest listBy status, first pageAttending guests only
InviteFriends of the accountRelations of the account
RSVP and group eventsYesNot supported (501)
Search filters
Keywords, dates, city, categories
Keywords only
Create: visibility
Public, private, friends or group
Public only
Group, co-host and guest options
Yes
Refused (400)
Guest list
By status, first page
Attending guests only
Invite
Friends of the account
Relations of the account
RSVP and group events
Yes
Not supported (501)

On LinkedIn, creating or deleting an event also creates or deletes its announcement post. Details in our LinkedIn Events API guide.

Bring Facebook events into your app

Connect your users' Facebook accounts, search events by city and date, create them and follow every RSVP with one REST API. Messages work the same way with the Unipile Facebook API.

All Facebook API endpoints in one place

Events are one part of the picture. See every Facebook endpoint available with Unipile, or read the complete Facebook API guide.

Facebook Events API FAQ

Quick answers on Meta's official options, events by location and event lists.

Partly. Meta's Official Events API still exists for event platforms that Meta approves on application, and the Graph API covers events of Pages your app manages. Searching public events by location is no longer granted to apps. A connected account, where each user links their own Facebook account, covers search, creation, guests and RSVP.

With Unipile, first get the city ID with GET /v2/{account_id}/search/parameters?type=location, then call POST /v2/{account_id}/search/events with keywords, location set to a list holding that city ID and optional start_date and end_date. Results include dates, a place and a picture.

For a group, call GET /v2/{account_id}/groups/{group_id}/events, with period=past for past events, then retrieve each event for its date and place. Events of a Page you manage are served by Meta's Graph API with the Page's access; see our Facebook Page API guide.

It is Meta's program for ticketing and event platforms that publish their events to Facebook. Access is granted on application, so it does not fit a product that needs events from its own users' accounts. Unipile is not part of that program: it works through the accounts your users connect.

No. Unipile is an independent company, not a Meta Partner, and it is not endorsed, sponsored or approved by Meta. Your app searches, creates and manages events through your users' own Facebook accounts. Facebook is a trademark of Meta Platforms, Inc.

No. Your users connect their own Facebook account through hosted authentication, and your app calls the Events endpoints with your Unipile API key. You do not apply to the Official Events API and skip the Meta app and App Review.

Still have questions? Our team is here to help.

Talk to an expert