---
title: "Send an OTP to a customer"
method: POST
path: "/eclipse-conductor/rest/v1/global/verifications"
tags: ["z) Global Functionality"]
---

# Send an OTP to a customer

`POST /eclipse-conductor/rest/v1/global/verifications`

Sends an OTP via SMS or email to the supplied phone number, email address, or identity. Accepts phone numbers in any common format. No JWT is required, but a Google reCAPTCHA token must be provided in the request header.

## Request body

- EclipseVerification
  - `email` string — Customer email number where the email link will be sent
  - `identity` string — Customer identity where the OTP will be sent. Eclipse will look up the customers phone number or email based on the identity passed to send otp.
  - `phone` string — Customer phone number where the OTP will be sent
  - `templateId` string — Mustache template Id for verification. The eclipse will look templateId in the property if templateId is found then it will send Email else return an error.
  - `tenantId` integer — Optional. The tenants id if known so that tenant specific messaging can be done
  - `type` 'EMAIL' | 'PUSH' | 'SMS' | 'TEMPLATE'

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/eftcorp/apis/eclipse-rest-api.md) · [All operations](https://skmtc.dev/eftcorp/apis/eclipse-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eftcorp/eclipse-rest-api/revisions/9213d52d49a3/schema)
