Get All Webhook Subscription

Get All Webhook Subscription

This API list all webhook subscription.

Request
URI
GET
https://{api_host}/tcsa.host.com/tcsa/api/webhooks/v1/subscriptions
COPY
Query Parameters
integer
size
Optional

Requested number of resources to be provided in response

integer
from
Optional

Requested index for start of resources to be provided in response


Authentication
This operation uses the following authentication methods.
Responses
200

Ok

Returns Array of SubscriptionModel of type(s) application/json
[
    {
        "id": "ep_2U6LKqlSiXEyCZjZT9LCuuLlxw5",
        "name": "router-wh",
        "app_id": "app_2U68Bt1IxHidF3OT8qeEMM3ETub",
        "disabled": false,
        "start_time": 1692255023421,
        "update_time": 1692255023421,
        "user_name": "oper",
        "type": "NOTIFICATION",
        "description": "webhook to get router events",
        "url": "https://play.svix.com/in/e_y1sI1Dy8IvkYQcgYQy5yoHAtR7E/",
        "headers": null,
        "vsafilter": {
            "filterlist": [
                {
                    "condition": "OR",
                    "propfilter": [
                        {
                            "propname": "ClassName",
                            "matchtype": "EQ",
                            "values": [
                                "Router"
                            ]
                        }
                    ]
                }
            ]
        }
    }
]

Response Headers

integer
X-Total-Count

Total number of subscriptions.

integer
X-Page-Count

Total number of pages available.


401

User authentication failed

Operation doesn't return any data structure

403

Access to the requested resource/operation is forbidden

Operation doesn't return any data structure

404

Cannot find requested resource

Operation doesn't return any data structure

500

Internal server error

Operation doesn't return any data structure