Zapier integration - API

API endpoint

The API endpoint for the Zapier trigger is:

https://webhooks.pembee.app/api/zapier/users?account_name={accountName}

For example, if your site is https://mandarin.pembee.app/, the account name would be mandarin, so the endpoint would be:

https://webhooks.pembee.app/api/zapier/users?account_name=mandarin

Generating an API key

To generate a new API key:

  1. Log in to your site (e.g., https://mandarin.pembee.app/).
  2. Navigate to Admin > Settings > Zapier.
  3. Click the ‘Generate new API Key’ button.

Making an API request

Use the API key as a Bearer token in the Authorization header.

curl --location 'https://webhooks.pembee.app/api/zapier/users?account_name=mandarin' \
--header 'Authorization: Bearer YOUR_API_KEY'

Note: Replace YOUR_API_KEY with your actual API key.


An example response is:

{
  "users": [
    {
      "id": "67add6fa20991e51cde25bd3-1739871880875",
      "userId": "67add6fa20991e51cde25bd3",
      "first_name": "Matthew",
      "last_name": "Botting",
      "email": "matthew.b@pembee.online",
      "phone": "+447777123123",
      "custom_fields": {
        "address": "123 Test Street",
        "city": "London",
        "county": "London",
        "postal_code": "W11 1AA"
      },
      "created_at": "2025-02-13T11:26:50.138Z",
      "updated_at": "2025-02-18T09:44:40.875Z",
      "is_enabled": true,
      "is_deleted": false,
      "attendees": []
    }
  ],
  "meta": {
    "total_count": 1,
    "has_more": false
  }
}

Field Explanations

  • is_enabled: Indicates whether the user account is active.
  • is_deleted: Indicates whether the user has been deleted.
  • attendees: List of attendees associated with the user (empty in this example).
  • created_at / updated_at: Timestamps of when the user was created/last updated.

Still need help? Contact Us Contact Us