Webhooks

Documentation for webhooks endpoints and events.

Full documentation for this section is being expanded. Check back soon.
curl -X GET "https://api.globexsky.com/v2/webhooks" \
  -H "Authorization: Bearer gsk_live_YOUR_API_KEY" \
  -H "Accept: application/json"
<?php
$client = new \GuzzleHttp\Client(['base_uri' => 'https://api.globexsky.com/v2/']);
$response = $client->get('webhooks', [
    'headers' => ['Authorization' => 'Bearer gsk_live_YOUR_API_KEY']
]);
$data = json_decode($response->getBody(), true);
import requests
headers = {"Authorization": "Bearer gsk_live_YOUR_API_KEY"}
r = requests.get("https://api.globexsky.com/v2/webhooks", headers=headers)
data = r.json()
const res = await fetch('https://api.globexsky.com/v2/webhooks', {
  headers: { 'Authorization': 'Bearer gsk_live_YOUR_API_KEY' }
});
const data = await res.json();
Response Format
{"data": [...], "total": 120, "page": 1, "pages": 5}
Common HTTP Status Codes
200Success
400Bad Request — check parameters
401Unauthorized — invalid or missing API key
429Rate Limit Exceeded
500Internal Server Error