Start connecting a Microsoft, Google or Apple account
POST
/api/me/accounts/{provider}/connect
const url = 'https://forge.example.com/api/me/accounts/example/connect';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://forge.example.com/api/me/accounts/example/connect \ --header 'Authorization: Bearer <token>'Answers the provider’s address for the browser to go to.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”provider
required
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
address
required
string
Example generated
{ "address": "example"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}