openapi: 3.1.0 info: title: Kustomer REST Conversations API description: Kustomer is an AI-powered customer service CRM. The REST API exposes resources such as customers and conversations, allowing programmatic integration with the Kustomer platform. Authentication uses a bearer token in the Authorization header. version: '1.0' contact: name: Kustomer Developer Portal url: https://developer.kustomer.com/kustomer-api-docs/reference servers: - url: https://api.kustomerapp.com description: Kustomer API production base URL security: - bearerAuth: [] tags: - name: Conversations description: Conversation threads with customers paths: /v1/conversations: post: tags: - Conversations operationId: createConversation summary: Create a conversation description: Create a new conversation associated with a customer. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ConversationCreate' responses: '200': description: Conversation created content: application/json: schema: $ref: '#/components/schemas/ConversationResponse' '401': description: Missing or invalid bearer token '422': description: Validation error components: schemas: ConversationResponse: type: object properties: type: type: string example: conversation id: type: string attributes: type: object additionalProperties: true ConversationCreate: type: object properties: customer: type: string description: Customer ID this conversation belongs to name: type: string description: Subject or short name of the conversation channel: type: string description: Channel of the conversation (for example email, chat, sms) status: type: string description: Status such as open, snoozed, done securitySchemes: bearerAuth: type: http scheme: bearer description: 'Provide an API key issued from Settings > Security > API Keys in the Kustomer console. Header format: `Authorization: Bearer {API_KEY}`.'