API reference
Every operation of the public API, generated from the OpenAPI document (232 operations, version 1.0.0).
Base URL
https://api.postbuddy.nlAuthentication
Authorization: Bearer pb_live_… or a pb_test_ key. AuthenticationErrorsProblem details with a stable code. Error codes
Lists and limitsPagination and filters, rate limits, the raw openapi.json
Items
POSTCreate an item in a Postflow
/v1/postflows/{id}/itemsPOSTCreate items in a Postflow in one batch/v1/postflows/{id}/items/batchGETList items/v1/itemsGETList the status history of an item/v1/items/{id}/eventsGETList the QR scans of an item/v1/items/{id}/scansGETGet an item/v1/items/{id}PATCHRepair or edit an item/v1/items/{id}POSTCancel an item/v1/items/{id}/cancelGETThe fields of an item/v1/items/{id}/fieldsGETThe path of an item through its journey/v1/items/{id}/flowPOSTRetry the journey step that stopped an item/v1/items/{id}/flow/retryPOSTSkip the webhook step that stopped an item/v1/items/{id}/flow/skipGETProduction PDF of an item/v1/items/{id}/pdfGETPreview images of an item/v1/items/{id}/previewPOSTRepair several items with the same patch/v1/items/bulk-repairGETItems that need you/v1/items/problemsPOSTAnnounce a file of items for a Postflow/v1/postflows/{id}/items/filesPOSTStart a file of items for a Postflow/v1/postflows/{id}/items/files/startGETThe CSV template of a Postflow/v1/postflows/{id}/items/files/templatePOSTDelete failed items/v1/items/delete-failedPostflows
POSTCreate a Postflow
/v1/postflowsGETList Postflows/v1/postflowsGETGet a Postflow/v1/postflows/{id}GETGet the journey of a Postflow/v1/postflows/{id}/flowGETGet a published version of the journey/v1/postflows/{id}/flow/versions/{number}PATCHUpdate a Postflow/v1/postflows/{id}POSTApprove pending items of a Postflow/v1/postflows/{id}/approvalsPOSTArchive a Postflow/v1/postflows/{id}/archiveGETWhat another design would change/v1/postflows/{id}/design-changeGETCards per step of the journey/v1/postflows/{id}/flow/countsPUTReplace the journey draft/v1/postflows/{id}/flow/draftDELETEDiscard the journey draft/v1/postflows/{id}/flow/draftPOSTThe fields of the designs a journey sends/v1/postflows/{id}/flow/fieldsPOSTPublish the journey draft/v1/postflows/{id}/flow/publishPOSTReveal the signing secret of the webhook steps/v1/postflows/{id}/flow/signing-secretPOSTRotate the signing secret of the webhook steps/v1/postflows/{id}/flow/signing-secret/rotateGETResults of a split test/v1/postflows/{id}/flow/splits/{stepId}POSTChoose the winner of a split test/v1/postflows/{id}/flow/splits/{stepId}/winnerDELETEReopen a split test/v1/postflows/{id}/flow/splits/{stepId}/winnerGETFigures of one step of the journey/v1/postflows/{id}/flow/steps/{stepId}GETThe cards of one step of the journey/v1/postflows/{id}/flow/steps/{stepId}/cardsPOSTDrive a sample card through the journey/v1/postflows/{id}/flow/test-drivePOSTValidate a journey/v1/postflows/{id}/flow/validatePOSTRestore a version into the draft/v1/postflows/{id}/flow/versions/{number}/restorePOSTPause a Postflow/v1/postflows/{id}/pausePOSTResume a Postflow/v1/postflows/{id}/resumeGETPostflow statistics/v1/postflows/{id}/statsPostbatches
POSTCreate a Postbatch
/v1/postbatchesGETList Postbatches/v1/postbatchesGETList the items of a Postbatch/v1/postbatches/{id}/itemsGETGet a Postbatch/v1/postbatches/{id}PATCHRename a Postbatch or change its campaign/v1/postbatches/{id}POSTApprove a Postbatch/v1/postbatches/{id}/approvePOSTCancel a Postbatch/v1/postbatches/{id}/cancelGETImport status/v1/postbatches/{id}/importPOSTUpload the CSV of a Postbatch/v1/postbatches/{id}/importPOSTCancel the import/v1/postbatches/{id}/import/cancelGETDownload the error file of the import/v1/postbatches/{id}/import/errorsPUTConfirm the mapping/v1/postbatches/{id}/import/mappingPOSTProcess the import/v1/postbatches/{id}/import/processGETImport progress stream/v1/postbatches/{id}/import/progressGETImport rows that did not become items/v1/postbatches/{id}/import/rowsPOSTKeep a duplicate row/v1/postbatches/{id}/import/rows/{rowId}/keepGETMapping targets and presets of the template/v1/postbatches/{id}/mapping-presetsPOSTProof PDF of a sample item/v1/postbatches/{id}/proofGETQuote of a Postbatch/v1/postbatches/{id}/quotePOSTRequest approval/v1/postbatches/{id}/request-approvalPOSTSkip the items that need attention/v1/postbatches/{id}/skip-attentionTemplates
POSTCreate a template folder
/v1/template-foldersPOSTCreate a template with an empty draft/v1/templatesGETList template folders/v1/template-foldersGETList templates/v1/templatesGETList template versions/v1/templates/{id}/versionsGETGet a template/v1/templates/{id}GETGet the draft document and its revision/v1/templates/{id}/draftGETGet a template version with its document and variable schema/v1/templates/{id}/versions/{number}PATCHRename or move a template folder/v1/template-folders/{id}PATCHRename or move a template/v1/templates/{id}DELETEArchive a template/v1/templates/{id}PUTSave the draft document/v1/templates/{id}/draftPOSTDuplicate a template/v1/templates/{id}/duplicatePOSTMove a template to its product's newest version/v1/templates/{id}/move-versionPOSTPublish the draft as a new version/v1/templates/{id}/publishPUTSave the preview values of the template variables/v1/templates/{id}/sample-valuesPOSTOrder a physical sample of a version/v1/templates/{id}/versions/{number}/samplesDELETEDelete a template folder/v1/template-folders/{id}Mapping presets
POSTCreate a mapping preset
/v1/templates/{id}/mapping-presetsGETList mapping presets of a template/v1/templates/{id}/mapping-presetsPATCHUpdate a mapping preset/v1/templates/{id}/mapping-presets/{pid}POSTSuggest a mapping for CSV headers/v1/templates/{id}/mapping-presets/suggestDELETEDelete a mapping preset/v1/templates/{id}/mapping-presets/{pid}Media
Uploads
POSTCreate an upload session with a presigned PUT URL
/v1/uploadsGETList image assets/v1/assetsGETList organisation fonts/v1/fontsGETGet an image asset with signed URLs/v1/assets/{id}GETGet an organisation font/v1/fonts/{id}GETGet an upload session/v1/uploads/{id}POSTComplete an upload session/v1/uploads/{id}/completeDELETEDelete an image asset/v1/assets/{id}DELETEDelete an organisation font/v1/fonts/{id}Renders
Products
Suppressions
GETList suppression entries
/v1/suppressionsGETGet a suppression entry/v1/suppressions/{id}POSTAdd suppression entries/v1/suppressionsPATCHChange a suppression entry/v1/suppressions/{id}POSTImport suppression entries from a CSV upload/v1/suppressions/importGETThe objection page of the organisation/v1/suppressions/objection-pageDELETERemove a suppression entry/v1/suppressions/{id}Webhooks
POSTCreate a webhook endpoint
/v1/webhooksGETList webhook endpoints/v1/webhooksGETGet an event/v1/events/{id}GETGet a webhook endpoint/v1/webhooks/{id}GETEvent feed/v1/eventsPATCHUpdate a webhook endpoint/v1/webhooks/{id}GETDelivery log of an endpoint/v1/webhooks/{id}/deliveriesPOSTReplay a delivery/v1/webhooks/{id}/deliveries/{deliveryId}/replayPOSTReplay the events missed while disabled/v1/webhooks/{id}/replay-missedPOSTSend a test event/v1/webhooks/{id}/testDELETEDelete a webhook endpoint/v1/webhooks/{id}Integrations
GETList installations
/v1/integrations/installationsGETGet an installation with its activity/v1/integrations/installations/{id}GETIntegration apps/v1/integrations/appsPOSTDisable an installation/v1/integrations/installations/{id}/disablePOSTEnable an installation/v1/integrations/installations/{id}/enablePOSTRun the health check/v1/integrations/installations/{id}/healthDELETERemove an installation/v1/integrations/installations/{id}Exports
Analytics
GETConversion statistics
/v1/analytics/conversionsGETCost statistics/v1/analytics/costsGETStatistics per design and format/v1/analytics/designsGETStatistics of the experiences/v1/analytics/experiencesGETItems of a period as CSV/v1/analytics/items.csvGETCards per stage/v1/analytics/productionGETQR scan statistics/v1/analytics/scansGETCounters and daily series/v1/analytics/summaryBilling
GETList invoices and credit notes
/v1/billing/invoicesGETAn invoice with its lines/v1/billing/invoices/{id}GETA signed download link for the invoice PDF/v1/billing/invoices/{id}/pdfGETLedger entries/v1/billing/ledgerGETLedger lines/v1/billing/ledger/linesGETPayments/v1/billing/paymentsPOSTCancel a pending top-up request/v1/billing/payments/{id}/cancelGETYour prices/v1/billing/pricesGETThe usage statement of a month/v1/billing/statements/{month}GETBilling summary/v1/billing/summaryPOSTRequest a top-up/v1/billing/top-upsPOSTQuote a price/v1/quotesAdvertising categories
Contacts
POSTCreate or update contacts
/v1/contactsGETList contacts/v1/contactsGETGet a contact with its cards/v1/contacts/{id}PATCHChange a contact/v1/contacts/{id}GETA contact's recognition link/v1/contacts/{id}/linkPOSTMake or renew a contact's recognition link/v1/contacts/{id}/linkPOSTRevoke a contact's recognition link/v1/contacts/{id}/link/revokePOSTImport contacts from a CSV upload/v1/contacts/importPOSTMake recognition links for contacts/v1/contacts/linksDELETERemove a contact/v1/contacts/{id}Conversions
Developers
Experiences
POSTCreate an experience for a design
/v1/experiencesGETList experience media/v1/experience-mediaGETList experiences/v1/experiencesGETList the published versions/v1/experiences/{id}/versionsGETGet an experience media file/v1/experience-media/{id}GETGet an experience/v1/experiences/{id}GETGet the tracked part of the design/v1/experiences/{id}/targetGETGet a published version/v1/experiences/{id}/versions/{number}GETThe library's experiences for a design/v1/experience-libraryPATCHRename an experience media file/v1/experience-media/{id}PUTKey the green screen of a video/v1/experience-media/{id}/keyPOSTTry a green screen key on one frame/v1/experience-media/{id}/key-previewGETThe library's videos, sounds and 3D models/v1/experience-media/libraryPATCHRename an experience or set its fallback address/v1/experiences/{id}PUTReplace the draft scene/v1/experiences/{id}/draftPOSTPause an experience/v1/experiences/{id}/pausePOSTPoint the design's QR code at the experience/v1/experiences/{id}/point-qrPOSTPublish the draft scene/v1/experiences/{id}/publishPOSTResume a paused experience/v1/experiences/{id}/resumeGETStatistics of an experience/v1/experiences/{id}/statisticsPOSTCheck how the design draft would track/v1/experiences/{id}/target/checkDELETEDelete an experience media file/v1/experience-media/{id}DELETERemove the key of a video/v1/experience-media/{id}/keyDELETEDelete an experience/v1/experiences/{id}House style
Ingestions
Meta
Organisation
Organisations
Pixel
POSTCreate a pixel rule
/v1/pixel/rulesGETList pixel events/v1/pixel/eventsGETList the pixel rules/v1/pixel/rulesGETGet the pixel settings/v1/pixelPATCHChange the pixel settings/v1/pixelGETThe events to choose from/v1/pixel/cataloguePOSTCheck a page for the pixel/v1/pixel/checkPOSTMake or rotate the identity secret/v1/pixel/identity-secretPOSTRotate a pixel key/v1/pixel/keys/{mode}/rotateGETThe pixel live view/v1/pixel/liveGETReady code per shop platform/v1/pixel/platform-codePATCHChange a pixel rule/v1/pixel/rules/{id}DELETERemove a pixel rule/v1/pixel/rules/{id}