Templates
GET
https://shippified.net /api/templates List built-in webhook + email templates.
Code samples
cURL
curl -X GET "https://shippified.net/api/templates"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
GET
https://shippified.net /api/templates/custom List your custom templates, newest first (the order they're tried in).
Code samples
cURL
curl -X GET "https://shippified.net/api/templates/custom"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 { items: CustomTemplate[] }
POST
https://shippified.net /api/templates/custom Create a custom template.
Code samples
cURL
curl -X POST "https://shippified.net/api/templates/custom"TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Created template.
DELETE
https://shippified.net /api/templates/custom/{id} Delete custom template.
Parameters
idstring
path
required
Code samples
cURL
curl -X DELETE "https://shippified.net/api/templates/custom/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Deleted.
PATCH
https://shippified.net /api/templates/custom/{id} Update a custom template. Partial: fields you omit keep their current values; `source` can't change.
Parameters
idstring
path
required
Code samples
cURL
curl -X PATCH "https://shippified.net/api/templates/custom/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Updated template.
400 A rule or mapping regex doesn't compile.
POST
https://shippified.net /api/templates/custom/preview Preview how a template extracts from a sample payload (same engine as live intake).
Code samples
cURL
curl -X POST "https://shippified.net/api/templates/custom/preview"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Extracted values per mapping.
POST
https://shippified.net /api/templates/custom/match-preview Evaluate detection rules against a sample; pass/fail per rule.
Code samples
cURL
curl -X POST "https://shippified.net/api/templates/custom/match-preview"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 { allPassed, results[] }
POST
https://shippified.net /api/templates/custom/detect Full production parse of a sample, optionally with a draft template: which template wins and the order it would create.
Code samples
cURL
curl -X POST "https://shippified.net/api/templates/custom/detect"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 { shape, ignored, order }
Updated