import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const inbox = await client.inboxes.update('ibx_01kabn43yqyxn2bx4ve84mczd3');console.log(inbox.id);
Copy
{ "data": { "id": "<string>" }}
Inboxes
Update Inbox
Update an inbox.
PATCH
/
inboxes
/
{inboxId}
JavaScript
Copy
import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const inbox = await client.inboxes.update('ibx_01kabn43yqyxn2bx4ve84mczd3');console.log(inbox.id);