Posteingang
Bereiten Sie die Antwort vor
Registriert eine Ausgabeantwort zur Übermittlung durch den Kanal-Connector.
POST
/inbox/conversations/{id}/replyinbox:writeAnfrage
idstring · pathRessourcenbezeichner.obligatorischcontentstring · bodyAntwortinhalt.obligatorischtypestring · bodyNachrichtentyp.optionalmedia_urlstring · bodyOptionale Medien.optionaloffer_idstring · bodyKontextbezogenes Angebot.optionaluse_duboolean · bodyMarkieren Sie DU als Autor.optionalBeispiel
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"
}'Antwort
200Vorgang abgeschlossen4xxFehler mit Code, Nachricht und request_id