> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/002_email/003__verify_company_email.md).

# Verify Company Email

GraphQL endpoint: `/company`

Verifies a company email address using the one-time code previously sent to it. On success the email is marked as verified and an OK status is returned.

## Query

```graphql
mutation (
  $emailId: ID!
  $code: String!
) {
  verifyCompanyEmail (
    emailId: $emailId
    code: $code
  ) {
    status
  }
}

```

## Variables

```json
{
  "code": "1",
  "emailId": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "verifyCompanyEmail": {
      "status": "OK"
    }
  }
}
```
