Get all webhooks

Description

Summary: Retrieves a paginated list of all webhook subscriptions via the TextPeak API.
Details: This endpoint returns a collection of webhooks configured for your account, with support for pagination and filtering. You can paginate results using the page and itemsPerPage query parameters. Additionally, you can narrow down results by filtering on webhook trigger type, HTTP method, webhook ID, name, URL, or creation date range. Authentication is performed via a TextPeak API key passed in the Authorization header.

Authentication & Scopes

Authentication is handled via a TextPeak API key provided in the Authorization header. No OAuth scopes are defined; access is granted or denied based on the validity of the API key.

MethodDetails
API KeyPass your TextPeak API key directly in the Authorization header value.

Headers

HeaderRequiredDescription
AuthorizationYesYour TextPeak API key that authenticates the request.
acceptYesMust be set to application/json. Indicates that the client expects a JSON response.

Parameters

This endpoint supports the following query parameters for pagination and filtering.

ParameterTypeRequiredDefaultDescription
pageintegerNo1The page number for pagination.
itemsPerPageintegerNo30The number of items returned per page.
webhookTrigger[]stringNoFilter by webhook trigger type (e.g., INCOMING_MESSAGE, MESSAGE_DELIVERY). Can be specified multiple times to filter by multiple triggers.
method[]stringNoFilter by the HTTP method configured on the webhook (e.g., GET, POST). Can be specified multiple times.
id[]integerNoFilter by webhook ID(s). Can be specified multiple times to retrieve specific webhooks.
namestringNoFilter by webhook name.
urlstringNoFilter by webhook destination URL.
createdAt[before]stringNoFilter webhooks created before this date.
createdAt[after]stringNoFilter webhooks created after this date.

Request Body

This endpoint does not require a request body.

Examples

No saved examples are currently available for this endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
string
string
string
string
string
string
string
string
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json