Skip to content
Build your own business

Deliver a coaching message

POST/api/partner/v1/feedback/{id}/deliveries

Send 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

  • id path · required · string

    The feedback issue ID from GET /feedback or the create response.

  • Idempotency-Key header · required · string · max length 128

    Choose 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

  • channel email

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
  • id string · required
  • company_id string · required
  • feedback_id string or null · required
  • kind coaching | payee_setup · required
  • status sending | sent | reconcile | failed · required
  • created_at string · date-time · required
  • updated_at string · date-time · required
Format 2
  • request_id string · required
  • state complete | processing | reconcile · required
  • http_status integer or null · required
  • result object 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

  • id string · required
  • company_id string · required
  • feedback_id string or null · required
  • kind coaching | payee_setup · required
  • status sending | sent | reconcile | failed · required
  • created_at string · date-time · required
  • updated_at string · 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
  • id string · required
  • company_id string · required
  • feedback_id string or null · required
  • kind coaching | payee_setup · required
  • status sending | sent | reconcile | failed · required
  • created_at string · date-time · required
  • updated_at string · date-time · required
Format 2
  • request_id string · required
  • state complete | processing | reconcile · required
  • http_status integer or null · required
  • result object 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

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "invalid_input"
}
401 · Use a valid access token for this resource and the partner.lifecycle scope.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "unauthorized"
}
403 · This partner grant cannot access the workspace.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "no_access"
}
404 · The requested resource, company or month could not be found within the caller’s scope.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

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

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "delivery_pending_or_recent"
}
413 · The request body exceeds the permitted size.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "request_too_large"
}
422 · The requested message cannot be sent.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "message_not_allowed"
}
429 · The grant has reached its request limit.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "too_many_requests"
}
503 · Email is temporarily unavailable or the operation requires reconciliation.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "mail_unavailable"
}

Download the full OpenAPI specification