API-ReferenzPartner-Schreib-API
Partner Submissions
GET
What became of everything this API key submitted, oldest change first. Poll with updatedSince set to the latest updatedAt you have seen.
PartnerApiKeyAuthheader
X-API-Key<token>Partner API key (sk_…) with the partner: write permission.
limit?numberRange
1 <= value <= 100Default
50page?numberRange
1 <= valueDefault
1kind?stringValue in
"event""location""showtime"updatedSince?stringOnly submissions whose state changed at or after this instant.
Format
date-timeSuccessful response
application/json- response
data*array<>pagination*curl -X GET 'https://api.cixtra.app/api/v1/partner/submissions'Example Response
{ "data": [ { "externalId": "string", "kind": "event", "candidateId": "10f4deb6-fd4e-4907-a47e-355caf6e449d", "state": "pending", "reason": "string", "record": { "type": "event_series", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "datesInReview": true, "changePending": true, "submittedAt": "2019-08-24T14:15:22Z", "decidedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "pagination": { "limit": 0, "page": 0, "hasMore": true }}GET
The state of your submission under this external id. 404 when this API key never submitted it.
PartnerApiKeyAuthheader
X-API-Key<token>Partner API key (sk_…) with the partner: write permission.
kind*stringValue in
"event""location""showtime"externalId*stringYour own id for this item. Scoped to your API key and the item kind; pushing the same id again updates your submission instead of creating a second one.
Length
1 <= length <= 512Successful response
application/json- response
data*curl -X GET 'https://api.cixtra.app/api/v1/partner/submissions/event/string'Example Response
{ "data": { "externalId": "string", "kind": "event", "candidateId": "10f4deb6-fd4e-4907-a47e-355caf6e449d", "state": "pending", "reason": "string", "record": { "type": "event_series", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "datesInReview": true, "changePending": true, "submittedAt": "2019-08-24T14:15:22Z", "decidedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}