Create user credential connect link
Changed onCreates a single-use connect link for an end user, valid for 10 minutes.
Send the user to url. For an oauth credential they sign in with the provider; for a token credential they paste their API token. The token is stored under user_id. Use the same ID that your middleware sets in the context path named by credential.user. The browser then returns to return_url with connic_oauth=connected, denied, or failed added to the query. return_url must match one of the credential's return URLs; without it, connic shows a confirmation page.
Required permission: oauth_apps.connect.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
User credential ID from GET /user-credentials.
Request body
End user to create a connect link for.
Your ID for the end user, up to 255 characters. Use the value your middleware sets at the context path named by credential.user.
Where the browser returns after connecting, with connic_oauth set to connected, denied or failed. Must match one of the credential's return_urls; omit to show a connic confirmation page.
Response
Successful Response
Single-use connect link for an end user.
Single-use URL to send the end user to.
When the link expires, 10 minutes after creation.
Changes
- info
endpoint added
- info