Properties
| Name | Type | Description |
|---|---|---|
| subject | string | Message subject (title) |
| content | string | Message body in HTML format |
| status | string | Set to "active" to publish immediately |
| category_id | integer | Optional message category ID |
| subscriptions | array | Person IDs to notify about this message |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/basecamp/json-schema/messagecreaterequest-schema.json",
"title": "MessageCreateRequest",
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "string",
"description": "Message subject (title)"
},
"content": {
"type": "string",
"description": "Message body in HTML format"
},
"status": {
"type": "string",
"description": "Set to \"active\" to publish immediately",
"enum": [
"active",
"draft"
]
},
"category_id": {
"type": "integer",
"description": "Optional message category ID"
},
"subscriptions": {
"type": "array",
"description": "Person IDs to notify about this message",
"items": {
"type": "integer"
}
}
}
}