Signup

Submit a demo booking from a Clarm agent conversation

Submits the fields a Clarm agent collected during a booking conversation. The edge validates that a fields object with a well-formed email and a numeric agentId are present before forwarding the booking to the Clarm booking service.

post/api/demo-booking

Request body

agentIdinteger required

Numeric identifier of the agent that collected the booking.

prospectstring

Slug identifying the prospect or demo the booking came from.

timestampstring date-time

When the booking was collected. Defaults to receipt time.

Example request

{
  "agentId": 142,
  "prospect": "example-gmbh",
  "fields": {
    "email": "operator@example.com"
  }
}

Response

The booking was accepted.

successboolean

True when the booking was accepted.

messagestring

Human-readable result.

Changes

No recorded changes to this endpoint across all 1 revision of this API.