Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Required scope: read_settings (for API-key authentication).
read_settings
JavaScript
import { createAdminClient } from '@spree/admin-sdk' const client = createAdminClient({ baseUrl: 'https://your-store.com', secretKey: 'sk_xxx', }) const key = await client.apiKeys.get('key_xxx')
{ "id": "key_UkLWZg9DAJ", "name": "Storefront key", "key_type": "publishable", "token_prefix": null, "scopes": [], "created_at": "2026-06-01T13:00:36.433Z", "updated_at": "2026-06-01T13:00:36.433Z", "revoked_at": null, "last_used_at": null, "plaintext_token": "pk_mJJoncofqeMtfc2vYy6gL1K5", "created_by_email": null }
Secret API key for admin access
JWT token for admin user authentication
API key found
Was this page helpful?
Contact support