Set credentials
End users
Set credentials
Upload per-platform cookies for one of your end-users. Idempotent upsert; unspecified platforms are untouched.
PUT
Set credentials
Path parameters
Opaque identifier for the end-user. Must be ≤ 256 characters.
Request body
All fields are optional — include only the platforms you want to set or update. Existing credentials for platforms you don’t mention stay in place.Response — 200 OK
Always
true on success.Example
Security notes
- Credentials are KMS-encrypted at rest with a key that only the stablebrowse workers can decrypt.
- They’re never returned by any GET endpoint. The status endpoint returns only “configured: true/false” flags.
- They’re scoped to
(businessId, endUserId). Two businesses can both have analiceend-user with independent credentials. - On suspicion of leak, call
DELETE /v1/end-users/{endUserId}/credentialsand re-upload fresh ones.
Errors
| Code | Meaning |
|---|---|
400 | endUserId > 256 chars, invalid JSON body, or no recognized cred fields supplied |
401 | Missing Authorization header |
403 | Revoked API key |
