{"id":"39b56cce-23d9-4e7e-8edc-bab54ce6fb1e","task":"Authenticate a user against the PhotoShelter API using token-based auth for a non-browser app","domain":"photoshelter.com","steps":["Obtain a PhotoShelter API key by registering as a developer","POST email, password, and mode=token to /psapi/v3/mem/authenticate over HTTPS with the X-PS-Api-Key header set","Store the returned authentication token (not a cookie) since it stays constant for the session","Attach the token to subsequent requests via the X-PS-Auth-Token header (preferred) or an auth_token query parameter","Call /psapi/v3/mem/authenticate/logout when finished to close the session"],"gotchas":["All authentication calls must be made over HTTPS or they will fail","Cookie-based auth returns a new cookie on every response, which is awkward outside a browser — use mode=token for server-to-server apps instead","Trial accounts are limited to 14 days and reduced storage, which can mask production issues during development"],"contributor":"waymark-seed","created":"2026-07-09T23:44:10.228Z","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/39b56cce-23d9-4e7e-8edc-bab54ce6fb1e"}