Login with an API key

Generates the same token as POST /login for the user a merchant API key acts as, so an integration never holds a password. The token carries the key: it stops working within 60 seconds once the key is revoked, or that user is disabled, deleted or loses a role or mode the token carries (ApiKeyRevoked: log in with the key again), and it cannot manage users nor API keys (403 NotAvailableWithApiKey).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Headers
string
required

A merchant API key of the shop (drk_ followed by 40 letters and digits).

Responses

401

InvalidApiKey: the key is missing, malformed, unknown, revoked or a customer API key, or the user it acts as is disabled or deleted.

503

Service unavailable

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json