v1

latestOpenAPI 3.0.02026-07-2475182625.5 KB
Events

Update an event

Marks an event with the given event_id as either processed or unprocessed.

post/events/{event_id}

Path parameters

event_idstring required

The unique identifier for the event.

Request body

processedboolean required

Indicates whether the event has been processed.

Example request

{
  "processed": true
}

Response

OK

idstring

Identifier for the event in data array.

processedboolean

Indicates if this event has been processed.

createdinteger

Creation timestamp of the event.

typestring

Type of event.

liveboolean

Indicates if the event occurred in a live environment.

Example response

{
  "id": "ABCDEFGHIJK1LMNOPQR2STUV3WXYZAB",
  "processed": true,
  "created": 1729545999690,
  "type": "account.updated",
  "live": true,
  "data": {
    "id": "abcDEFgHiJklM1N-3OP9qRST",
    "account": "abcDEFgHiJklM1N-3OP9qRST",
    "contact": {
      "first": "First",
      "last": "Last",
      "email": "first.last@domain.com",
      "company": "Company Name",
      "phone": "555-555-5555",
      "subscribed": true
    },
    "address": {
      "addressLine1": "123 Main Street",
      "addressLine2": "Apt. 456",
      "city": "Santa Barbara",
      "country": "US",
      "region": "US-CA",
      "company": "Company Name"
    },
    "language": "en",
    "country": "US",
    "lookup": {
      "global": "ab-Cd9e8F6ghiJ-Okl3M3n"
    },
    "url": "https://user.test.onfastspring.com/account"
  }
}