Ask or search…

Response Headers & Status Codes

How can I access response headers and status codes from Connectors, APIs and REST Helper
You can access response headers from any Connector and the REST Helper by simply adding headers using JSONPath-notation, followed by the header name you want to access:
{{ zendesk.headers.status-code }}
To access the status code, you can either access it from the headers (as shown above) or, for example, if the API does not return the status code in the headers, access it with:
{{ zendesk.status_code }}