API response
Configure any API-response you need
Last updated
Was this helpful?
Configure any API-response you need
Last updated
Was this helpful?
If a third-party service requires specific response to its API-calls, you can easily do it using the API-response step. You can edit response for:
POST requests via ;
.
Return code. 200 – by default;
Content-type: JSON, XML or text.
Example. an external service would send an API-request to Directual via Webhook, and would expect a response in XML format <xml><yes /></xml>
.
You should enter to "Return body" field the following:
Remember, that step works only for scenarios running in
Return body. Actual response. Can contain data from object fields via . You can compose JSON, XML or simple text here;