Getting the license_key for the POP API
Goal
Get a valid license_key to authenticate requests to the POP API.
Prerequisites
- A valid email address.
- Access to the mailbox to receive the OTP.
Steps
- Open
https://popapi.io/otp-login/. - Enter your email address.
- Receive a one-time password (OTP) by email.
- Enter the OTP.
- Complete the account setup wizard.
- Open
https://popapi.io/. - Go to
Account > API. - Copy the default
license_keythat was generated.
Verify
Test the key with:
curl --request GET \
--url 'https://popapi.io/wp-json/api/v2/account-profile?sdk=wordpress' \
--header 'X-API-Key: YOUR_LICENSE_KEY'
A response with "authenticated": true confirms the key is valid.
Common errors
account-profileresponds unauthenticated — the OTP may have expired, or the setup wizard was not completed: repeat the OTP login.- You need more than one key (e.g. separate environments) — from
Account > APIyou can generate additionallicense_keyvalues linked to the same account. - The key stops working — check whether it was regenerated/revoked from
Account > API; everylicense_keyshould be treated as a secret credential.
Related configuration
See api/overview for the base URL, authentication header, and first steps with the API.