Skip to content

Create an Event

Request

Create a new event. It can be added to a content list later

Security
X-API-KEY or Authorization
Body*/*required

Event object that needs to be created

statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

curl -i -X POST \
  https://uberall.com/api/events \
  -H 'Content-Type: */*' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "status": "SUCCESS",
    "message": "string",
    "warnings": [
      "string"
    ],
    "response": {
      "event": {
        "title": "string",
        "description": "string",
        "identifier": "string",
        "listName": "string",
        "timeStart": "2019-08-24T14:15:22Z",
        "timeEnd": "2019-08-24T14:15:22Z",
        "video": {
          "id": 0,
          "url": "string",
          "description": "string",
          "type": "YOUTUBE"
        },
        "url": "string"
      }
    }
  }'

Responses

Event successfully created

Bodyapplication/json
titlestringrequired

The title of the event

descriptionstring

The description of the event: e.g. "Watch a lot of awesome movies."

identifierstring

Unique Identifier for the Event

listNamestring

Name of the Event

timeStartstring, (date-time)required

The date the event starts

timeEndstring, (date-time)required

The date the event ends

videoobject

A video to promote the event

urlstring

The url of the page with more details about the event

Response
{ "title": "string", "description": "string", "identifier": "string", "listName": "string", "timeStart": "2019-08-24T14:15:22Z", "timeEnd": "2019-08-24T14:15:22Z", "video": { "id": 0, "url": "string", "description": "string", "type": "YOUTUBE" }, "url": "string" }