{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"A label is a named, colored tag that belongs to one inbox. An inbox can have at most 100 labels. Label names are unique per inbox, compared without case. A duplicate name or a full inbox returns a 422 validation_error.","properties":{"path":{"type":"object","properties":{"inbox_id":{"type":"string","examples":["b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"],"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any other value must be a UUID, or the request returns a 422. The address match is case-insensitive and never falls back to the inbox `name`. An address that matches no inbox returns a 404."}},"required":["inbox_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/CreateInboxLabelOptions"}},"required":["path","body"],"additionalProperties":false,"definitions":{"CreateInboxLabelOptions":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":64,"description":"The name of the label. Max 64 characters. Leading and trailing whitespace is trimmed. Must not match another label on the inbox, compared without case.","examples":["Urgent"]},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","description":"The color of the label, as a `#RRGGBB` hex color. It is stored in uppercase. When omitted, a random color from the dashboard palette is used.","examples":["#E93D82"]}}}}},"name":"Create a label on an inbox","id":"resend.inboxes.create-label","example":{"path":{"inbox_id":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},"body":{"name":"Urgent"}},"maxRequests":1,"summary":false}}