FulfillbotDocs
Menu
MarkdownDownload

Getting started

This page takes you from nothing to your first successful request.

1. Get API access

Fulfillbot turns API access on per account. Ask your account manager. When it is on, the portal shows Settings → API access.

2. Create an API key

  1. Sign in to the portal and open Settings → API access.
  2. Under Create an API key, enter a name for the key (up to 60 characters), for example the system that will use it.
  3. Choose an access level (see the table below). With Custom you tick the permissions yourself.
  4. Click Create API key and copy the key straight away. It is shown only once; we keep only a hash of it.
Access level Permissions
Read only wallet:read, catalog:read, orders:read, purchase_orders:read, shipments:read, requests:read, quotes:read
Read and create orders wallet:read, catalog:read, orders:read, purchase_orders:read, shipments:read, requests:read, quotes:read, orders:write
Custom The ones you tick

When a key can create orders, the portal shows a note about charges first: read Charges and your wallet.

For your security you must have signed in within the last 10 minutes to create a key; otherwise the portal asks you to sign in again. Keys can't be created while your account is on hold. An account can have up to 10 active keys; revoke one you no longer use to add another.

3. Store the key safely

Keys start with pak_. Treat a key like a password: anyone who has it can use your account within its permissions. Keep it in an environment variable or a secrets manager, never in source code, a web page or a mobile app. The examples in these docs read it from FULFILLBOT_API_KEY:

export FULFILLBOT_API_KEY="pak_..."

If a key leaks, revoke it in Settings → API access. It stops working at once. Then create a new one.

4. Make your first request

GET /v1/me works with any valid key and tells you which account and key a request uses.

The Node.js examples need Node.js 18 or later (built-in fetch, top-level await; save them as .mjs). The Python examples use the requests package (pip install requests).

If you get 401 invalid_api_key, check that the header is exactly Authorization: Bearer <key>. If you get 403 api_not_enabled, API access is off for your account. See Authentication.

5. Next steps