action sakari_messages_send { label: "Send Messages" provider: sakari method: POST path: "/v1/accounts/{accountId}/messages" encoding: json input: { type: "object" properties: { contacts: { type: "array" items: { type: "object" } } conversationStrategy: { type: "string" } conversations: { type: "array" description: "List of conversation ids to send messages to" items: { type: "string" } } filters: { type: "object" properties: { attributes: { type: "array" items: { type: "object" } } tags: { type: "array" items: { type: "string" } } } } media: { type: "array" description: "List of media objects to attach to message" items: { type: "object" properties: { url: { type: "string" } } } } phoneNumberFilter: { type: "object" properties: { group: { type: "object" properties: { id: { type: "string" } } } } } template: { type: "string" } type: { type: "string" enum: ["SMS", "MMS"] } } } output: { type: "object" properties: { data: { type: "object" properties: { estimatedPrice: { type: "number" format: "double" } invalid: { type: "array" items: { type: "object" } } jobId: { type: "string" } messages: { type: "array" items: { type: "object" properties: { contact: { type: "object" properties: { email: { type: "string" } firstName: { type: "string" } id: { type: "string" } lastName: { type: "string" } mobile: { type: "object" properties: { country: { type: "string" } number: { type: "string" } } } } } conversation: { type: "object" properties: { id: { type: "string" } } } created: { type: "object" properties: { at: { type: "string" format: "date-time" } by: { type: "object" properties: { firstName: { type: "string" } id: { type: "string" } lastName: { type: "string" } } } } } error: { type: "object" properties: { code: { type: "string" } description: { type: "string" } } } id: { type: "string" } media: { type: "array" description: "List of media objects attached to message" items: { type: "object" properties: { filename: { type: "string" } type: { type: "string" } url: { type: "string" } } } } message: { type: "string" } outgoing: { type: "boolean" } phoneNumber: { type: "string" } price: { type: "number" } read: { type: "boolean" } segments: { type: "number" } status: { type: "string" } template: { type: "string" } updated: { type: "object" additionalProperties: true } } } } requested: { type: "integer" } valid: { type: "integer" } } } } } }