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 staff = await client.adminUsers.get('admin_xxx')
{ "id": "admin_UkLWZg9DAJ", "email": "geraldine@hills.co.uk", "first_name": "Bennie", "last_name": "Jerde", "created_at": "2026-05-17T22:57:21.592Z", "updated_at": "2026-05-17T22:57:21.592Z", "roles": [ { "id": "role_UkLWZg9DAJ", "name": "admin" } ] }
Documentation IndexFetch the complete documentation index at: https://spreecommerce.org/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
Use this file to discover all available pages before exploring further.
Secret API key for admin access
JWT token for admin user authentication
staff member found
Was this page helpful?
Contact support