GET /webhook/subscription/list
Request Headers
Header | Description |
|---|---|
| X-Auth-Account-Url (required) | The base URL of the account, e.g. https://myaccount.ispringlearn.com |
| X-Auth-Email (required) | The login of Account Owner and Account Administrator. |
| X-Auth-Password (required) | The password of Account Owner and Account Administrator. |
| Parameter | Description |
| subscriberName (required) | The name of an existing subscriber. |
Sample Request
curl --location 'https://api-learn.ispringlearn.com/webhook/subscription/list?subscriberName=subscriberName' \ --header 'X-Auth-Account-Url: https://myaccount.ispringlearn.com' \ --header 'X-Auth-Email: email@email.com' \ --header 'X-Auth-Password: password' \ --header 'Accept: application/json'
In response to the request, all event subscriptions of a particular subscriber are received.
Response Codes
Code | Text | Description |
|---|---|---|
200 | ОК | The response to the request has been received. |
400 | Bad Request | A request error. |
401 | Unauthorized | An authorization error. |
403 | Permission Denied | The user doesn't have enough permissions. |
404 | Subscriber not found | The subscriber was not found. |
Response Request
[
{
"subscriptionType": "TRAINING_MEETING_UPDATED",
"params": [
{
"name": "<string>",
"value": "<string>"
},
{
"name": "<string>",
"value": "<string>"
}
]
},
{
"subscriptionType": "TRAINING_SESSION_PARTICIPANTS_ADDED",
"params": [
{
"name": "<string>",
"value": "<string>"
},
{
"name": "<string>",
"value": "<string>"
}
]
}
]