Assurant · Capability

Assurant APEX Embedded Insurance API — Enrollments

Assurant APEX Embedded Insurance API — Enrollments. 1 operations. Lead operation: Create enrollment. Self-contained Naftiko capability covering one Assurant business surface.

Run with Naftiko AssurantEnrollments

What You Can Do

POST
Createenrollment — Create enrollment
/v1/enrollments

MCP Tools

create-enrollment

Create enrollment

Capability Spec

apex-insurance-enrollments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Assurant APEX Embedded Insurance API — Enrollments
  description: 'Assurant APEX Embedded Insurance API — Enrollments. 1 operations. Lead operation: Create enrollment. Self-contained
    Naftiko capability covering one Assurant business surface.'
  tags:
  - Assurant
  - Enrollments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ASSURANT_API_KEY: ASSURANT_API_KEY
capability:
  consumes:
  - type: http
    namespace: apex-insurance-enrollments
    baseUri: https://api-prod.portal.assurant.com
    description: Assurant APEX Embedded Insurance API — Enrollments business capability. Self-contained, no shared references.
    resources:
    - name: enrollments
      path: /enrollments
      operations:
      - name: createenrollment
        method: POST
        description: Create enrollment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ASSURANT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: apex-insurance-enrollments-rest
    port: 8080
    description: REST adapter for Assurant APEX Embedded Insurance API — Enrollments. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/enrollments
      name: enrollments
      description: REST surface for enrollments.
      operations:
      - method: POST
        name: createenrollment
        description: Create enrollment
        call: apex-insurance-enrollments.createenrollment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apex-insurance-enrollments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Assurant APEX Embedded Insurance API — Enrollments. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: create-enrollment
      description: Create enrollment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apex-insurance-enrollments.createenrollment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.