curl --request GET \
--url https://api.linkupapi.com/v1/webhooks/accounts \
--header 'x-api-key: <x-api-key>'{
"accounts": [
{
"id": "60f7b3b3e4b0c8a2d8e9f1a2",
"platform": "linkedin",
"account_name": "My LinkedIn Account",
"login_token": "AQEDARCvKg...",
"country": "FR",
"webhook_url": "https://your-webhook.com/linkedin",
"is_active": true,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
},
{
"id": "507f1f77bcf86cd799439011",
"platform": "whatsapp",
"account_name": "My WhatsApp",
"phone_number": "+33612345678",
"webhook_url": "https://your-webhook.com/whatsapp",
"is_active": true,
"is_authenticated": true,
"needs_qr": false,
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z"
}
],
"total": 2
}
Retrieve all registered webhook accounts
curl --request GET \
--url https://api.linkupapi.com/v1/webhooks/accounts \
--header 'x-api-key: <x-api-key>'{
"accounts": [
{
"id": "60f7b3b3e4b0c8a2d8e9f1a2",
"platform": "linkedin",
"account_name": "My LinkedIn Account",
"login_token": "AQEDARCvKg...",
"country": "FR",
"webhook_url": "https://your-webhook.com/linkedin",
"is_active": true,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
},
{
"id": "507f1f77bcf86cd799439011",
"platform": "whatsapp",
"account_name": "My WhatsApp",
"phone_number": "+33612345678",
"webhook_url": "https://your-webhook.com/whatsapp",
"is_active": true,
"is_authenticated": true,
"needs_qr": false,
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z"
}
],
"total": 2
}
Show Account Object
{
"accounts": [
{
"id": "60f7b3b3e4b0c8a2d8e9f1a2",
"platform": "linkedin",
"account_name": "My LinkedIn Account",
"login_token": "AQEDARCvKg...",
"country": "FR",
"webhook_url": "https://your-webhook.com/linkedin",
"is_active": true,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
},
{
"id": "507f1f77bcf86cd799439011",
"platform": "whatsapp",
"account_name": "My WhatsApp",
"phone_number": "+33612345678",
"webhook_url": "https://your-webhook.com/whatsapp",
"is_active": true,
"is_authenticated": true,
"needs_qr": false,
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z"
}
],
"total": 2
}
is_active field to identify which accounts are currently being monitoredWas this page helpful?