Verify an email address

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
POST /user/verify-email

Marks a user's email as verified using the token from the verification email, optionally matched with email. No auth. Returns 404 for an unknown token and 400 when it has expired. data holds only message.

application/json

Body Required

  • token string Required
  • email string

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required
      Hide data attribute Show data attribute object
      • message string Required
    • statusCode number Required
    • timestamp string(date-time) Required
POST /user/verify-email
curl \
 --request POST 'http://api.example.com/user/verify-email' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{
  "token": "string",
  "email": "string"
}'
Request examples
{
  "token": "string",
  "email": "string"
}
Response examples (200)
{
  "data": {
    "message": "Email verified"
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}