curl --request POST \
--url https://api.spacebring.com/events/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"event": {
"applicationType": "purchase",
"endDate": "2023-11-07T05:31:56Z",
"limitedAttendees": {
"enabled": true,
"limit": 1
},
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price": {
"credits": {
"enabled": true,
"amount": 1
},
"money": {
"enabled": true,
"amount": 1
}
},
"refundThreshold": "noRefund",
"startDate": "2023-11-07T05:31:56Z",
"title": "<string>",
"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",
"startDate": "2023-11-07T05:31:56Z",
"title": "<string>",
"venue": "<string>",
"visibilityType": "public"
}
}
Create an event.
events
curl --request POST \
--url https://api.spacebring.com/events/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"event": {
"applicationType": "purchase",
"endDate": "2023-11-07T05:31:56Z",
"limitedAttendees": {
"enabled": true,
"limit": 1
},
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price": {
"credits": {
"enabled": true,
"amount": 1
},
"money": {
"enabled": true,
"amount": 1
}
},
"refundThreshold": "noRefund",
"startDate": "2023-11-07T05:31:56Z",
"title": "<string>",
"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",
"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
Created
The response is of type object
.