List processing attempts
/automations/diamond/{diamond_id}/memberships/{membership_id}/processing-attemptsReturns the processing attempts requested for the membership. All attempts are returned in a single response, without pagination.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/automations/diamond/string/memberships/string/processing-attempts"{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "effects": { "communication_sent": true, "stage_confirmed": true }, "error": {}, "event_id": "string", "id": "string", "import_id": "string", "membership_id": "string", "object": "processing_attempt", "operation_id": "string", "requested_by": { "id": "string", "kind": "credential" }, "selection": { "mode": "initial", "rows": 0 }, "status": "queued" } ]}Update a membership stage PATCH
Moves a lead to a later stage of the Diamond. Leads only move forward: a target stage at or before the current stage is rejected with the `state_conflict` error code, including a repeat of a transition that already happened. A successful transition sends the communication for the new stage once. `reason` is required and is included in the `diamond_membership.stage_changed` event. Send the membership's current `ETag` in the `If-Match` header to avoid overwriting a newer version.
Create a processing attempt POST
Requests that the most recent failed communication for the membership be sent again. Failed communications are not retried automatically. The communication is queued for delivery. If the corresponding stage has already been confirmed, the message is not sent again, preventing duplicates.