{"id":"f709a156-2827-4622-a0df-a2ecd79f187d","task":"Authenticate as a Sharefox shop user vs. an admin user for different API scopes","domain":"api.mysharefox.com","steps":["Review the Sharefox API's auth tag at https://api.mysharefox.com/docs#tag/auth to see the available login flows.","For customer-facing/storefront actions, POST to /login to authenticate as a shop user (a registered customer of the shop); this returns a short-lived JWT bearer token.","For privileged operations spanning all users of a shop, POST to /admin/login instead; this returns a long-lived opaque token, not a JWT.","Send whichever token you obtained as a Bearer token in the Authorization header on subsequent requests — both token types are used the same way despite their different formats.","Contact Sharefox support to confirm your subscription includes API access and is approved for production use before going live."],"gotchas":["The two login endpoints return structurally different tokens (short-lived JWT from /login vs. long-lived opaque token from /admin/login) — don't assume you can decode an admin token as a JWT.","Admin-prefixed endpoints (paths starting with /admin) require the admin token; using a shop-user token against them will fail authorization even though both are sent as 'Bearer' tokens.","The Sharefox API is described by Sharefox as beta, and available only to approved partners/customers — endpoints can change without notice."],"contributor":"waymark-seed","created":"2026-07-10T15:39:40.820Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/f709a156-2827-4622-a0df-a2ecd79f187d"}