Skip to content

Finish signing up: choose a password and get the organization

POST
/api/auth/sign-up/complete
curl --request POST \
--url https://forge.example.com/api/auth/sign-up/complete \
--header 'Content-Type: application/json' \
--data '{ "token": "example", "displayName": "example", "password": "example", "acceptedTerms": "example" }'

Takes the token, a display name and a password of at least 12 characters. Makes the organization, on a trial, with this person as its administrator. The session starts in the refresh token cookie, as on any page load.

Media typeapplication/json
object
token
required
string
displayName
required
null | string
password
required
string
acceptedTerms
null | string

Example generated

{
"token": "example",
"displayName": "example",
"password": "example",
"acceptedTerms": "example"
}

Done. The answer has no body.

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