Credentials
Save Key Credentials
Save key-based credentials for an app on a linked account.
PUT
Store key-based credentials for an app on a linked account. The app must support
keybased auth. The request body is treated as opaque auth_data and forwarded to the app’s save-credentials handler — the exact fields depend on the app’s auth schema (see Get Application for an app’s auth_input_map).
Many apps verify the credentials against the provider before storing them. Invalid credentials return a verification error rather than being saved.
Authentication
Your Refold API key. Find it in Settings → Credentials.
The linked account to store credentials on. May also be passed as a query parameter.
Path Parameters
The app slug. Must be an app that supports key-based auth.Example:
netsuiteQuery Parameters
Optional auth type when the app supports more than one.
Body Parameters
The body is the app-specific credential map. For example, NetSuite expects:Provider account ID.
OAuth consumer key.
OAuth consumer secret.
Token ID.
Token secret.
Response
- 200 OK
- 500 Verification Failed
Returns an app-specific success object confirming the credentials were saved.