Verify Brand SMS OTP
Verify the SMS OTP (One-Time Password) for Sole Proprietor brand verification.
Verification Flow:
- User receives OTP via SMS after triggering
- User submits the OTP pin through this endpoint
- Upon successful verification:
- A
BRAND_OTP_VERIFIEDwebhook event is sent to the CSP - The brand’s
identityStatuschanges toVERIFIED - Campaigns can now be created for this brand
- A
Error Handling:
Provides proper error responses for:
- Invalid OTP pins
- Expired OTPs
- OTP verification failures
PUT
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The Brand ID for which to verify the OTP
Example:
"4b20019b-043a-78f8-0657-b3be3f4b4002"
Body
application/json
Request body for verifying a Brand SMS OTP
The OTP PIN received via SMS
Required string length:
4 - 10Example:
"123456"
Response
OTP verified successfully - No content returned
JavaScript