limit (integer, 1-100) - Number of results to return (default: 10)status (string) - Filter by status: active or inactiveteam (string) - gigstack Connect: Target team ID{
"success": true,
"message": "Webhooks retrieved successfully",
"data": [
{
"id": "wh_dyS2ZVTj",
"url": "https://webhook.site/7cd05529-40fe-4c98-88e5-761de9c5feb1",
"events": [
"payment.created",
"payment.succeeded",
"invoice.created"
],
"status": "active",
"description": "Production payment notifications",
"owner": "8UWdgXELUhf022vuoq249mtGytG2",
"created_at": 1709090576567
}
],
"timestamp": 1709090576567
}{
"success": true,
"message": "Webhook retrieved successfully",
"data": {
"id": "wh_dyS2ZVTj",
"url": "https://webhook.site/7cd05529-40fe-4c98-88e5-761de9c5feb1",
"events": [
"payment.created",
"payment.succeeded",
"invoice.created"
],
"status": "active",
"description": "Production payment notifications",
"owner": "8UWdgXELUhf022vuoq249mtGytG2",
"created_at": 1709090576567
},
"timestamp": 1709090576567
}{
"url": "https://your-domain.com/webhooks/gigstack",
"events": [
"payment.created",
"payment.succeeded",
"invoice.created"
],
"description": "Production webhook for payment events",
"status": "active"
}url (string) - HTTPS endpoint URL to receive webhook eventsevents (array) - List of event types to subscribe to (see Available Events below)description (string) - Human-readable description of the webhookstatus (string) - active or inactive (default: active){
"success": true,
"message": "Webhook created successfully",
"data": {
"id": "wh_dyS2ZVTj",
"url": "https://your-domain.com/webhooks/gigstack",
"events": ["payment.created", "payment.succeeded"],
"status": "active",
"description": "Payment notifications webhook",
"owner": "8UWdgXELUhf022vuoq249mtGytG2",
"created_at": 1709090576567
}
}{
"url": "https://new-domain.com/webhooks/gigstack",
"events": ["payment.created", "payment.succeeded", "invoice.created"],
"description": "Updated webhook description",
"status": "inactive"
}{
"success": true,
"message": "Webhook deleted successfully"
}payment.created - New payment request createdpayment.updated - Payment information updatedpayment.succeeded - Payment successfully processedpayment.canceled - Payment canceledpayment.deleted - Payment deletedpayment.upcoming_due_date - Payment due date approachinginvoice.created - New invoice createdinvoice.canceled - Invoice canceled with SATinvoice.failed - Invoice stamping failedreceipt.created - New receipt generatedreceipt.updated - Receipt information updatedreceipt.completed - Receipt stamped successfullyreceipt.deleted - Receipt deletedcustomer.created - New customer/client createdcustomer.updated - Customer information updatedcustomer.deleted - Customer deletedservice.created - New service added to catalogservice.updated - Service information updatedservice.deleted - Service removed from catalog| Field | Type | Description |
|---|---|---|
id | string | Unique webhook identifier (prefix: wh_) |
url | string | HTTPS endpoint URL |
events | array | List of subscribed event types |
status | string | active or inactive |
description | string | Optional description |
owner | string | User ID who created the webhook |
created_at | integer | Unix timestamp (milliseconds) of creation |
{
"id": "evt_1234567890",
"type": "payment.succeeded",
"created": 1709090576567,
"livemode": true,
"data": {
"object": {
"id": "payment_1234567890",
"amount": 1000.00,
"status": "succeeded",
...
}
}
}id (string) - Unique event identifiertype (string) - Event type (matches subscribed events)created (integer) - Unix timestamp of event occurrencelivemode (boolean) - true for production, false for test modedata.object (object) - The full resource object that triggered the event{
"url": "https://your-domain.com/webhooks/gigstack"
}status: "inactive" to test configuration before enabling/webhooks/v1/gigstack) for easier updates{
"message": "Invalid webhook data",
"error": "URL must be a valid HTTPS endpoint"
}{
"message": "Invalid webhook data",
"error": "Invalid event type: 'invalid.event'"
}{
"message": "Webhook not found",
"error": "The specified webhook does not exist"
}{
"message": "Invalid webhook data",
"error": "Missing required field: events"
}