API documentation
Integrations
Analytics
Billable events
Companies
Coupons > Promotion codes
Custom properties
Customers
Customers > Credits
Customers > Payment methods
Integrations
Invoices
Invoices > Transactions
Invoicing entities
Organisations
Payments
Price configurations
Products
Quotes
Subscriptions
- GETGet subscriptions
- GETGet subscription
- GETGet subscription phases
- GETGet subscription phase
- POSTCreate subscription update
- POSTCreate subscription updates
- POSTCreate subscription
- PUTUpdate subscription
- POSTActivate subscription
- POSTCancel subscription
- POSTPause subscription
- POSTReactivate subscription
- POSTRefresh seat products
- POSTRefresh subscriptions
- POSTReinstate subscription
- POSTTransition subscription to next phase
Third-party apps
Wallets
Webhooks
Update webhook endpoint
Update an existing webhook endpoint.
PUT
/
v1
/
webhooks
/
endpoints
/
{id}
curl --request PUT \
--url https://api.hyperline.co/v1/webhooks/endpoints/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "Production webhook endpoint",
"url": "https://example.com/webhook",
"rate_limit": 123,
"event_types": [
"customer.created",
"customer.updated"
]
}'
{
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"description": "Production webhook endpoint",
"url": "https://example.com/webhook",
"rate_limit": 123,
"event_types": [
"customer.created",
"customer.updated"
],
"created_at": "2024-01-20T16:04:11Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200 - application/json
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.hyperline.co/v1/webhooks/endpoints/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "Production webhook endpoint",
"url": "https://example.com/webhook",
"rate_limit": 123,
"event_types": [
"customer.created",
"customer.updated"
]
}'
{
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"description": "Production webhook endpoint",
"url": "https://example.com/webhook",
"rate_limit": 123,
"event_types": [
"customer.created",
"customer.updated"
],
"created_at": "2024-01-20T16:04:11Z"
}
Assistant
Responses are generated using AI and may contain mistakes.