Skip to content

Start connecting a Microsoft, Google or Apple account

POST
/api/me/accounts/{provider}/connect
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.

provider
required
string

OK

Media typeapplication/json
object
address
required
string

Example generated

{
"address": "example"
}

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"
}