View Source Intercom.Events (intercom_elixir v3.0.0)

Provides functionality for managing events.

See https://developers.intercom.com/intercom-api-reference/reference#event-model

Link to this section Summary

Link to this section Functions

Link to this function

submit(contact_id, event_name)

View Source

Submits one event.

Arguments:

  • contact_id: The id generated by intercom for the contact.
  • event_name: Arbitrary event name.
  • created_at: DateTime at which the event occured. (Optional).

Returns {:ok, data, metadata} or {:error, error_code, metadata}.

Link to this function

submit(contact_id, event_name, created_at)

View Source