curl --request POST \
--url https://api.spacebring.com/events/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"event": {
"endDate": "2023-11-07T05:31:56Z",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDate": "2023-11-07T05:31:56Z",
"title": "<string>",
"applicationType": "purchase",
"limitedAttendees": {
"enabled": true,
"limit": 1
},
"price": {
"credits": {
"enabled": true,
"amount": 1
},
"money": {
"enabled": true,
"amount": 1
}
},
"refundThreshold": "noRefund",
"showAttendees": true,
"venue": "<string>",
"visibilityType": "public"
}
}
'{
"event": {
"applicationType": "purchase",
"createDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"endDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"imageUrl": "<string>",
"limitedAttendees": {
"enabled": true,
"limit": 123
},
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price": {
"credits": {
"amount": 123,
"enabled": true
},
"money": {
"amount": 123,
"enabled": true
}
},
"refundThreshold": "noRefund",
"showAttendees": true,
"startDate": "2023-11-07T05:31:56Z",
"title": "<string>",
"venue": "<string>",
"visibilityType": "public"
}
}Create an event.
eventscurl --request POST \
--url https://api.spacebring.com/events/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"event": {
"endDate": "2023-11-07T05:31:56Z",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDate": "2023-11-07T05:31:56Z",
"title": "<string>",
"applicationType": "purchase",
"limitedAttendees": {
"enabled": true,
"limit": 1
},
"price": {
"credits": {
"enabled": true,
"amount": 1
},
"money": {
"enabled": true,
"amount": 1
}
},
"refundThreshold": "noRefund",
"showAttendees": true,
"venue": "<string>",
"visibilityType": "public"
}
}
'{
"event": {
"applicationType": "purchase",
"createDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"endDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"imageUrl": "<string>",
"limitedAttendees": {
"enabled": true,
"limit": 123
},
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price": {
"credits": {
"amount": 123,
"enabled": true
},
"money": {
"amount": 123,
"enabled": true
}
},
"refundThreshold": "noRefund",
"showAttendees": true,
"startDate": "2023-11-07T05:31:56Z",
"title": "<string>",
"venue": "<string>",
"visibilityType": "public"
}
}See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
1purchase, none noRefund, fifteenMinutes, thirtyMinutes, oneHour, twoHours, fourHours, sixHours, twelveHours, oneDay, twoDays, oneWeek, twoWeeks, fourWeeks public, admins, networkMembers, members Created
Show child attributes
purchase, none The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
noRefund, fifteenMinutes, thirtyMinutes, oneHour, twoHours, fourHours, sixHours, twelveHours, oneDay, twoDays, oneWeek, twoWeeks, fourWeeks The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
public, admins, networkMembers, members