Update an invite
curl --request PATCH \
--url https://api.mn.co/admin/v1/networks/{network_id}/invites/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"recipient_email": "claude@example.com",
"recipient_first_name": "Claude",
"recipient_last_name": "Monet",
"user_id": 123
}
'import requests
url = "https://api.mn.co/admin/v1/networks/{network_id}/invites/{id}/"
payload = {
"recipient_email": "claude@example.com",
"recipient_first_name": "Claude",
"recipient_last_name": "Monet",
"user_id": 123
}
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({
recipient_email: 'claude@example.com',
recipient_first_name: 'Claude',
recipient_last_name: 'Monet',
user_id: 123
})
};
fetch('https://api.mn.co/admin/v1/networks/{network_id}/invites/{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}/invites/{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([
'recipient_email' => 'claude@example.com',
'recipient_first_name' => 'Claude',
'recipient_last_name' => 'Monet',
'user_id' => 123
]),
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}/invites/{id}/"
payload := strings.NewReader("{\n \"recipient_email\": \"claude@example.com\",\n \"recipient_first_name\": \"Claude\",\n \"recipient_last_name\": \"Monet\",\n \"user_id\": 123\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}/invites/{id}/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"recipient_email\": \"claude@example.com\",\n \"recipient_first_name\": \"Claude\",\n \"recipient_last_name\": \"Monet\",\n \"user_id\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mn.co/admin/v1/networks/{network_id}/invites/{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 \"recipient_email\": \"claude@example.com\",\n \"recipient_first_name\": \"Claude\",\n \"recipient_last_name\": \"Monet\",\n \"user_id\": 123\n}"
response = http.request(request)
puts response.read_body{
"recipient_email": "claude@example.com",
"recipient_first_name": "Claude",
"recipient_last_name": "Monet",
"id": "1234",
"created_at": "2026-12-01T15:37:03Z",
"updated_at": "2026-12-01T15:37:03Z",
"sender_id": 123,
"user_id": 123
}{
"error": "<string>",
"reason": "<string>",
"credits_url": "<string>"
}Invites
Update an invite
PATCH
/
admin
/
v1
/
networks
/
{network_id}
/
invites
/
{id}
/
Update an invite
curl --request PATCH \
--url https://api.mn.co/admin/v1/networks/{network_id}/invites/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"recipient_email": "claude@example.com",
"recipient_first_name": "Claude",
"recipient_last_name": "Monet",
"user_id": 123
}
'import requests
url = "https://api.mn.co/admin/v1/networks/{network_id}/invites/{id}/"
payload = {
"recipient_email": "claude@example.com",
"recipient_first_name": "Claude",
"recipient_last_name": "Monet",
"user_id": 123
}
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({
recipient_email: 'claude@example.com',
recipient_first_name: 'Claude',
recipient_last_name: 'Monet',
user_id: 123
})
};
fetch('https://api.mn.co/admin/v1/networks/{network_id}/invites/{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}/invites/{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([
'recipient_email' => 'claude@example.com',
'recipient_first_name' => 'Claude',
'recipient_last_name' => 'Monet',
'user_id' => 123
]),
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}/invites/{id}/"
payload := strings.NewReader("{\n \"recipient_email\": \"claude@example.com\",\n \"recipient_first_name\": \"Claude\",\n \"recipient_last_name\": \"Monet\",\n \"user_id\": 123\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}/invites/{id}/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"recipient_email\": \"claude@example.com\",\n \"recipient_first_name\": \"Claude\",\n \"recipient_last_name\": \"Monet\",\n \"user_id\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mn.co/admin/v1/networks/{network_id}/invites/{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 \"recipient_email\": \"claude@example.com\",\n \"recipient_first_name\": \"Claude\",\n \"recipient_last_name\": \"Monet\",\n \"user_id\": 123\n}"
response = http.request(request)
puts response.read_body{
"recipient_email": "claude@example.com",
"recipient_first_name": "Claude",
"recipient_last_name": "Monet",
"id": "1234",
"created_at": "2026-12-01T15:37:03Z",
"updated_at": "2026-12-01T15:37:03Z",
"sender_id": 123,
"user_id": 123
}{
"error": "<string>",
"reason": "<string>",
"credits_url": "<string>"
}Authorizations
Path Parameters
Body
application/json
Submit results as JSON
Invites allow users and admins to invite new users to the Network
Response
Updates an invite and returns its new state
Invites allow users and admins to invite new users to the Network