Available in Classic and VPC
Get the default callback endpoint that was registered to receive event notifications for all channels.
Note
Registered callback endpoints by channel can be queried from Get channel list or Get channel information.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v2/events/callbackEndpoint |
Request headers
For information about the headers common to all Live Station APIs, see Live Station request headers.
Request example
The request example is as follows:
curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/events/callbackEndpoint' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'x-ncp-region_code: KR' \
--header 'Content-Type: application/json'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
content |
Object | - | Callback endpoint information |
content.callbackUrl |
String | - | Callback endpoint URL |
Response status codes
For information about the HTTP status codes common to all Live Station APIs, see Live Station response status codes.
Response example
The response example is as follows:
{
"content": {
"callbackUrl": "https://www.example.com"
}
}