OverviewProductsPlatformsAPI ReferenceResources

Register an iMessage sender

POSThttps://zernio.com/api/v1/imessage/senders

Registers a provider-provisioned iMessage sender (a phone number or an email handle) that YOU already own on a profile. It creates an imessage account that sends and receives through the inbox conversation endpoints.

To have Zernio order a new sender for you, use POST /v1/imessage/senders/order instead.

Authentication

AuthorizationBearer tokenRequired

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

Body

application/json

What every request needs

profileIdstringRequired

Profile to attach the sender to

senderstringRequired

The provider-provisioned sender handle: a phone number in international format (e.g. +18305551234) or an email address

Optional parameters2 fields
displayNamestring, max 100
providerstringOne of loopmessage

Delivery provider. Defaults to the platform default.

Responses

Success· the request worked

Errors· the request failed

How it behaves

Billing

Registration attaches the monthly sender fee (billed while active) and requires a payment method (402 without one).

Re-registering

  • Re-registering the SAME handle refreshes its account.
  • A different handle is added as another sender, and a profile can hold several.
POST/v1/imessage/senders
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.imessage.registerImessageSender({  body: {    profileId: 'profile_abc123',    sender: 'string',  },});console.log(data);
{  "success": true,  "account": {    "id": "string",    "platform": "imessage",    "sender": "string",    "optInLink": "string",    "displayName": "string",    "profileId": "string",    "provider": "string",    "senderVerified": true,    "isActive": true  }}
OpenAPI specification
Was this page helpful?