POST/api/v2/brand-packs
Headers
Authorizationstring requiredBearer pj_live_… Raw keys are shown only when created. The
x-api-keyheader is an alternative transport.
Body parameters
Registers a template uploaded to the signed URL from POST /brand-packs/uploads. Multipart bodies are limited to 4 MiB; larger templates use this form.
Send multipart/form-data or application/json.
upload_pathstring requirednamestring optionaldescriptionstring optional
Multipart fields
filestring (binary) requirednamestring optionaldescriptionstring optional
Response
201 Created Immutable first version created.
brandPackIdstring (uuid) requiredbrandPackVersionIdstring (uuid) requiredtokensobject required
Errors
| Status | When |
|---|---|
400 | Invalid request. |
401 | Missing, invalid, unentitled, or no-longer-accepted API key. |
413 | The request exceeds its published byte boundary. |
429 | Finite rate limit or durable hosted quota refused the request. |
500 | Compatibility service failure. |
curl -X POST \
-H "Authorization: Bearer pj_live_YOUR_KEY" \
-F "file=@template.pptx" \
https://runstamp.com/api/v2/brand-packsResponse 201 Created
{
"brandPackId": "8f4fa0a3-f907-41f5-babe-5762f974cb83",
"brandPackVersionId": "8f4fa0a3-f907-41f5-babe-5762f974cb83",
"tokens": {}
}