Skip to main content
GET
https://apis.hopnow.io
/
v1
/
customers
/
{customer_id}
/
webhook-endpoints
/
{endpoint_id}
Get Webhook Endpoint
curl --request GET \
  --url https://apis.hopnow.io/v1/customers/{customer_id}/webhook-endpoints/{endpoint_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "url": "<string>",
  "events": [
    {}
  ],
  "is_active": true,
  "description": "<string>",
  "created": "<string>",
  "last_used_at": "<string>"
}

Path Parameters

customer_id
string
required
The customer’s external ID (starts with cus_)
endpoint_id
string
required
The webhook endpoint’s external ID (starts with whep_)

Response

id
string
Webhook endpoint identifier (starts with whep_)
object
string
Always returns "webhook_endpoint"
url
string
The webhook URL
events
array
Array of subscribed event types
is_active
boolean
Whether the endpoint is active
description
string
The webhook description
created
string
ISO 8601 timestamp when created
last_used_at
string
When the endpoint was last used

Response Example

{
  "id": "whep_1234567890abcdef",
  "object": "webhook_endpoint",
  "url": "https://api.mycompany.com/webhooks/hopnow",
  "events": ["payin.completed", "payout.completed", "account.created"],
  "is_active": true,
  "description": "Production webhook for payment notifications",
  "created": "2024-01-01T00:00:00Z",
  "last_used_at": "2024-01-15T12:30:00Z"
}