Skip to main content
POST
Spree Admin SDK

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Headers

x-spree-api-key
string
required

Body

application/json

Built-in email/password authentication (default when provider is omitted).

email
string<email>
required
Example:

"admin@example.com"

password
string
required
Example:

"password123"

provider
enum<string>
default:email
Available options:
email

Response

login successful

token
string
required

JWT access token

user
object
required