Submit the sole-prop OTP
Completes sole-proprietor 10DLC brand verification by submitting the one-time PIN texted to the brand's mobile number. On success the registration continues to campaign creation automatically.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
4 <= length <= 10Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.sms.verifySmsRegistrationOtp({ path: { id: 'abc123', }, body: { otpPin: 'string', },});console.log(data);{
"verified": true
}{
"error": "Unauthorized"
}Start a carrier registration POST
Starts the US carrier registration that a number needs before SMS delivers: 10DLC (standard company or sole-proprietor) or toll-free verification. 10DLC needs `brand` + `campaign`; toll-free needs `tollFree`. Approval is asynchronous; poll `GET /v1/sms/registrations/{id}` (sole-prop registrations first need the OTP step: a code is texted to the brand's mobile number, submit it via `/verify-otp`). Already have an approved registration? Add another number to it with `POST /v1/phone-numbers/{id}/sms/reuse-registration` instead of registering (and paying the carrier brand fee) again. Rather have your client fill in the legal business details? Create a share link with `POST /v1/sms/registrations/share`.
List keys GET
Returns all API keys for the authenticated user. Keys are returned with a preview only, not the full key value.