Node.js SDK
Change Contact Status
Change a contact’s subscription status by email. Requires API key with audience:write.
POST
Node.js SDK
Authorizations
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Body
application/json
Email address of the contact
New status for the contact
Available options:
subscribed, unsubscribed, bounced, non-subscribed Project ID
Apply to all lists
Specific tag IDs to scope the status change