Create transfer session
POST/public/transfer-sessions
Creates a pre-authorized session of the hosted transfer wizard. Your backend sends the access token of a user who is already signed in to your destination service in your app. We check the token with the service, store it encrypted, attach the account as the destination and answer with a launchUrl. The user then connects only the source. Requires Client Secret (Basic) or a DevToken without sub. See Pre-authorized Sessions.
Request
Responses
- 201
- 400
- 401
- 403
- 422
- 503
The session is created.
The body is not valid, no transfer destination is set, or the destination does not support pre-authorized sessions.
The request has no credentials.
The credential is not secret, or the transfer service is not enabled for your account.
The music service refused the access token. Nothing is stored.
The music service could not be reached to check the token. Try again later.