Status API
If you have created an async Make request, the API will return you the following:
statusUrl
requestId
templateId
Using the requestId
and the templateId
you can check on the current status of the created request at anytime with the request status endpoint.
Endpoint
https://api.make.cm/make/t/:template-id/r/:request-id
Headers & Authorization
Param | Type | Notes |
---|---|---|
Content-Type (required) | application/json | The content type should always be JSON |
X-MAKE-API-KEY (required) | string | A Make API Key must be sent with the POST request. A key can be generated from the template dashboard or on the Team Settings page. |
Response Examples
200 - Processing
{"requestId": "f62d4fb5-8b0a-483e-ab71-3f2ae2d543fa","startedAt": 1609306724309,"status": "processing"}
200 - Success
{"requestId": "f62d4fb5-8b0a-483e-ab71-3f2ae2d543fa","finishedAt": 1609306724309,"resultUrl": "https://exports.make.cm/....","logs": [{"message": "Start rendering for request f62d4fb5-8b0a-483e-ab71-3f2ae2d543fa","timestamp": 1609306720725},{"message": "Passing template data to template {\"headline\":\"Headline World\"}","timestamp": 1609306722561},{"message": "DOMContentLoaded in 171ms","timestamp": 1609306722732},{"message": "Page finished in 678ms","timestamp": 1609306723239},{"message": "Uploading result...","timestamp": 1609306723333},{"message": "Result uploaded in 110ms","timestamp": 1609306723443}]}