Skip to main content
POST
Undo one of the AI's changes on a contact

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

change_id
string
required

The change's id, from list_ai_changes; it must be undoable

Pattern: ^[1-9][0-9]{0,18}$
contact_id
string
required

The contact's Statisfy id

Required string length: 1 - 255

Body

application/json
reason
string | null

Why. Left out, the reason recorded is that you undid the AI's change

Maximum string length: 5000

Response

200 - application/json

Successful Response

changed
boolean
required

Whether the value moved; false when you saved the value it already had

field_key
string
required
locked_until
string<date-time> | null

When the AI may update the field again; null when it is not held