Skip to main content
GET
/
integrations
/
logs
Retrieve all integration exception logs
curl --request GET \
  --url https://panel.sendcloud.sc/api/v3/integrations/logs \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": [
    {
      "id": 123,
      "base_url": "https://example.com",
      "full_url": "https://example.com/order-note.json",
      "method": "POST",
      "response_code": 495,
      "response": {
        "headers": {
          "Cache-Control": "max-age=3600",
          "Content-Type": "text/html; charset=utf-8",
          "Connection": "keep-alive"
        },
        "body": "<!doctype html>\n<html>\n <head>\n <title>SSL Certificate Error</title>\n </head>\n </html>\n"
      },
      "request": {
        "headers": {
          "Cache-Control": "max-age=3600",
          "Content-Type": "text/html; charset=utf-8",
          "Connection": "keep-alive"
        },
        "payload": {
          "order_note": {
            "note": "Success"
          }
        }
      },
      "created_at": "2023-03-01T02:02:00+01:00",
      "exception_type": "requests.exceptions.SSLError",
      "exception": "An SSL error occurred",
      "protected": false,
      "additional_data": ""
    }
  ]
}
Integration exception logs might be generated, for example:
  • if some resource cannot be found
  • if API credentials are no longer valid
Each log record may contain information about the request and response, the status code and code exception, and can be used as a reference to identify issues between Sendcloud and a webshop. Pagination is cursor-based. Use the cursor query parameter to navigate through pages. The Link response header contains the URL for the next page when more results are available.

Authorizations

Authorization
string
header
required

Basic Authentication using API key and secrets is currently the main authentication mechanism.

Query Parameters

cursor
string<date-time>

Cursor for pagination. Use the value from the Link response header to fetch the next page.

page_size
integer
default:25

Number of results per page.

Required range: 1 <= x <= 100

Response

200 - application/json

OK

data
Integration Log Object · object[]