Update a sponsor
curl --request PUT \
--url https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"custom_fields": {}
}
'import requests
url = "https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}"
payload = {
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"custom_fields": {}
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({updated_at: '2023-11-07T05:31:56Z', name: '<string>', custom_fields: {}})
};
fetch('https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}', 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://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'updated_at' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'custom_fields' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$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://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}"
payload := strings.NewReader("{\n \"updated_at\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"custom_fields\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-access-token", "<api-key>")
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.put("https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"updated_at\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"custom_fields\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"updated_at\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"custom_fields\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"friendly_id": "<string>",
"friendly_id_raw": 123,
"name": "<string>",
"description": "<string>",
"logo_image_url": "<string>",
"banner_image_url": "<string>",
"phone": "<string>",
"address_line_1": "<string>",
"address_line_2": "<string>",
"address_city": "<string>",
"address_state": "<string>",
"address_postal_code": "<string>",
"address_coutnry": "<string>",
"facebook_url": "<string>",
"instagram_url": "<string>",
"linkedin_url": "<string>",
"snapchat_username": "<string>",
"tiktok_username": "<string>",
"twitter_url": "<string>",
"website_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"custom_fields": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>",
"type": "<string>",
"internal_name": "<string>",
"created_at": "<string>"
}
],
"translated_fields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"parent_field_id": "<string>",
"parent_field_source": "<string>",
"parent_field_name": "<string>",
"parent_field_internal_name": "<string>",
"translated_language": "<string>",
"value": "<string>"
}
],
"contacts": [
{
"id": "<string>",
"friendly_id": "<string>",
"friendly_id_raw": 123,
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"photo_url": "<string>",
"company_name": "<string>",
"title": "<string>",
"about": "<string>",
"is_primary": true,
"contact_created_at": "<string>",
"contact_updated_at": "<string>",
"relationship_created_at": "<string>",
"relationship_updated_at": "<string>"
}
],
"admin_url": "<string>"
}Event — Sponsors
Update a sponsor
Update an existing sponsor. Requires the write:sponsors scope. Optionally send updated_at for optimistic concurrency control.
PUT
/
v1
/
event
/
{eventId}
/
sponsors
/
{sponsorId}
Update a sponsor
curl --request PUT \
--url https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"custom_fields": {}
}
'import requests
url = "https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}"
payload = {
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"custom_fields": {}
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({updated_at: '2023-11-07T05:31:56Z', name: '<string>', custom_fields: {}})
};
fetch('https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}', 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://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'updated_at' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'custom_fields' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$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://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}"
payload := strings.NewReader("{\n \"updated_at\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"custom_fields\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-access-token", "<api-key>")
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.put("https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"updated_at\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"custom_fields\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.sessionboard.com/v1/event/{eventId}/sponsors/{sponsorId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"updated_at\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"custom_fields\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"friendly_id": "<string>",
"friendly_id_raw": 123,
"name": "<string>",
"description": "<string>",
"logo_image_url": "<string>",
"banner_image_url": "<string>",
"phone": "<string>",
"address_line_1": "<string>",
"address_line_2": "<string>",
"address_city": "<string>",
"address_state": "<string>",
"address_postal_code": "<string>",
"address_coutnry": "<string>",
"facebook_url": "<string>",
"instagram_url": "<string>",
"linkedin_url": "<string>",
"snapchat_username": "<string>",
"tiktok_username": "<string>",
"twitter_url": "<string>",
"website_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"custom_fields": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>",
"type": "<string>",
"internal_name": "<string>",
"created_at": "<string>"
}
],
"translated_fields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"parent_field_id": "<string>",
"parent_field_source": "<string>",
"parent_field_name": "<string>",
"parent_field_internal_name": "<string>",
"translated_language": "<string>",
"value": "<string>"
}
],
"contacts": [
{
"id": "<string>",
"friendly_id": "<string>",
"friendly_id_raw": 123,
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"photo_url": "<string>",
"company_name": "<string>",
"title": "<string>",
"about": "<string>",
"is_primary": true,
"contact_created_at": "<string>",
"contact_updated_at": "<string>",
"relationship_created_at": "<string>",
"relationship_updated_at": "<string>"
}
],
"admin_url": "<string>"
}Authorizations
ApiKeyBearerToken
Organization API token. Generate from Organization Settings → API Tokens.
Body
application/json
Response
Sponsor updated
A sponsor associated with an event.
Country (note: field name contains a known typo preserved for backwards compatibility).
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Deep link to this entity in the Sessionboard admin UI.
⌘I

