const url = 'https://app.monitorly.cloud/api/v1/auth/signup';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"acceptTerms":true,"displayName":"example","email":"example","password":"example","turnstileToken":"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://app.monitorly.cloud/api/v1/auth/signup \ --header 'Content-Type: application/json' \ --data '{ "acceptTerms": true, "displayName": "example", "email": "example", "password": "example", "turnstileToken": "example" }'Creates an account and emails the link that confirms its address. The answer is the same for an address that already has an account. Signs nobody in. An installation where sign-up is by invitation refuses every request the same way.
Authorizations
Section titled “Authorizations”- None
Request Bodyrequired
Section titled “Request Bodyrequired”object
Must be true: the person ticked “I accept the Terms and the Privacy policy” (since 2026-11-17; 422
field.required at /acceptTerms otherwise).
1–200 characters; the part of the email before @ when absent.
12–1024 characters.
The Turnstile widget’s token, required when GET /auth/signup/options names a site key.
Example generated
{ "acceptTerms": true, "displayName": "example", "email": "example", "password": "example", "turnstileToken": "example"}Responses
Section titled “Responses”Accepted: check the inbox.
object
Always true: the same answer whether or not the address already had an account.
Example generated
{ "checkEmail": true}Bad Request.
request.malformed: the body or a parameter is not of the expected shapeauth.credentials_conflict: the request carries both a session cookie and a token
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Unauthorized.
token.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Forbidden.
request.origin_mismatch,request.header_required: a changing request with a session comes from another site or lacksX-Monitorly-Request: 1signup.challenge_failed: sign-up has a challenge (GET /auth/signup/options) andturnstileTokenis missing or was refusedsignup.closed: sign-up is by invitation (GET /auth/signup/optionsanswersmode: invite); every address gets the same answer
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Payload Too Large.
request.too_large: the body is larger than 256 KiB
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Unprocessable Entity.
field.required,field.too_long,field.invalid: a field breaks a rule;errorspoints at itauth.password_too_short: password is shorter than 12 charactersauth.password_too_long: password is longer than 1024 characters
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Too Many Requests.
signup.rate_limited: too many sign-ups from this address or to this email domain within an hour;Retry-Afterin seconds
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Headers
Section titled “Headers”Seconds to wait before trying again.
Service Unavailable.
signup.challenge_unavailable: sign-up has a challenge and it could not be checked right now; try again
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}