POST/api/v2/render
A requested mode of sync is recorded but does not make the response synchronous.
Headers
Authorizationstring requiredBearer pj_live_… Raw keys are shown only when created. The
x-api-keyheader is an alternative transport.Key scope:
execution:submit.Idempotency-Keystring required1-255 visible ASCII characters. Reuse with an identical immutable request returns the original execution with reused=true; reuse with a different request hash returns
409 IDEMPOTENCY_CONFLICT.
Body parameters
formatenum requiredpptxdocxxlsxpdfdocumentany requiredmodeenum optionalsyncasyncholdUntilReleaseboolean optionalHold produced artifacts until exact release authority exists.
requiredVerificationStagesarray of enum optionalvalidpreservedintendedChangeVerifieddeliveryReadymaximumLossSeverityenum optionalnonesubstituteddegradeddroppedapprovalRequiredboolean optional deprecatedCompatibility alias for
holdUntilRelease.preflightPolicyobject optionalsourceSchemaconst "protocol_v2" optionalAccepted only when format is pptx.
brandPackIdstring (uuid) optionalbrandPackVersionIdstring (uuid) optional
Response
202 Accepted Accepted for asynchronous execution.
Headers
Locationstring requiredRelative execution status URL.
Body
execution_idstring (uuid) requiredexecution_urlstring requiredstatusenum requiredqueuedrunningsucceededfailedblockedcancellingcancelledrequest_hashstring (sha256) requiredreusedboolean requiredmode_requestedenum requiredsyncasyncartifact_countinteger optionalbrand_complianceobject optionalbrand_pack_applicationarray of object optional
Errors
| Status | When |
|---|---|
400 | Invalid request. |
401 | Missing, invalid, unentitled, or no-longer-accepted API key. |
403 | The key lacks the required execution scope. |
404 | The organization/environment-scoped resource was not found. |
409 | The same environment-bound idempotency key was previously used for a different immutable request hash. |
413 | The request exceeds its published byte boundary. |
429 | Finite rate limit or durable hosted quota refused the request. |
503 | Launch control is held or execution authority is unavailable. |
curl -X POST \
-H "Authorization: Bearer pj_live_YOUR_KEY" \
-H "Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{"format":"pptx","document":{"version":"2.0","title":"Customer deliverable","slides":[]}}' \
https://runstamp.com/api/v2/renderResponse 202 Accepted
{
"execution_id": "8f4fa0a3-f907-41f5-babe-5762f974cb83",
"execution_url": "/api/v2/executions/8f4fa0a3-f907-41f5-babe-5762f974cb83",
"status": "queued",
"request_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"reused": false,
"mode_requested": "sync"
}