Developers
Power your apps with Marshmallow integrations.
https://mrshtech.com/v1/marsh-editor/sessionUse one active API key for your account and one Marsh Editor License Key for the editor feature.
MarshEditor.boot({
apiKey: 'mt_live_your_api_key',
licenseKey: 'MEDIT-MARSH-EDITOR-your_license_key',
selector: 'textarea'
});
Marsh API connects your customer account to licensed Marshmallow products.
Use Bearer tokens to authorize requests and protect your account.
Only one active API key is allowed per customer account.
Attach the editor to any textarea after the license is active.
Expired Marsh Editor licenses are disabled automatically and renewal is requested.
Use this after the admin has activated your Marsh Editor License Key.
MarshEditor.boot({
apiKey: 'mt_live_your_api_key',
licenseKey: 'MEDIT-MARSH-EDITOR-your_license_key',
endpoint: 'https://mrshtech.com/v1/marsh-editor/session',
selector: 'textarea',
requestUrl: '/customer-portal.php?tab=portal-request-license',
expiredMessage: 'Your Marsh Editor License Key has expired.',
renewalMessage: 'Request new activation?'
}).then((session) => {
console.log('Marsh Editor status:', session.status);
});
Test the editor UI here before connecting your own product.
{
"status": "success",
"data": [{
"product": "MARSH-EDITOR",
"license": "active",
"expires_at": "2027-06-24 23:59:59",
"selector": "textarea"
}]
}If the license is expired, the API returns an expired status so your UI can show the renewal dialog.