Postvak IN
Reactie voorbereiden
Registreert een uitvoerantwoord voor levering door de kanaalconnector.
POST
/inbox/conversations/{id}/replyinbox:writeVerzoek
idstring · pathResource-ID.verplichtcontentstring · bodyReactie inhoud.verplichttypestring · bodyBerichttype.optioneelmedia_urlstring · bodyOptionele media.optioneeloffer_idstring · bodyContextueel aanbod.optioneeluse_duboolean · bodyMarkeer DU als auteur.optioneelVoorbeeld
curl
curl -X POST 'https://achadu.com/api/v1/inbox/conversations/resource_id/reply' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"content": "I found a deal for you.",
"type": "string",
"media_url": "https://cdn.example.com/image.jpg",
"offer_id": "string"
}'Antwoord
200Operatie voltooid4xxFout met code, bericht en request_id