Skip to main content
POST
/
api
/
eventbrite
/
events
/eventbrite/events
curl --request POST \
  --url https://api.anysite.io/api/eventbrite/events \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "event": "<string>",
  "timeout": 300,
  "domain": "eventbrite.com"
}
'
import requests

url = "https://api.anysite.io/api/eventbrite/events"

payload = {
"event": "<string>",
"timeout": 300,
"domain": "eventbrite.com"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}

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

print(response.text)
const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({event: '<string>', timeout: 300, domain: 'eventbrite.com'})
};

fetch('https://api.anysite.io/api/eventbrite/events', 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.anysite.io/api/eventbrite/events",
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([
'event' => '<string>',
'timeout' => 300,
'domain' => 'eventbrite.com'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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://api.anysite.io/api/eventbrite/events"

payload := strings.NewReader("{\n \"event\": \"<string>\",\n \"timeout\": 300,\n \"domain\": \"eventbrite.com\"\n}")

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

req.Header.Add("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.post("https://api.anysite.io/api/eventbrite/events")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"<string>\",\n \"timeout\": 300,\n \"domain\": \"eventbrite.com\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.anysite.io/api/eventbrite/events")

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

request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"<string>\",\n \"timeout\": 300,\n \"domain\": \"eventbrite.com\"\n}"

response = http.request(request)
puts response.read_body
[
  {
    "id": "<string>",
    "name": "<string>",
    "url": "<string>",
    "@type": "EventbriteEvent",
    "summary": "<string>",
    "alias": "<string>",
    "start_at": 123,
    "end_at": 123,
    "start_local": "<string>",
    "end_local": "<string>",
    "timezone": "<string>",
    "is_online": true,
    "is_free": true,
    "currency": "<string>",
    "status": "<string>",
    "sales_status": "<string>",
    "category": "<string>",
    "subcategory": "<string>",
    "format": "<string>",
    "image": "<string>",
    "images": [],
    "video_url": "<string>",
    "organizer": {
      "@type": "EventbriteEventOrganizer",
      "id": "<string>",
      "name": "<string>",
      "url": "<string>",
      "image": "<string>",
      "is_verified": true,
      "badge_type": "<string>",
      "is_super_organizer": true,
      "event_count": 123,
      "hosting_years": 123,
      "total_attendees": 123
    },
    "organization_id": "<string>",
    "venue": {
      "@type": "EventbriteVenue",
      "id": "<string>",
      "name": "<string>",
      "address": "<string>",
      "city": "<string>",
      "region": "<string>",
      "country": "<string>",
      "postal_code": "<string>",
      "latitude": 123,
      "longitude": 123
    },
    "price": {
      "@type": "EventbritePrice",
      "min_price": 123,
      "max_price": 123,
      "currency": "<string>",
      "is_free": true
    },
    "age_restriction": "<string>",
    "door_time": "<string>",
    "location_type": "<string>",
    "duration_minutes": 123,
    "refund_policy": "<string>",
    "is_refund_allowed": true,
    "faqs": [],
    "artists": [],
    "headliners": [],
    "supporters": [],
    "presenter": "<string>",
    "created_at": 123
  }
]
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
event
string
required
Minimum string length: 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
domain
enum<string>
default:eventbrite.com
Available options:
eventbrite.com,
eventbrite.com.ar,
eventbrite.com.au,
eventbrite.at,
eventbrite.be,
eventbrite.com.br,
eventbrite.ca,
eventbrite.cl,
eventbrite.co,
eventbrite.dk,
eventbrite.fi,
eventbrite.fr,
eventbrite.de,
eventbrite.hk,
eventbrite.ie,
eventbrite.it,
eventbrite.com.mx,
eventbrite.nl,
eventbrite.co.nz,
eventbrite.com.pe,
eventbrite.pt,
eventbrite.sg,
eventbrite.es,
eventbrite.se,
eventbrite.ch,
eventbrite.co.uk

Response

Successful Response

id
string
required
name
string
required
url
string
required
@type
string
default:EventbriteEvent
summary
string | null
alias
string | null
start_at
integer | null
end_at
integer | null
start_local
string | null
end_local
string | null
timezone
string | null
is_online
boolean | null
is_free
boolean | null
currency
string | null
status
string | null
sales_status
string | null
category
string | null
subcategory
string | null
format
string | null
image
string | null
images
string[]
video_url
string | null
organizer
object | null
organization_id
string | null
venue
object | null
price
object | null
age_restriction
string | null
door_time
string | null
location_type
string | null
duration_minutes
integer | null
refund_policy
string | null
is_refund_allowed
boolean | null
faqs
object[]
artists
object[]
headliners
string[]
supporters
string[]
presenter
string | null
created_at
integer | null