Submitting an event
The request, the fields of payload and the answer.
POST /api/v1/partner/event-series/bulk
X-API-Key: sk_…
Content-Type: application/json{
"events": [
{
"externalId": "prod-2027-001",
"observedAt": "2027-01-10T08:00:00Z",
"payload": {
"kind": "event",
"source": "myfeed",
"owner": null,
"title": "Die Zauberflöte",
"body": "Opera in two acts by Wolfgang Amadeus Mozart.",
"url": "https://www.example-theatre.at/zauberfloete",
"credits": [{ "name": "Anna Example", "role": "Pamina" }],
"dates": [
{
"sourceId": "myfeed:prod-2027-001-1",
"start": "2027-03-01T19:30:00+01:00",
"end": "2027-03-01T22:30:00+01:00",
"tz": "Europe/Vienna",
"venue": { "new": { "name": "Example Theatre", "lat": 47.8027, "lon": 13.0448, "address": "Example Street 1", "city": "Salzburg" } }
},
{
"sourceId": "myfeed:prod-2027-001-2",
"start": "2027-03-02T19:30:00+01:00",
"tz": "Europe/Vienna",
"venue": { "id": "0b6c2f0e-5a7e-4d3b-9a51-2f0c1d7e4a10" }
}
]
}
}
]
}The fields of payload:
| Field | |
|---|---|
kind | Always "event". |
source | A name for your feed. Every dates[].sourceId starts with it and a colon: myfeed:…. |
owner | Send null; your key's organisation is set for you. |
title, body | Title and description as you publish them; body may be "". |
url | The event page, or null. |
credits | Optional, up to 100: { "name", "role" }, one line each. |
image | Optional: { "url", "sourcePage", "creditLine" }, plus thumbnailUrl, altText, rank (hero or additional). |
dates[] | sourceId (your id of this date, unique within the event), start (with offset), end (optional), tz (IANA time zone), venue; optional startTimeUnknown, hasOpeningTime, openingSchedule, isPermanent, cancelled, notice (your remark on the date, up to 1,000 characters), hall, languages, festival ({ "id" } or { "name", "dateStart", "dateEnd" }). |
dates[].venue | { "id": "<venue id>" } for a venue in CIXTRA, or { "new": { "name", "lat", "lon" } } with optional address, subtitle, city, website, osmId (node/123), categoryIds. |
The answer:
{
"data": {
"submitted": 1,
"updated": 0,
"failed": 0,
"candidates": [
{ "index": 0, "externalId": "prod-2027-001", "candidateId": "5d0c1f9e-2b47-4a8e-9f3a-6c1e2d7b8a90", "status": "ready", "unchanged": false, "deferred": false }
],
"errors": []
}
}status is the internal processing state at the moment of the push; read the outcome with GET /submissions. unchanged: true means you sent exactly what we already had. deferred: true means a check of your previous content is running; the new content is checked right after it.