Svix Emporix Shared Account

Retrieving a dashboard access URL

get

Retrieves a Svix magic login link (authentication embedded) and an authentication token needed to connect a tenant to their consumer application portal.

Required scopes

  • webhook.subscription_manage

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

Responses
200Success
application/json
get
GET /webhook/{tenant}/dashboard-access HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "url": "https://app.svix.com/login#key=eyJhcHBJZCI6ICJhcHBfMXRSdFl",
  "token": "appsk_kV3ts5tKPNJN4Dl25cMTfUNdmabxbX0O"
}

Retrieving webhooks statistics

get

Retrieves statistics on the number of emitted events and provides information on the limit of webhook notifications configured for a specific tenant.

Required scopes

  • webhook.subscription_read

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be provided in lowercase.

Query parameters
fromYearMonthstringOptional

Month from which statistics should be retrieved.

Note: The value should be provided in the "YYYY-MM" format.

toYearMonthstringOptional

Month to which statistics should be retrieved.

Note: The value should be provided in the "YYYY-MM" format.

Responses
200
OK
application/json
get
GET /webhook/{tenant}/statistics HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "monthStatistics": [
    {
      "statisticsMonth": "2022-09",
      "succesfullySentWebhooks": 8994
    },
    {
      "statisticsMonth": "2022-08",
      "succesfullySentWebhooks": 2137
    }
  ],
  "webhooksLimit": 10000
}

Was this helpful?