OverviewProductsPlatformsAPI ReferenceResources
SMS

Upload opt-in form proof

POSThttps://zernio.com/api/v1/sms/opt-in-proof

Hosts a screenshot (or PDF) of your SMS opt-in form and returns its public URL.

Include that URL in the campaign's messageFlow (the opt-in workflow text). The carrier registry has no attachment field, so reviewers verify consent by opening links in that answer.

Works before a registration exists (use it when registering) and for appeals. /v1/sms/registrations/{id}/opt-in-proof is an alias.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Body

multipart/form-data

What every request needs

filestring (binary)Required

PNG, JPG, WebP, GIF or PDF, max 4MB.

Responses

Success· the request worked

Errors· the request failed

POST/v1/sms/opt-in-proof
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.sms.uploadSmsOptInProofFile();console.log(data);
{  "url": "string"}
OpenAPI specification
Was this page helpful?