Skip to content

Create an API key

Create an API key in Integrations and make your first authenticated call, GET /v1/companies/me.

Create a key in Integrations, then use it to call GET /v1/companies/me. You need a verified account. You do not need a site.

Step 1: Sign in

Open my.wpwaterfall.com. If you do not have an account, create one and verify the email.

Step 2: Open API keys

Open Account Settings, then Integrations, then the API keys tab. It needs no site license. Every signed-in person can make their own keys, with scopes their role allows.

Step 3: Create the key

Choose Create key. Name it curl test. Grant sites:read only. Leave the IP allowlist empty for this test, and keep the suggested expiry. Create it. The dashboard may ask for your password first. Expiry, the allowlist, and companies are in API keys and scopes. Over the API, POST /v1/api-keys answers 403 with the step-up-required problem until the session calls POST /v1/users/me/step-up with the password.

Step 4: Copy the secret now

WP Waterfall shows the secret once. It starts with wpw_live_ (or wpw_test_ in a sandbox company). Store it. WP Waterfall emails you that a key was created. The list shows the prefix, not the secret.

Step 5: Call the API

Replace the placeholder with your secret.

curl -s https://api.wpwaterfall.com/v1/companies/me \
  -H "Authorization: Bearer wpw_live_YOUR_SECRET"

A working call returns 200 and JSON with your company id, name, slug, plan, and created_at. The activity log shows the call under the key name.

What if the call fails?

Status Meaning What to do
401 Missing, unknown, or revoked key Copy the secret again from a new key. A revoked key answers 401.
403 Key lacks the scope GET /v1/companies/me works with sites:read. Members and invitations need users:read, the activity log needs activity:read, and invites need users:write.
429 Rate limit Wait for Retry-After. See Rate limits.

Revoke the key from the same list when you are done.

Still stuck?

Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.