Skip to documentation
Browse documentation

Credentials

Store account material for capabilities that require it.

View raw

Some capabilities require an authenticated account on the upstream platform. Upscrape stores that credential material separately from your Upscrape API key and associates it with your account.

Endpoints

GET    /credentials
POST   /credentials
GET    /credentials/:id
PATCH  /credentials/:id
DELETE /credentials/:id
POST   /credentials/:id/validate

All requests use the normal Upscrape bearer token. List requests may be filtered by platform.

In the console

The Access page lists your saved platform logins with their label, when they were added and when they were last checked. From there you can check a login (the same check as POST /credentials/:id/validate) or remove it. Adding and updating a login stays with this API, because each platform expects its own fields. The console never shows a saved login again.

Response safety

Credential responses contain metadata such as ID, platform, label, authentication mode, status, validation timestamps, and errors. They do not return the decrypted credential payload.

Validation semantics

The current POST /credentials/:id/validate operation checks whether the saved credential can be read and marks it active when that check succeeds.

It does not currently prove that the upstream platform will accept the credential. A capability execution can still fail because a session expired, permissions changed, or the upstream platform rejected it.

Use credentials

If a capability requires upstream authentication and no suitable credential exists, execution returns HTTP 422 with credentials_required. Store the required credential, verify its metadata, then create a new logical execution.

Rotation

Update or replace expiring platform credentials before they are used by scheduled jobs. Delete credentials that are no longer needed. Keep tokens and cookies out of examples, support messages, and public documentation.

Credit prices and plans: Upscrape pricing