API ReferenceWebhooks
Danh sách webhook
GET
ApiKeyAuthheader
Authorization<token>Authorization: ApiKey <key>. Key sandbox bắt đầu bằng gc_test_, production bằng gc_live_.
Key chỉ hiện một lần lúc tạo. Không dùng key trong app di động hay trình duyệt.
OK
application/json- response
success*booleandata*array<>curl -X GET 'https://api-stag.gocheap.vn/open-api/v1/webhooks'Example Response
{ "success": true, "data": [ { "id": "string", "title": "string", "url": "http://example.com", "events": [ "booking.created" ], "headers": [ { "key": "string", "value": "string" } ], "is_active": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}