Deliver a coaching message
/api/partner/v1/feedback/{id}/deliveriesSend the issue’s message by email to the verified recipient already associated with it. Omit contact addresses. Existing sending or reconcile deliveries block another send. A sent delivery blocks another send for the same issue for 24 hours. For an uncertain result, poll deliveries and the request receipt. Available to the partner owner and authorized team members within their signed, directly credited operating companies.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
idpath · required · stringThe feedback issue ID from GET /feedback or the create response.
Idempotency-Keyheader · required · string · max length 128Choose a unique key for this intended action. Retry the same method, path, query and body with the original key. Replays return an operation receipt.
Request body
application/json
channelemail
Example
{
"channel": "email"
}Responses
200 · Existing delivery or replay receipt. An identical replay receives a receipt. Check its http_status and result, then retrieve the resource. A processing or reconcile receipt returns 202.
Response headers include X-Request-Id.
application/json
Format 1
idstring · requiredcompany_idstring · requiredfeedback_idstring or null · requiredkindcoaching | payee_setup · requiredstatussending | sent | reconcile | failed · requiredcreated_atstring · date-time · requiredupdated_atstring · date-time · required
Format 2
request_idstring · requiredstatecomplete | processing | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
Example
{
"id": "delivery_demo",
"company_id": "org_demo",
"feedback_id": "fb_demo",
"kind": "coaching",
"status": "sent",
"created_at": "2031-04-09T18:07:00Z",
"updated_at": "2031-04-09T18:07:01Z"
}201 · Message submitted.
Response headers include X-Request-Id.
application/json
idstring · requiredcompany_idstring · requiredfeedback_idstring or null · requiredkindcoaching | payee_setup · requiredstatussending | sent | reconcile | failed · requiredcreated_atstring · date-time · requiredupdated_atstring · date-time · required
Example
{
"id": "delivery_demo",
"company_id": "org_demo",
"feedback_id": "fb_demo",
"kind": "coaching",
"status": "sent",
"created_at": "2031-04-09T18:07:00Z",
"updated_at": "2031-04-09T18:07:01Z"
}202 · Submission is uncertain and needs reconciliation. An identical replay receives a receipt. Check its http_status and result, then retrieve the resource. A processing or reconcile receipt returns 202.
Response headers include X-Request-Id.
application/json
Format 1
idstring · requiredcompany_idstring · requiredfeedback_idstring or null · requiredkindcoaching | payee_setup · requiredstatussending | sent | reconcile | failed · requiredcreated_atstring · date-time · requiredupdated_atstring · date-time · required
Format 2
request_idstring · requiredstatecomplete | processing | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
Example
{
"id": "delivery_demo",
"company_id": "org_demo",
"feedback_id": "fb_demo",
"kind": "coaching",
"status": "reconcile",
"created_at": "2031-04-09T18:07:00Z",
"updated_at": "2031-04-09T18:07:01Z"
}400 · Invalid input. On writes, check the JSON object and Idempotency-Key.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "invalid_input"
}401 · Use a valid access token for this resource and the partner.lifecycle scope.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "unauthorized"
}403 · This partner grant cannot access the workspace.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "no_access"
}404 · The requested resource, company or month could not be found within the caller’s scope.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "not_found"
}409 · No verified recipient is available, a recent or unresolved delivery exists, or the key belongs to a different request.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "delivery_pending_or_recent"
}413 · The request body exceeds the permitted size.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "request_too_large"
}422 · The requested message cannot be sent.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "message_not_allowed"
}429 · The grant has reached its request limit.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "too_many_requests"
}503 · Email is temporarily unavailable or the operation requires reconciliation.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "mail_unavailable"
}