---
title: "Initiate onramp verification"
method: POST
path: "/v2/onramp/verifications"
tags: ["Onramp"]
---

# Initiate onramp verification

`POST /v2/onramp/verifications`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/onramp/verifications`
- Auth: HTTP bearer

Initiates OTP verification by sending a 6-digit code to the user via the specified channel (SMS or email). Returns a `verificationId` that must be passed to the Submit Onramp Verification endpoint along with the OTP code within 10 minutes.

**Access to this API requires allowlisting.** During Onramp Headless API onboarding, contact the Onramp team to enable Onramp-managed verification for your application.

## Headers

- `X-Idempotency-Key` string

## Request body

- InitiateOnrampVerificationRequest: Request body for initiating an onramp OTP verification.
  - `channel` 'sms' | 'email', required: The OTP delivery channel.
  - `destination` union, required: The phone number or email address to send the OTP to.
    - string: A phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.
    - string, email: An email address. Maximum length 254 characters per [RFC 5321](https://www.rfc-editor.org/rfc/rfc5321).

## Response `201`

Successfully initiated onramp verification.

- OnrampVerificationInitiation: The result of initiating an onramp OTP verification.
  - `verificationId` string, required: Identifier returned by this endpoint. Pass to the Submit Onramp Verification endpoint along with the OTP code within 10 minutes.
  - `otpExpiresAt` string, date-time, required: The deadline for submitting the OTP code (10 minutes from now).

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `403`: User forbidden from performing the action.
- `422`: Idempotency key conflict.
- `429`: Rate limit exceeded.
- `500`: Internal server error.

## Changes

- **2026-12-01** `06cb41a4fb57`: 6 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `403`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `422`
  - …2 more
- **2026-10-16** `ff3c1fdef902`: 6 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `403`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `422`
  - …2 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/onramp/verifications/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
