Skip to main content

requestRegistrationOtp

Public: no authentication required.

Step 1 of registering an organization by email: sends a verification code to the address. Rate-limited per IP address. No sign-in needed.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation RequestRegistrationOtp($input: RequestRegistrationOtpInput!) {
requestRegistrationOtp(input: $input) {
message
requestId
success
}
}

Variables:

{
"input": {
"email": "string"
}
}

Response:

{
"data": {
"requestRegistrationOtp": {
"message": "string",
"requestId": "string",
"success": true
}
}
}
requestRegistrationOtp(
input: RequestRegistrationOtpInput!
): RequestRegistrationOtpResponse!

Arguments​

requestRegistrationOtp.input ● RequestRegistrationOtpInput! non-null input​

The email address to send the code to.

Type​

RequestRegistrationOtpResponse object​

The result of step 1 of signing up. The code is only ever sent by email.