Skip to main content
PATCH
/
admin
/
v1
/
networks
/
{network_id}
/
events
/
{id}
/
Updates an existing event
curl --request PATCH \
  --url https://api.mn.co/admin/v1/networks/{network_id}/events/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Monthly Community Meetup",
  "description": "Join us for our monthly community meetup",
  "link": "https://zoom.us/j/123456789",
  "starts_at": "2025-01-15T14:00:00Z",
  "ends_at": "2025-01-15T16:00:00Z",
  "event_type": "online_meeting",
  "location": "San Francisco, CA",
  "time_zone": "America/Los_Angeles",
  "rsvp_enabled": true,
  "rsvp_closed": true,
  "restricted_event": true,
  "post_in_feed": true,
  "frequency": "weekly",
  "interval": 1,
  "by_days": "MO,WE,FR",
  "by_month_days": "1,15",
  "recurrence_count": 123,
  "recur_until": "2026-07-09T23:52:15+00:00"
}
'
import requests

url = "https://api.mn.co/admin/v1/networks/{network_id}/events/{id}/"

payload = {
"title": "Monthly Community Meetup",
"description": "Join us for our monthly community meetup",
"link": "https://zoom.us/j/123456789",
"starts_at": "2025-01-15T14:00:00Z",
"ends_at": "2025-01-15T16:00:00Z",
"event_type": "online_meeting",
"location": "San Francisco, CA",
"time_zone": "America/Los_Angeles",
"rsvp_enabled": True,
"rsvp_closed": True,
"restricted_event": True,
"post_in_feed": True,
"frequency": "weekly",
"interval": 1,
"by_days": "MO,WE,FR",
"by_month_days": "1,15",
"recurrence_count": 123,
"recur_until": "2026-07-09T23:52:15+00:00"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Monthly Community Meetup',
description: 'Join us for our monthly community meetup',
link: 'https://zoom.us/j/123456789',
starts_at: '2025-01-15T14:00:00Z',
ends_at: '2025-01-15T16:00:00Z',
event_type: 'online_meeting',
location: 'San Francisco, CA',
time_zone: 'America/Los_Angeles',
rsvp_enabled: true,
rsvp_closed: true,
restricted_event: true,
post_in_feed: true,
frequency: 'weekly',
interval: 1,
by_days: 'MO,WE,FR',
by_month_days: '1,15',
recurrence_count: 123,
recur_until: '2026-07-09T23:52:15+00:00'
})
};

fetch('https://api.mn.co/admin/v1/networks/{network_id}/events/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mn.co/admin/v1/networks/{network_id}/events/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Monthly Community Meetup',
'description' => 'Join us for our monthly community meetup',
'link' => 'https://zoom.us/j/123456789',
'starts_at' => '2025-01-15T14:00:00Z',
'ends_at' => '2025-01-15T16:00:00Z',
'event_type' => 'online_meeting',
'location' => 'San Francisco, CA',
'time_zone' => 'America/Los_Angeles',
'rsvp_enabled' => true,
'rsvp_closed' => true,
'restricted_event' => true,
'post_in_feed' => true,
'frequency' => 'weekly',
'interval' => 1,
'by_days' => 'MO,WE,FR',
'by_month_days' => '1,15',
'recurrence_count' => 123,
'recur_until' => '2026-07-09T23:52:15+00:00'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.mn.co/admin/v1/networks/{network_id}/events/{id}/"

payload := strings.NewReader("{\n \"title\": \"Monthly Community Meetup\",\n \"description\": \"Join us for our monthly community meetup\",\n \"link\": \"https://zoom.us/j/123456789\",\n \"starts_at\": \"2025-01-15T14:00:00Z\",\n \"ends_at\": \"2025-01-15T16:00:00Z\",\n \"event_type\": \"online_meeting\",\n \"location\": \"San Francisco, CA\",\n \"time_zone\": \"America/Los_Angeles\",\n \"rsvp_enabled\": true,\n \"rsvp_closed\": true,\n \"restricted_event\": true,\n \"post_in_feed\": true,\n \"frequency\": \"weekly\",\n \"interval\": 1,\n \"by_days\": \"MO,WE,FR\",\n \"by_month_days\": \"1,15\",\n \"recurrence_count\": 123,\n \"recur_until\": \"2026-07-09T23:52:15+00:00\"\n}")

req, _ := http.NewRequest("PATCH", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.patch("https://api.mn.co/admin/v1/networks/{network_id}/events/{id}/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Monthly Community Meetup\",\n \"description\": \"Join us for our monthly community meetup\",\n \"link\": \"https://zoom.us/j/123456789\",\n \"starts_at\": \"2025-01-15T14:00:00Z\",\n \"ends_at\": \"2025-01-15T16:00:00Z\",\n \"event_type\": \"online_meeting\",\n \"location\": \"San Francisco, CA\",\n \"time_zone\": \"America/Los_Angeles\",\n \"rsvp_enabled\": true,\n \"rsvp_closed\": true,\n \"restricted_event\": true,\n \"post_in_feed\": true,\n \"frequency\": \"weekly\",\n \"interval\": 1,\n \"by_days\": \"MO,WE,FR\",\n \"by_month_days\": \"1,15\",\n \"recurrence_count\": 123,\n \"recur_until\": \"2026-07-09T23:52:15+00:00\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.mn.co/admin/v1/networks/{network_id}/events/{id}/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Monthly Community Meetup\",\n \"description\": \"Join us for our monthly community meetup\",\n \"link\": \"https://zoom.us/j/123456789\",\n \"starts_at\": \"2025-01-15T14:00:00Z\",\n \"ends_at\": \"2025-01-15T16:00:00Z\",\n \"event_type\": \"online_meeting\",\n \"location\": \"San Francisco, CA\",\n \"time_zone\": \"America/Los_Angeles\",\n \"rsvp_enabled\": true,\n \"rsvp_closed\": true,\n \"restricted_event\": true,\n \"post_in_feed\": true,\n \"frequency\": \"weekly\",\n \"interval\": 1,\n \"by_days\": \"MO,WE,FR\",\n \"by_month_days\": \"1,15\",\n \"recurrence_count\": 123,\n \"recur_until\": \"2026-07-09T23:52:15+00:00\"\n}"

response = http.request(request)
puts response.read_body
{
  "id": "1234",
  "created_at": "2026-07-09T23:52:13+00:00",
  "updated_at": "2026-07-09T23:52:13+00:00",
  "post_type": "event",
  "creator": {
    "id": "1234",
    "created_at": "2026-07-09T23:52:13+00:00",
    "updated_at": "2026-07-09T23:52:13+00:00",
    "name": "<string>",
    "email": "ada.lovelace@example.com",
    "short_bio": "<string>",
    "admin": true
  },
  "permalink": "https://example.mn.co/posts/123",
  "title": "Monthly Community Meetup",
  "event_type": "online_meeting",
  "images": [
    "<string>"
  ],
  "description": "<string>",
  "recurrence_rule": "<string>",
  "rsvp_enabled": true,
  "rsvp_closed": true,
  "restricted_event": true,
  "post_in_feed": true,
  "starts_at": "2026-07-09T23:52:15+00:00",
  "ends_at": "2026-07-09T23:52:15+00:00",
  "time_zone": "<string>",
  "location": "<string>",
  "link": "<string>",
  "frequency": "<string>",
  "interval": 123
}
{
"error": "<string>"
}
{
"error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer<uint64>
required

ID of the event

network_id
required

The Network's unique integer ID, or subdomain Unique numeric network ID

Body

application/json

Submit results as JSON

Request body for updating an event

title
string

The event title

Example:

"Monthly Community Meetup"

description
string

The event description

Example:

"Join us for our monthly community meetup"

External event link URL

Example:

"https://zoom.us/j/123456789"

starts_at
string<date-time>

The date and time the event starts (ISO8601 format)

Example:

"2025-01-15T14:00:00Z"

ends_at
string<date-time>

The date and time the event ends (ISO8601 format)

Example:

"2025-01-15T16:00:00Z"

event_type
string

Type of event: 'online_meeting', 'local_meetup', etc.

Example:

"online_meeting"

location
string

Physical location of the event

Example:

"San Francisco, CA"

time_zone
string

IANA timezone identifier for the event

Example:

"America/Los_Angeles"

rsvp_enabled
boolean

Whether RSVPs are enabled (default: true)

Example:

true

rsvp_closed
boolean

Whether RSVPs are closed (default: false)

restricted_event
boolean

Whether event is restricted to specific members (default: false)

post_in_feed
boolean

Whether event appears in the activity feed (default: true)

Example:

true

frequency
string

Recurrence frequency: 'daily', 'weekly', 'monthly', or 'yearly'

Example:

"weekly"

interval
integer<uint64>

Recurrence interval (e.g., 1 for every week, 2 for every 2 weeks)

Example:

1

by_days
string

Comma-separated list of recurrence day abbreviations (SU/MO/TU/WE/TH/FR/SA)

Example:

"MO,WE,FR"

by_month_days
string

Comma-separated list of Nth day-of-the-month for recurrence

Example:

"1,15"

recurrence_count
integer<uint64>

How many times the event should recur

recur_until
string<date-time>

End date for recurrence

Example:

"2026-07-09T23:52:15+00:00"

Response

Returns the updated event

Events are scheduled gatherings that members can RSVP to

id
integer<uint64>
required

The record's integer ID

Example:

"1234"

created_at
string<date-time>
required

The date and time the record was created

Example:

"2026-07-09T23:52:13+00:00"

updated_at
string<date-time>
required

The date and time the record was last modified

Example:

"2026-07-09T23:52:13+00:00"

post_type
string
required

The type of post - always 'event' for this endpoint

Example:

"event"

creator
object
required

The user who created the event

Full URL to view the event

Example:

"https://example.mn.co/posts/123"

title
string
required

The event title

Example:

"Monthly Community Meetup"

event_type
string
required

Type of event: 'online_meeting', 'local_meetup', 'zoom_meeting', 'zoom_webinar', etc.

Example:

"online_meeting"

images
string[]

Array of image URLs for the event

description
string

The event description

recurrence_rule
string

RRULE format string for recurring events

rsvp_enabled
boolean

Whether RSVPs are enabled for this event

rsvp_closed
boolean

Whether RSVPs are closed

restricted_event
boolean

Whether this event is restricted to specific members

post_in_feed
boolean

Whether this event appears in the activity feed

starts_at
string<date-time>

The date and time the event starts (ISO8601 format in event's timezone)

Example:

"2026-07-09T23:52:15+00:00"

ends_at
string<date-time>

The date and time the event ends (ISO8601 format in event's timezone)

Example:

"2026-07-09T23:52:15+00:00"

time_zone
string

IANA timezone identifier for the event

location
string

Physical location of the event

External event link URL

frequency
string

Recurrence frequency: 'daily', 'weekly', 'monthly', or 'yearly'

interval
integer<uint64>

Recurrence interval (e.g., 1 for every week, 2 for every 2 weeks)