Skip to main content
GET
/
event_subscriptions
/
{subscription_id}
/
sources
/
{type}
Get
curl --request GET \
  --url https://api.ngrok.com/event_subscriptions/{subscription_id}/sources/{type} \
  --header 'Authorization: Bearer <token>' \
  --header 'ngrok-version: <ngrok-version>'
{
  "type": "<string>",
  "uri": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

ngrok-version
integer
default:2
required

Path Parameters

subscription_id
string
required

The unique identifier for the Event Subscription that this Event Source is attached to.

type
string
required

Type of event for which an event subscription will trigger

Response

200 - application/json

Get the details for a given type that triggers for the given event subscription

type
string

Type of event for which an event subscription will trigger

uri
string

URI of the Event Source API resource.