action sakari_conversations_close { label: "Closes a conversation" provider: sakari method: PUT path: "/v1/accounts/{accountId}/conversations/{conversationId}/close" encoding: json input: { type: "object" properties: { conversationId: { type: "string" } } required: ["conversationId"] additionalProperties: false } output: { type: "object" properties: { data: { type: "object" properties: { closed: { type: "boolean" } 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" } } } } } created: { type: "object" properties: { at: { type: "string" format: "date-time" } by: { type: "object" properties: { firstName: { type: "string" } id: { type: "string" } lastName: { type: "string" } } } } } id: { type: "string" } lastMessage: { type: "object" properties: { contact: { type: "object" additionalProperties: true } conversation: { type: "object" properties: { id: { type: "string" } } } created: { type: "object" additionalProperties: true } 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 } } } phoneNumber: { type: "object" properties: { active: { type: "boolean" } country: { type: "string" } number: { type: "string" } } } unread: { type: "array" items: { type: "string" } } updated: { type: "object" additionalProperties: true } } } success: { type: "boolean" } } } }