Skip to main content
GET
/
event-subscriptions
/
connections
/
authorization
/
callback
OAuth2 callback
curl --request GET \
  --url https://panel.sendcloud.sc/api/v3/event-subscriptions/connections/authorization/callback
{
  "errors": [
    {
      "status": "<string>",
      "code": "unknown_field",
      "detail": "<string>",
      "id": "<string>",
      "links": {
        "about": "<string>"
      },
      "title": "<string>",
      "source": {
        "pointer": "<string>",
        "parameter": "<string>",
        "header": "<string>"
      },
      "meta": {}
    }
  ]
}
This endpoint is called by the OAuth provider (e.g., Klaviyo) after the user has authorized access. It is not intended to be called directly by API consumers. The OAuth provider redirects to this URL with an authorization code and state parameter, which Sendcloud uses to complete the connection setup.
You do not need to call this endpoint directly. It is invoked automatically as part of the OAuth2 authorization flow started by the Start OAuth2 authorization endpoint.

Query Parameters

code
string
required

The authorization code provided by the OAuth provider.

state
string
required

The state parameter used to validate the authorization request.

Response

OK