Credentials
Upsert Default-App Credential
Add or update a single auth credential on the org’s default app.
PUT
Add or update a single
Option 2 — Session token
{key_name, key_value} auth credential on the linked account’s default-app integration. The value is encrypted before storage. The default-app integration must already exist on the account (it can be seeded when you create the linked account via your_app.auth_credentials).
Authentication
This endpoint accepts either authentication method. Option 1 — API keyYour Refold API key. Find it in Settings → Credentials.
The linked account to operate on. May also be passed as a query parameter.
Session token for the linked account (the account is taken from the token).Format:
Bearer YOUR_SESSION_TOKENPath Parameters
The credential key name to add or update.Example:
api_keyBody Parameters
The credential value. Coerced to a string and encrypted before storage.
Response
- 200 OK
- 404 Not Found