Amazon Connect Connect Cases API

The Connect Cases API from Amazon Connect — 2 operation(s) for connect cases.

GitHub OpenAPI
Business capability
Customer Service Management BC-430

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /domains/{domainId}/cases Create a case in a Cases domain · Create Case #
Ask an LLM
“How do I open a new case in a Connect Cases domain?”
“Can I set a template and fields when creating a case?”
Tell an agent
Create a case in domain {domainId} using template {templateId} with fields {fields}.
Open a new case in {domainId} from template {templateId}, setting {fields}.
POST /domains/{domainId}/cases/{caseId} Get field values for a case · Get Case #
Ask an LLM
“How do I read the values of specific fields on a case?”
“Can I fetch several fields from a case at once?”
Tell an agent
Get fields {fields} for case {caseId} in domain {domainId}.
Show the values of {fields} on case {caseId} in {domainId}.
PUT /domains/{domainId}/cases/{caseId} Update fields on an existing case · Update Case #
Ask an LLM
“How do I change the values of fields on a case?”
“Can I update a case while a merge is in progress?”
Tell an agent
Update case {caseId} in domain {domainId} with fields {fields}.
Change the field values on existing case {caseId} in {domainId} to {fields}.
DELETE /domains/{domainId}/cases/{caseId} Delete a case and its resources · Delete Case #
Ask an LLM
“How do I permanently delete a case and its data?”
“Can I delete a case that is part of a running merge?”
Tell an agent destructive · confirm first
Delete case {caseId} from domain {domainId}.
Permanently remove case {caseId} and its resources in {domainId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-connect:amazon-connect-cases-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-connect-cases-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Connect Service Cases API
  version: '2017-08-08'
  description: Generated from AWS's published Smithy model for Amazon Connect Service. 4 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://cases.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /domains/{domainId}/cases:
    post:
      operationId: CreateCase
      summary: Create Case
      description: 'If you provide a value for PerformedBy.UserArn, you must also have the connect:DescribeUser permission
        on the user ARN that you provide. Creates a case in the specified Cases domain. Case system and custom fields are
        taken as an array id/value pairs with a declared data types. When creating a case from a template that has tag propagation
        configurations, the specified tags are automatically applied to the case. The following field is always required when
        creating a case: title The following field may be required depending on the template configuration: customer_id -
        Required only if the template''s requiredFields list includes customer_id. When required, provide the full customer
        profile ARN in this format: arn:aws:profile:your_AWS_Region:your_AWS_account_ID:domains/your_profiles_domain_name/profiles/profile_ID.
        When not required, the field is optional and can be omitted, added, changed, or removed after case creation.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateCaseResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesAccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the Cases domain.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                templateId:
                  type: string
                  description: A unique identifier of a template.
                fields:
                  type: array
                  items:
                    $ref: '#/components/schemas/CasesFieldValue'
                  description: An array of objects with field ID (matching ListFields/DescribeField) and value union data.
                clientToken:
                  type: string
                  description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
                    If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency,
                    see Making retries safe with idempotent APIs.
                performedBy:
                  $ref: '#/components/schemas/UserUnion'
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A map of key-value pairs that represent tags on a resource. Tags are used to organize, track,
                    or control access for this resource.
              required:
              - templateId
              - fields
      tags:
      - Cases
  /domains/{domainId}/cases/{caseId}:
    post:
      operationId: GetCase
      summary: Get Case
      description: Returns information about a specific case if it exists.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCaseResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesAccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: caseId
        in: path
        required: true
        schema:
          type: string
        description: A unique identifier of the case.
      - name: domainId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the Cases domain.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                fields:
                  type: array
                  items:
                    $ref: '#/components/schemas/FieldIdentifier'
                  description: A list of unique field identifiers.
                nextToken:
                  type: string
                  description: The token for the next set of results. Use the value returned in the previous response in the
                    next request to retrieve the next set of results.
              required:
              - fields
      tags:
      - Cases
    put:
      operationId: UpdateCase
      summary: Update Case
      description: If you provide a value for PerformedBy.UserArn, you must also have the connect:DescribeUser permission
        on the user ARN that you provide. Updates the values of fields on a case. Fields to be updated are received as an
        array of id/value pairs identical to the CreateCase input. If the case is the secondary case of a merge that is running,
        the request fails with a ConflictException. For more information, see StartMergeCases. If the action is successful,
        the service sends back an HTTP 200 response with an empty HTTP body.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateCaseResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesAccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the Cases domain.
      - name: caseId
        in: path
        required: true
        schema:
          type: string
        description: A unique identifier of the case.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                fields:
                  type: array
                  items:
                    $ref: '#/components/schemas/CasesFieldValue'
                  description: An array of objects with fieldId (matching ListFields/DescribeField) and value union data,
                    structured identical to CreateCase.
                performedBy:
                  $ref: '#/components/schemas/UserUnion'
              required:
              - fields
      tags:
      - Cases
    delete:
      operationId: DeleteCase
      summary: Delete Case
      description: 'The DeleteCase API permanently deletes a case and all its associated resources from the cases data store.
        After a successful deletion, you cannot: Retrieve related items Access audit history Perform any operations that require
        the CaseID You can''t delete a case while it''s part of a merge that is running, as either the primary or the secondary
        case. The request fails with a ConflictException. For more information, see StartMergeCases. This action is irreversible.
        After you delete a case, you cannot recover its data.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteCaseResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesAccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasesThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
        description: A unique identifier of the Cases domain.
      - name: caseId
        in: path
        required: true
        schema:
          type: string
        description: A unique identifier of the case.
      tags:
      - Cases
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: cases
  schemas:
    CasesAccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CasesConflictException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CasesFieldValue:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of a field.
        value:
          $ref: '#/components/schemas/CasesFieldValueUnion'
      required:
      - id
      - value
    CasesFieldValueUnion:
      type: object
      properties:
        stringValue:
          type: string
          description: String value type.
        doubleValue:
          type: number
          description: Can be either null, or have a Double number value type. Only one value can be provided.
        booleanValue:
          type: boolean
          description: Can be either null, or have a Boolean value type. Only one value can be provided.
        emptyValue:
          $ref: '#/components/schemas/EmptyFieldValue'
        userArnValue:
          type: string
          description: Represents the user that performed the audit.
      description: Exactly one member is set.
    CasesResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: Unique identifier of the resource affected.
        resourceType:
          type: string
          description: Type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    CasesThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CreateCaseResponse:
      type: object
      properties:
        caseId:
          type: string
          description: A unique identifier of the case.
        caseArn:
          type: string
          description: The Amazon Resource Name (ARN) of the case.
      required:
      - caseId
      - caseArn
    DeleteCaseResponse:
      type: object
      properties: {}
    EmptyFieldValue:
      type: object
      properties: {}
    FieldIdentifier:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of a field.
      required:
      - id
    GetCaseResponse:
      type: object
      properties:
        fields:
          type: array
          items:
            $ref: '#/components/schemas/CasesFieldValue'
          description: A list of detailed field information.
        templateId:
          type: string
          description: A unique identifier of a template.
        nextToken:
          type: string
          description: The token for the next set of results. This is null if there are no more results to return.
        tags:
          type: object
          additionalProperties:
            type: string
          description: A map of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control
            access for this resource.
      required:
      - fields
      - templateId
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: Advice to clients on when the call can be safely retried.
      required:
      - message
    UpdateCaseResponse:
      type: object
      properties: {}
    UserUnion:
      type: object
      properties:
        userArn:
          type: string
          description: Represents the Connect Customer ARN of the user.
        customEntity:
          type: string
          description: Any provided entity.
      description: Exactly one member is set.
    ValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/connectcases/service/2022-10-03/connectcases-2022-10-03.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)