Create Inbox Label
create-inbox-labelCreate a label in a Resend inbox. A label is a tag the threads in that inbox can carry. Creating one does not put it on anything: pass the ID this returns to update-inbox-thread to apply it to a thread.
Instructions
Create a label in a Resend inbox. A label is a tag the threads in that inbox can carry. Creating one does not put it on anything: pass the ID this returns to update-inbox-thread to apply it to a thread. Resend picks a color when you omit one. Label names are unique per inbox, ignoring case, and an inbox can have at most 100 labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the label, shown on every thread that carries it. Max 64 characters. | |
| color | No | Color for the label as a hex code, like #E93D82. Omit to let Resend pick one. | |
| inboxId | Yes | Inbox ID |