GET
/v1/emailsbetaauthenticatedworkspace
When to use
Get the automatic workspace address, readiness and email permission resource ID.
For agents
Requires Read on workspace email. An email-ready connected delegated domain supplies the address; otherwise the platform fallback is used. DNS is automatic. The stable resource ID delegates the workspace email capability, including future automatic address changes. Wait for ready before sending. No mailbox is created.
Example
import { PermuteClient } from '@permute/sdk';
const orgClient = new PermuteClient({
apiKey: process.env.PERMUTE_API_KEY!,
});
const client = orgClient.withWorkspace(process.env.PERMUTE_WORKSPACE_ID!);
const result = await client.emails.get();Response
{
"data": {
"id": "esnd_abcdefghijklmnopqrstuvwx",
"address": "noreply@example.com",
"status": "ready",
"error": null
}
}