Webhooks
FreshGEELark pushes operation results to developers via webhooks. Set your callback URL to receive real-time notifications.
Set Webhook URL
URL: https://openapi.geelark.com/open/v1/callback/setMethod: POST
| Parameter | Required | Type | Description |
|---|---|---|---|
| url | Yes | string | Callback interface URL |
json
{ "url": "http://example.geelark.com/phone/callback/test" }Get Webhook URL
URL: https://openapi.geelark.com/open/v1/callback/getMethod: POST
No request parameters required.
json
{
"code": 0,
"data": {
"url": "http://example.geelark.com/phone/callback/test"
}
}Authentication
Webhook callbacks use the same authentication as the GEELark API. Your callback endpoint must:
- Accept POST requests
- Handle request header authentication (Token or Key verification)
- Set Content-Type to
application/json
Error Codes
| Code | Description |
|---|---|
| 51001 | Callback URL not set |