Events
Create Event
Creates a new event
AuthorizationBasic <token>
Authorization header with value of Basic <auth string> where the auth string value
is a base64 encoded string of <client id>:<client secret>
In: header
event_namestring
Name of the event
event_start_datestring
Start date of the event
Format
dateevent_end_datestring
End date of the event
Format
dateevent_streetstring
Street address of the event
event_citystring
City of the event
event_statestring
State of the event
event_postal_codestring
Postal code of the event
event_countrystring
Country of the event
metadata?
attributes?
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.verticalinsure.com/v1/events" \ -H "Content-Type: application/json" \ -d '{ "event_name": "string", "event_start_date": "2019-08-24", "event_end_date": "2019-08-24", "event_street": "string", "event_city": "string", "event_state": "string", "event_postal_code": "string", "event_country": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"event_name": "string",
"event_start_date": "2019-08-24",
"event_end_date": "2019-08-24",
"event_street": "string",
"event_city": "string",
"event_state": "string",
"event_postal_code": "string",
"event_country": "string",
"metadata": {},
"insurance_required": true,
"insurance_requirements_type": "STANDARD",
"additional_insured": [
{
"business_name": "string",
"street": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country": "string"
}
],
"attributes": {
"room_block_protection": {
"rate": 0.1,
"enabled": true,
"event_type": "INDOOR"
}
}
}{
"error": "string",
"error_code": "string",
"message": "string",
"reason": "string",
"status": 0
}{
"error": "string",
"error_code": "string",
"message": "string",
"reason": "string",
"status": 0
}{
"error": "string",
"error_code": "string",
"message": "string",
"reason": "string",
"status": 0
}