Skip to content

Start a trial with an e-mail address

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

On the shared managed instance, where it sends e-mail (emailSignUp of GET /api/auth/accounts). Takes the address and the organization’s name and sends a link to the address, which works once, for 24 hours. Nothing is made until the link is used. The answer is the same whatever the address is: one that already has an account is told so by a message, never here. An address is written to three times an hour at most, and one caller may ask ten times an hour.

Media typeapplication/json
object
email
required
string
organization
required
string

Example generated

{
"email": "example",
"organization": "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"
}