POST
/
events
curl --request POST \
  --url https://api.smokeball.com/events \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "matterId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
  "subject": "Subject",
  "description": "Description",
  "location": "Location",
  "allDay": false,
  "nonBillable": false,
  "eventType": 0,
  "organizer": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
  "attendees": [
    "<string>"
  ],
  "externalAttendees": [
    "<string>"
  ],
  "startTime": "2000-01-01T20:00:00",
  "endTime": "2000-01-01T20:00:00",
  "timeZone": "Australia/Sydney",
  "additionalData": {}
}'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Body

Response

202
application/json

When request is accepted. Returns a hypermedia 'Link' object of the event to be created.

The response is of type object.