LoguDocs
Open Logu

Sign-in · sendEmailConfirmation

Email a link to confirm your email

POST /api/auth/verify-email

Sends the signed-in human a link that verifies their email (needed to accept invitations). It keeps their password and passkeys.

Who may call it
Anyone (no credentials)
Server
https://api.logu.dev

Request body#

Content type application/json (required).

FieldTypeRequiredNotes
locale"en" | "pt-BR"optionaldefault "en"
{
  "locale": "en"
}

Example#

curl -s -X POST "https://api.logu.dev/api/auth/verify-email" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"locale":"en"}'

Responses#

200

Sent, or already verified.

{
  "ok": true,
  "email": "ana@example.com",
  "alreadyVerified": false
}
Response fields
FieldTypeRequiredNotes
oktruerequired
emailstringrequired
alreadyVerifiedbooleanrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
400unknown_fieldThe body has a field the endpoint doesn't know (often a typo or snake_case).
400bad_requestThe request is malformed or a field is invalid (see issues).
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
429rate_limitedThis API key sent too many requests, or a human did too much too fast: sign-in attempts, workspaces created in a day, or a global daily cap on new accounts was reached.
500internal_errorSomething went wrong on Logu's side.
503service_unavailableA dependency is down or a feature isn't configured on this server.