---
title: "Send contact channel verification code"
method: POST
path: "/contact-channels/{user_id}/{contact_channel_id}/send-verification-code"
tags: ["Contact Channels"]
---

# Send contact channel verification code

`POST /contact-channels/{user_id}/{contact_channel_id}/send-verification-code`

Send a code to the user's contact channel for verifying the contact channel.

## Path parameters

- `user_id` string, required — The user to send the verification code to.
- `contact_channel_id` string, required — The contact channel to send the verification code to.

## Request body

- object
  - `callback_url` string, required — The base callback URL to construct a verification link for the verification e-mail. A query parameter `code` with the verification code will be appended to it. The page should then make a request to the `/contact-channels/verify` endpoint.

## Response `200`

Successful response

- object
  - `success` boolean, required — Always equal to true.

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api/versions/86dcd8c9953c/schema)
