Documentation · API reference
POST/api/v1/me/social/{id}/connect

Connect (D2)

Connect (D2): link a service to the member who is signed in, whatever address it has. Answers with the service's page to go to.

The answer

Status 200

OAuthGo Where the browser goes next.

to
stringneeded

Asking

With your token from Settings
curl -X POST https://tidekeeper.eu/api/v1/me/social/{id}/connect \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/me/social/{id}/connect", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());