v1

latestOpenAPI 3.0.02026-07-26173440.3 KB
Send Event

Custom Event

Records a custom event with a dynamic title/name

post/events/custom

Request body

titlestring required

Name/title of the custom event

Example request

{
  "common": {
    "identification": {
      "userIdentification": {
        "email": "example@wunderkind.co",
        "emailSha256": "b207c7ffcd083b51d3554a4190a083a0bc3df51d04c46906b517585f772c68f7",
        "phone": "+18885551212",
        "phoneSha256": "4b678bd4c8a72e7f740ce58900a1a07f7b13fab8627b0aabb31e39abbe429988",
        "partnerId": "partner123"
      },
      "deviceIdentification": {
        "ipAddress": "192.168.0.1",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
      },
      "profile": {
        "firstName": "John",
        "lastName": "Doe",
        "address": "123 Main St",
        "city": "New York",
        "state": "NY",
        "zip": "10001",
        "country": "US"
      },
      "location": {
        "timezoneOffset": -5,
        "latitude": 40.7128,
        "longitude": -74.006
      }
    },
    "agent": "partner:mparticle",
    "extra": {
      "color": "red",
      "size": "large"
    }
  },
  "title": "samsevent"
}

Response

A successful response.

successboolean

Success

messagestring

Message