Skip to main content
GET
/
v1
/
webhooks
/
accounts
List Webhook Accounts
curl --request GET \
  --url https://api.linkupapi.com/v1/webhooks/accounts \
  --header 'x-api-key: <x-api-key>'
{
  "accounts": [
    {
      "id": "60f7b3b3e4b0c8a2d8e9f1a2",
      "plateforme": "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",
      "plateforme": "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
}
Get a list of all LinkedIn and WhatsApp accounts registered for webhook monitoring under your API key.

Header Parameters

x-api-key
string
required
Your API key

Response

accounts
array
total
integer
Total number of accounts
{
  "accounts": [
    {
      "id": "60f7b3b3e4b0c8a2d8e9f1a2",
      "plateforme": "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",
      "plateforme": "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
}

Notes

  • Returns all accounts associated with your API key
  • Use the is_active field to identify which accounts are currently being monitored
  • Account tokens are included in the response for reference
I