Credentials
Migrate Token
Migrate an existing auth object onto a linked account’s integration.
PUT
Import an existing auth object onto a linked account’s integration. The
auth_object is validated against the named app’s auth schema, each value is encrypted, and the integration is created (or updated if it already exists) on the linked account identified by the linked_account_id header.
Use this to bring credentials you already hold (e.g. migrating from another system) into Refold without sending the user through a connect flow.
Custom apps are not supported by this endpoint. Many native apps verify the credentials against the provider before storing them.
Authentication
Your Refold API key. Find it in Settings → Credentials.
The linked account to attach the integration to.
Body Parameters
The app slug being migrated.Example:
hubspotAn object with exactly one top-level key naming the auth type (
oauth2, keybased, …). Its value is an object whose fields match the app’s auth-type schema.Response
- 200 OK
- 200 Validation Error
- 500 Verification Failed