curl --request GET \
--url https://api.ngrok.com/event_destinations \
--header 'Authorization: Bearer <token>' \
--header 'ngrok-version: <ngrok-version>'{
"event_destinations": [
{
"id": "<string>",
"metadata": "<string>",
"created_at": "<string>",
"description": "<string>",
"format": "<string>",
"target": {
"firehose": {
"auth": {
"role": {
"role_arn": "<string>"
},
"creds": {
"aws_access_key_id": "<string>",
"aws_secret_access_key": "<string>"
}
},
"delivery_stream_arn": "<string>"
},
"kinesis": {
"auth": {
"role": {
"role_arn": "<string>"
},
"creds": {
"aws_access_key_id": "<string>",
"aws_secret_access_key": "<string>"
}
},
"stream_arn": "<string>"
},
"cloudwatch_logs": {
"auth": {
"role": {
"role_arn": "<string>"
},
"creds": {
"aws_access_key_id": "<string>",
"aws_secret_access_key": "<string>"
}
},
"log_group_arn": "<string>"
},
"datadog": {
"api_key": "<string>",
"ddtags": "<string>",
"service": "<string>",
"ddsite": "<string>"
},
"azure_logs_ingestion": {
"tenant_id": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"logs_ingestion_uri": "<string>",
"data_collection_rule_id": "<string>",
"data_collection_stream_name": "<string>"
}
},
"uri": "<string>"
}
],
"uri": "<string>",
"next_page_uri": "<string>"
}List all Event Destinations on this account.
curl --request GET \
--url https://api.ngrok.com/event_destinations \
--header 'Authorization: Bearer <token>' \
--header 'ngrok-version: <ngrok-version>'{
"event_destinations": [
{
"id": "<string>",
"metadata": "<string>",
"created_at": "<string>",
"description": "<string>",
"format": "<string>",
"target": {
"firehose": {
"auth": {
"role": {
"role_arn": "<string>"
},
"creds": {
"aws_access_key_id": "<string>",
"aws_secret_access_key": "<string>"
}
},
"delivery_stream_arn": "<string>"
},
"kinesis": {
"auth": {
"role": {
"role_arn": "<string>"
},
"creds": {
"aws_access_key_id": "<string>",
"aws_secret_access_key": "<string>"
}
},
"stream_arn": "<string>"
},
"cloudwatch_logs": {
"auth": {
"role": {
"role_arn": "<string>"
},
"creds": {
"aws_access_key_id": "<string>",
"aws_secret_access_key": "<string>"
}
},
"log_group_arn": "<string>"
},
"datadog": {
"api_key": "<string>",
"ddtags": "<string>",
"service": "<string>",
"ddsite": "<string>"
},
"azure_logs_ingestion": {
"tenant_id": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"logs_ingestion_uri": "<string>",
"data_collection_rule_id": "<string>",
"data_collection_stream_name": "<string>"
}
},
"uri": "<string>"
}
],
"uri": "<string>",
"next_page_uri": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List all Event Destinations on this account.
The list of all Event Destinations on this account.
Show child attributes
Unique identifier for this Event Destination.
Arbitrary user-defined machine-readable data of this Event Destination. Optional, max 4096 bytes.
Timestamp when the Event Destination was created, RFC 3339 format.
Human-readable description of the Event Destination. Optional, max 255 bytes.
The output format you would like to serialize events into when sending to their target. Currently the only accepted value is JSON.
An object that encapsulates where and how to send your events. An event destination must contain exactly one of the following objects, leaving the rest null: kinesis, firehose, cloudwatch_logs, or s3.
Show child attributes
Configuration used to send events to Amazon Kinesis Data Firehose.
Show child attributes
Configuration for how to authenticate into your AWS account. Exactly one of role or creds should be configured.
Show child attributes
A role for ngrok to assume on your behalf to deposit events into your AWS account.
Show child attributes
An ARN that specifies the role that ngrok should use to deliver to the configured target.
Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.
An Amazon Resource Name specifying the Firehose delivery stream to deposit events into.
Configuration used to send events to Amazon Kinesis.
Show child attributes
Configuration for how to authenticate into your AWS account. Exactly one of role or creds should be configured.
Show child attributes
A role for ngrok to assume on your behalf to deposit events into your AWS account.
Show child attributes
An ARN that specifies the role that ngrok should use to deliver to the configured target.
Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.
An Amazon Resource Name specifying the Kinesis stream to deposit events into.
Configuration used to send events to Amazon CloudWatch Logs.
Show child attributes
Configuration for how to authenticate into your AWS account. Exactly one of role or creds should be configured.
Show child attributes
A role for ngrok to assume on your behalf to deposit events into your AWS account.
Show child attributes
An ARN that specifies the role that ngrok should use to deliver to the configured target.
Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.
An Amazon Resource Name specifying the CloudWatch Logs group to deposit events into.
Configuration used to send events to Datadog.
Show child attributes
Datadog API key to use.
Tags to send with the event.
Service name to send with the event.
Datadog site to send event to.
n/a
Show child attributes
Tenant ID for the Azure account
Client ID for the application client
Client Secret for the application client
Data collection endpoint logs ingestion URI
Data collection rule immutable ID
Data collection stream name to use as destination, located inside the DCR
URI of the Event Destination API resource.
URI of the Event Destinations list API resource.
URI of the next page, or null if there is no next page.
Was this page helpful?