{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Applies one or more labels to the thread. Labels already on the thread stay on it. The response lists every label on the thread after the change. A label ID that is not a label of the inbox returns a 404 `Label not found.`, and nothing changes. A thread that does not exist in the inbox returns a 404 `Thread not found.`. To replace the labels of the thread, use the set thread labels endpoint.","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."},"thread_id":{"type":"string","format":"uuid","description":"The Thread ID."}},"required":["inbox_id","thread_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/AddInboxThreadLabelsOptions"}},"required":["path","body"],"additionalProperties":false,"definitions":{"AddInboxThreadLabelsOptions":{"type":"object","required":["labels"],"properties":{"labels":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"string","format":"uuid"},"description":"The IDs of the labels to apply to the thread. Between 1 and 10 IDs, each a label of the inbox.","examples":[["7f9c1d2e-4a6b-4c3d-8e15-9b0a7c6d5e34"]]}}}}},"name":"Add labels to an inbox thread","id":"resend.inboxes.add-thread-labels","example":{"path":{"inbox_id":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1","thread_id":"00000000-0000-4000-8000-000000000000"},"body":{"labels":["7f9c1d2e-4a6b-4c3d-8e15-9b0a7c6d5e34"]}},"maxRequests":1,"summary":false}}