{"openapi":"3.1.0","info":{"title":"SquareMCP Communications","description":"Manage customer communications from durable context. Draft, review, approve, and publish messages for LinkedIn and other customer channels.","version":"1.0.0"},"servers":[{"url":"https://hermes.squaremcp.com"}],"security":[{"bearerAuth":[]}],"components":{"schemas":{},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/api/communications/profile":{"get":{"operationId":"communications_get_profile","summary":"Get communications profile","description":"Return the connected customer communication profile, including configured channels and brand voice.","responses":{"200":{"description":"Communications profile"}}}},"/api/communications/profile/generate-onboarding":{"post":{"operationId":"communications_generate_onboarding","summary":"Generate communications onboarding","description":"Create onboarding guidance for configuring a customer communications workspace.","responses":{"200":{"description":"Generated onboarding profile"}}}},"/api/communications/examples":{"get":{"operationId":"communications_get_examples","summary":"Get communication examples","description":"Return approved examples for LinkedIn, email, and other customer communication channels.","responses":{"200":{"description":"Communication examples"}}}},"/api/communications/chat":{"post":{"operationId":"communications_chat","summary":"Draft a customer communication","description":"Generate or refine customer-facing copy for the configured communication workflow.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"channel":{"type":"string"},"context":{"type":"string"}}}}}},"responses":{"200":{"description":"Draft communication response"}}}},"/api/communications/drafts/{draft_id}":{"get":{"operationId":"communications_get_draft","summary":"Get communication draft","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Communication draft"}}},"put":{"operationId":"communications_update_draft","summary":"Update communication draft","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated communication draft"}}}},"/api/communications/drafts/{draft_id}/regenerate":{"post":{"operationId":"communications_regenerate_draft","summary":"Regenerate communication draft","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Regenerated communication draft"}}}},"/api/communications/drafts/{draft_id}/reject":{"post":{"operationId":"communications_reject_draft","summary":"Reject communication draft","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Rejected communication draft"}}}},"/api/communications/drafts/{draft_id}/approve":{"post":{"operationId":"communications_approve_draft","summary":"Approve communication draft","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Approved communication draft"}}}},"/api/communications/status":{"get":{"operationId":"communications_get_status","summary":"Get communications workflow status","description":"Return current draft, approval, and channel connection status for the communications workflow.","responses":{"200":{"description":"Communications status"}}}}}}