ArdentWMS
App

Create API keys and API users

Give a client's developers access to the API: an API user (email and password that signs in for a one-hour token) or a long-lived API key. Both are shown once.

Who can use this. Needs Integrations create to make a key or API user. Revoke, Reset password, Disable and Enable need Integrations update.

A client's own system (an ERP, a store, an order system) calls the Ardent WMS API with a credential. Each credential belongs to one connection. The connection decides what it may call and which client's data it sees; the credential only proves who is calling. See Scopes and per-client access.

API user (email and password)API key
How it worksThe developer sends the email and password to POST /v1/auth/token and gets an access token that lasts one hour, plus a refresh token.A long-lived key sent on every call as Authorization: Bearer ak_live_….
Best forMost partners. The recommended way.Server-to-server integrations that cannot renew a token.
LifetimeTokens expire after one hour; the developer refreshes them. The password does not expire.You choose: 90 days, 6 months, 1 year or 2 years (the maximum).
ShownThe password is shown once when it is created or reset.The key is shown once when it is created.

Heads up. A key or password is shown once. Ardent WMS keeps only a fingerprint and cannot show it again. Copy it, send it to the developer over a secure channel (not in a ticket or a shared chat), and do not store it in documents.

Before you start

  • Your role needs Integrations create (and update to revoke or reset).
  • A connection of the kind API access for a client's developers. Create one with Add connection (see Integrations). Choose the client it is for, so the credential can only reach that client's data.
  • Enable the endpoints the developer needs first. A credential on a connection with no enabled endpoints can call nothing.

Create an API user

  1. 1

    Open the connection, then Advanced > API keys (or the API keys tab on the full connection page). API users are listed under the keys, in the section API users.

  2. 2

    Press Create API user.

  3. 3

    Enter the Sign-in email (for example erp@partner.com) and, if you like, a Name (optional) such as Partner ERP production.

  4. 4

    Press Create API user. A strong password is generated and shown once, with the sign-in email. Copy it and send both to the developer together with the link to the API documentation.

Manage an API user

StateMeaning
ActiveCan sign in.
LockedFive wrong passwords within 15 minutes lock that email for 15 minutes. The row says when it unlocks. A partner that is already signed in keeps working. Reset password unlocks it at once.
DisabledSign-in is stopped and every access and refresh token of this user stops working immediately.
Reset password
Shows a new password once. The old password and every token issued with it stop working, and a lockout is cleared.
Disable
Stops sign-in and cuts off all tokens now. You can add an optional reason. Reversible.
Enable
The partner can sign in again with the current password. Tokens cut off when it was disabled stay revoked.

Create an API key

  1. 1

    Open the connection, then Advanced > API keys.

  2. 2

    Press Create key.

  3. 3

    Enter a Name that says where the key will live, such as Production ERP. You will need it to know which key to revoke later.

  4. 4

    Choose Expires after: 90 days, 6 months, 1 year (the default) or 2 years (maximum).

  5. 5

    Optional: tick Test key. It starts with ak_test_ so it is easy to tell apart. It still acts on real data. The box is not shown on a sandbox connection.

  6. 6

    Press Create key, copy the key and send it to the developer.

Key states and revoking

StateMeaning
ActiveWorks until its expiry date.
ExpiringWorks, but expires within 30 days. The connection shows an Expiring health badge and raises a Key expiring alert.
ExpiredPast its expiry date. Calls answer 401 expired_key.
RevokedStopped by a person. Calls answer 401 revoked_key.

To stop a key, open its row menu and choose Revoke (an optional reason is kept). It stops working immediately and this cannot be undone; create a new key to replace it. To rotate without a gap, create a second key, switch the partner over, then revoke the first.

What happens next

  • The credential only works while the connection is Active. Press Activate (or Go live) on the connection page when you are ready. Until then calls answer 403 connection_inactive.
  • Every call is logged on the connection's Requests tab with the first characters of the key it used.
  • All API users and keys of one connection share one rate limit (120 requests per minute unless you change it under Edit settings).
  • The key list shows Last used so you can spot keys nobody uses.

If something goes wrong

The developer lost the key or password.

It cannot be shown again. For an API user press Reset password. For a key, revoke it and create a new one.

The developer gets 401 invalid_grant when signing in.

The email or password is wrong, or a refresh token was already used or revoked. The answer is the same on purpose so it does not reveal which. If the user is Locked, reset the password.

The developer gets 403 endpoint_not_granted.

That endpoint is not enabled for the connection. Enable it on the Endpoints tab.

I do not see Create key.

The tab only appears for connections that take keys. Shopify and outbound-webhook connections authenticate another way. You also need Integrations create.

How do I give a robot or partner a key for stock moves?

Those endpoints are off by default and only an Owner can enable them. See Scopes and per-client access.

Related articles

Updated November 28, 2026