Start a trial with an e-mail address
POST
/api/auth/sign-up
const url = 'https://forge.example.com/api/auth/sign-up';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example","organization":"example"}'};
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/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.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string
organization
required
string
Example generated
{ "email": "example", "organization": "example"}Responses
Section titled “Responses”Done. The answer has no body.
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"}