Resend the company code
/api/partner/v1/companies/{company_id}/code-deliveriesSends the verified enrollment code to the company contact already on file. The system sends the initial code automatically. Send an empty request body. An in-progress or very recent delivery prevents a duplicate send. Read GET /code-deliveries to check the result.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
company_idpath · required · string · max length 160The partner_company_id from registration, or the operating_company_id of a signed, credited company.
Idempotency-Keyheader · required · stringOne key per intended change within this OAuth connection. Reuse only with the original method, path, query and JSON body.
Responses
200 · Operation receipt on retry. Inspect http_status and fetch the current resource.
Response headers include X-Request-Id.
application/json
request_idstring · requiredstateprocessing | complete | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
201 · Email accepted by the sender.
Response headers include X-Request-Id.
application/json
idstring · max length 160 · requiredstatussent · requiredemailstring · email, max length 254 · required
sent
{
"id": "delivery_demo_01",
"status": "sent",
"email": "site-lead@example.invalid"
}202 · The attempted send failed. Inspect the delivery record before another request. A replay may return the saved request receipt.
Response headers include X-Request-Id.
application/json
Format 1
idstring · max length 160 · requiredstatusfailed · requiredemailstring · email, max length 254 · required
Format 2
request_idstring · requiredstateprocessing | complete | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
failed
{
"id": "delivery_demo_01",
"status": "failed",
"email": "site-lead@example.invalid"
}400 · Invalid input. Correct the request and use a new key for changed input.
application/json
errorstring · requireddetailstringrequest_idstring
401 · Missing, expired, revoked or wrong-resource access token.
application/json
errorstring · requireddetailstringrequest_idstring
403 · The signed account or role lacks access to this operation.
application/json
errorstring · requireddetailstringrequest_idstring
404 · The resource is unknown or outside this account.
application/json
errorstring · requireddetailstringrequest_idstring
409 · An active code, an eligible recipient or a completed prior send is required.
application/json
errorstring · required
refused
{
"error": "Code delivery is in progress."
}429 · Rate limit reached. Back off and retry.
application/json
errorstring · requireddetailstringrequest_idstring
503 · Service or provider unavailable. Check the operation receipt before retrying a write.
application/json
errorstring · requireddetailstringrequest_idstring
