Skip to main content
Every request (except GET /openapi.json) sends the store’s API key and domain, plus the shopper’s identity. GET /settings needs only the first two headers.

Get your API key

1

Open API Settings

In the Codebeans Wishlyst admin, go to Wishlist Settings → API Settings.
2

Generate a key

Click Generate new key and copy it. A new store has no key until you generate one.
3

Copy the connection details

The page also shows the shop domain and the base URL. Give all three to your developer.
Keep the key secret. Anyone who has it can read and change the wishlists of any shopper in your store. Use it from your own server, or from a mobile app you control. Never put it in public web code.If a key leaks, click Generate new key. The old key stops working at once. Reset restores the previous key, in case you generated a new one by mistake.

Identifying the shopper

Send the numeric customer ID, not the gid:// form:
The API checks on every call that the customer exists in the store. An unknown ID returns 401 CUSTOMER_REQUIRED.
The API trusts the customer ID you send, so your app must authenticate the shopper itself (for example with the Customer Account API) before calling it.

Moving guest lists after login

When a guest logs in, send both headers once to POST /guest-wishlists/claim. The guest’s lists and shares move to the customer. The call is safe to repeat.
Then stop sending the session ID and use the customer ID only.

Authentication errors