Create a sponsor
curl --request POST \
--url https://api.zuddl.com/v1/events/{eventId}/sponsors \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
'import requests
url = "https://api.zuddl.com/v1/events/{eventId}/sponsors"
payload = {
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp',
tagline: 'Ship faster, break less',
contactEmail: 'sponsorship@acme.com',
description: '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
socialLinks: {
linkedInProfile: 'https://www.linkedin.com/company/acme',
twitterProfile: 'https://twitter.com/acme',
facebookProfile: 'https://www.facebook.com/acme',
websiteUrl: 'https://acme.com'
}
})
};
fetch('https://api.zuddl.com/v1/events/{eventId}/sponsors', 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.zuddl.com/v1/events/{eventId}/sponsors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Acme Corp',
'tagline' => 'Ship faster, break less',
'contactEmail' => 'sponsorship@acme.com',
'description' => '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
'socialLinks' => [
'linkedInProfile' => 'https://www.linkedin.com/company/acme',
'twitterProfile' => 'https://twitter.com/acme',
'facebookProfile' => 'https://www.facebook.com/acme',
'websiteUrl' => 'https://acme.com'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.zuddl.com/v1/events/{eventId}/sponsors"
payload := strings.NewReader("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.post("https://api.zuddl.com/v1/events/{eventId}/sponsors")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zuddl.com/v1/events/{eventId}/sponsors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}"
response = http.request(request)
puts response.read_body{
"kind": "<string>",
"url": "<string>",
"id": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c3d",
"name": "Acme Corp",
"title": "Acme's sponsorship",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of...</p>",
"websiteUrl": "https://acme.com",
"logoUrl": "https://example.com/sponsors/acme_logo.png",
"email": "sponsorship@acme.com",
"coverImageUrl": "https://example.com/sponsors/acme_cover.png",
"tier": {
"tierId": "tier-gold",
"tierName": "Gold"
},
"booth": {
"boothId": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c4f",
"boothName": "Acme Booth"
},
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}Sponsors
Create a sponsor
Adds a sponsor to the event. Images are not part of this call — create the sponsor first, then upload its logo or cover image through /v1/events//sponsors//image.
Required API key scopes: WRITE
This API can only be called with an access key that was generated for Backend usage.
POST
/
v1
/
events
/
{eventId}
/
sponsors
Create a sponsor
curl --request POST \
--url https://api.zuddl.com/v1/events/{eventId}/sponsors \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
'import requests
url = "https://api.zuddl.com/v1/events/{eventId}/sponsors"
payload = {
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp',
tagline: 'Ship faster, break less',
contactEmail: 'sponsorship@acme.com',
description: '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
socialLinks: {
linkedInProfile: 'https://www.linkedin.com/company/acme',
twitterProfile: 'https://twitter.com/acme',
facebookProfile: 'https://www.facebook.com/acme',
websiteUrl: 'https://acme.com'
}
})
};
fetch('https://api.zuddl.com/v1/events/{eventId}/sponsors', 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.zuddl.com/v1/events/{eventId}/sponsors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Acme Corp',
'tagline' => 'Ship faster, break less',
'contactEmail' => 'sponsorship@acme.com',
'description' => '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
'socialLinks' => [
'linkedInProfile' => 'https://www.linkedin.com/company/acme',
'twitterProfile' => 'https://twitter.com/acme',
'facebookProfile' => 'https://www.facebook.com/acme',
'websiteUrl' => 'https://acme.com'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.zuddl.com/v1/events/{eventId}/sponsors"
payload := strings.NewReader("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.post("https://api.zuddl.com/v1/events/{eventId}/sponsors")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zuddl.com/v1/events/{eventId}/sponsors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}"
response = http.request(request)
puts response.read_body{
"kind": "<string>",
"url": "<string>",
"id": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c3d",
"name": "Acme Corp",
"title": "Acme's sponsorship",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of...</p>",
"websiteUrl": "https://acme.com",
"logoUrl": "https://example.com/sponsors/acme_logo.png",
"email": "sponsorship@acme.com",
"coverImageUrl": "https://example.com/sponsors/acme_cover.png",
"tier": {
"tierId": "tier-gold",
"tierName": "Gold"
},
"booth": {
"boothId": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c4f",
"boothName": "Acme Booth"
},
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}Authorizations
Path Parameters
Body
application/json
Details of the sponsor to create
Response
Sponsor created
Was this page helpful?
⌘I