Skip to main content
POST
Record the agent's response time on a lead

Authorizations

Authorization
string
header
required

The access_token returned by POST /oauth2/token, sent as Authorization: Bearer <access_token>. It is an opaque string, not a JWT.

Path Parameters

id
string<uuid>
required

Lead id returned by POST /public/leads. A merged id works too.

Body

application/json
seconds
integer
required

How long the assigned agent took to respond, in whole seconds from the customer's first contact. Capped at 30 days.

Required range: 0 <= x <= 2592000
Example:

47

Response

Recorded

leadId
string<uuid>
required
agentResponseSeconds
integer
required
agentRespondedAt
string<date-time>
required

Set by Provident at the moment of the call, not by you. Distinguishes a genuine response time from a backfill.