Retrieve integration exceptions logs

GET {{baseUrl}}/integrations/:id/logs

Retrieving integration exception logs

Allows you to retrieve integration exception logs that are created automatically if integrations have problems with API requests to the shop systems. For examples, if some resource cannot be found, or API credentials are not valid anymore. Log record could contain information about request and response, status code and code exception, and be used as a reference to identify issues between Sendcloud and shops APIs. This endpoint could be used to get exception logs of specific integration.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"next":"\u003curi\u003e","previous":"\u003curi\u003e","results":[{"base_url":"\u003cstring\u003e","id":"\u003cinteger\u003e","integration_id":"\u003cinteger,null\u003e","user_id":"\u003cinteger\u003e","full_url":"\u003cstring,null\u003e","method":"\u003cstring\u003e","response_code":"\u003cinteger,null\u003e","response":{"headers":null,"body":{}},"request":{"headers":null,"payload":{}},"created_at":"\u003cdateTime\u003e","exception_type":"\u003cstring,null\u003e","exception":"\u003cstring,null\u003e","protected":"\u003cboolean\u003e"},{"base_url":"\u003cstring\u003e","id":"\u003cinteger\u003e","integration_id":"\u003cinteger,null\u003e","user_id":"\u003cinteger\u003e","full_url":"\u003cstring,null\u003e","method":"\u003cstring\u003e","response_code":"\u003cinteger,null\u003e","response":null,"request":{"headers":"minim consectetur amet","payload":null},"created_at":"\u003cdateTime\u003e","exception_type":"\u003cstring,null\u003e","exception":"\u003cstring,null\u003e","protected":"\u003cboolean\u003e"}]}