Skip to content
AchaduDevelopers
Operational APIGo to website
Dashboard
Developers/API/offer_preview
Offers

Preview post

Assemble the final message without sending it to any channel.

POST/offers/{id}/previewoffers:read

Request

idstring · pathResource identifier.mandatory
segment_idstring · bodySegment used in the preview.optional

Example

curl
curl -X POST 'https://achadu.com/api/v1/offers/resource_id/preview' \
+  -H 'Authorization: Bearer ach_live_...' \
+  -H 'Accept: application/json' \
+  -H 'Content-Type: application/json' \
+  --data '{
  "segment_id": "string"
}'

Answer

200Operation completed
4xxError with code, message and request_id