Mailboxes

Create a mailbox label

Creates a label on a mailbox and returns it with status 201. Slugs are unique within the mailbox, and a mailbox holds at most 100 labels; either limit conflicts.

post/v1/mailboxes/{id}/labels

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/mailboxes/{id}/labels
  • Auth: API key in header x-api-key

Path parameters

idstring required

Request body

slugstring required
displayNamestring required
color'billing' | 'domain' | 'agent' | 'routing' | 'important' | 'neutral' nullable

Response

Success

idstring required
slugstring required
displayNamestring required
color'billing' | 'domain' | 'agent' | 'routing' | 'important' | 'neutral' nullable required
createdAtstring required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.