naftiko: 1.0.0-alpha2 info: label: Core API — Contact Lists description: 'Core API — Contact Lists. 10 operations. Lead operation: List contact lists. Self-contained Naftiko capability covering one Front business surface.' tags: - Front - Contact Lists created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRONT_API_KEY: FRONT_API_KEY capability: consumes: - type: http namespace: core-contact-lists baseUri: https://api2.frontapp.com description: Core API — Contact Lists business capability. Self-contained, no shared references. resources: - name: contact_lists path: /contact_lists operations: - name: listcontactlists method: GET description: List contact lists outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcontactlist method: POST description: Create contact list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: contact_lists-contact_list_id path: /contact_lists/{contact_list_id} operations: - name: deletecontactlist method: DELETE description: Delete contact list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contact_list_id in: path type: string description: The contact list ID required: true - name: contact_lists-contact_list_id-contacts path: /contact_lists/{contact_list_id}/contacts operations: - name: listcontactsincontactlist method: GET description: List contacts in contact list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contact_list_id in: path type: string description: The contact list ID required: true - name: addcontactstocontactlist method: POST description: Add contacts to contact list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contact_list_id in: path type: string description: The contact list ID required: true - name: body in: body type: object description: Request body (JSON). required: false - name: removecontactsfromcontactlist method: DELETE description: Remove contacts from contact list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contact_list_id in: path type: string description: The contact list ID required: true - name: body in: body type: object description: Request body (JSON). required: false - name: teammates-teammate_id-contact_lists path: /teammates/{teammate_id}/contact_lists operations: - name: listteammatecontactlists method: GET description: List teammate contact lists outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teammate_id in: path type: string description: The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). required: true - name: createteammatecontactlist method: POST description: Create teammate contact list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teammate_id in: path type: string description: The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). required: true - name: body in: body type: object description: Request body (JSON). required: false - name: teams-team_id-contact_lists path: /teams/{team_id}/contact_lists operations: - name: listteamcontactlists method: GET description: List team contact lists outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: team_id in: path type: string description: The team ID required: true - name: createteamcontactlist method: POST description: Create team contact list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: team_id in: path type: string description: The team ID required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.FRONT_API_KEY}}' exposes: - type: rest namespace: core-contact-lists-rest port: 8080 description: REST adapter for Core API — Contact Lists. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/contact-lists name: contact-lists description: REST surface for contact_lists. operations: - method: GET name: listcontactlists description: List contact lists call: core-contact-lists.listcontactlists outputParameters: - type: object mapping: $. - method: POST name: createcontactlist description: Create contact list call: core-contact-lists.createcontactlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/contact-lists/{contact-list-id} name: contact-lists-contact-list-id description: REST surface for contact_lists-contact_list_id. operations: - method: DELETE name: deletecontactlist description: Delete contact list call: core-contact-lists.deletecontactlist with: contact_list_id: rest.contact_list_id outputParameters: - type: object mapping: $. - path: /v1/contact-lists/{contact-list-id}/contacts name: contact-lists-contact-list-id-contacts description: REST surface for contact_lists-contact_list_id-contacts. operations: - method: GET name: listcontactsincontactlist description: List contacts in contact list call: core-contact-lists.listcontactsincontactlist with: contact_list_id: rest.contact_list_id outputParameters: - type: object mapping: $. - method: POST name: addcontactstocontactlist description: Add contacts to contact list call: core-contact-lists.addcontactstocontactlist with: contact_list_id: rest.contact_list_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removecontactsfromcontactlist description: Remove contacts from contact list call: core-contact-lists.removecontactsfromcontactlist with: contact_list_id: rest.contact_list_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teammates/{teammate-id}/contact-lists name: teammates-teammate-id-contact-lists description: REST surface for teammates-teammate_id-contact_lists. operations: - method: GET name: listteammatecontactlists description: List teammate contact lists call: core-contact-lists.listteammatecontactlists with: teammate_id: rest.teammate_id outputParameters: - type: object mapping: $. - method: POST name: createteammatecontactlist description: Create teammate contact list call: core-contact-lists.createteammatecontactlist with: teammate_id: rest.teammate_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/contact-lists name: teams-team-id-contact-lists description: REST surface for teams-team_id-contact_lists. operations: - method: GET name: listteamcontactlists description: List team contact lists call: core-contact-lists.listteamcontactlists with: team_id: rest.team_id outputParameters: - type: object mapping: $. - method: POST name: createteamcontactlist description: Create team contact list call: core-contact-lists.createteamcontactlist with: team_id: rest.team_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: core-contact-lists-mcp port: 9090 transport: http description: MCP adapter for Core API — Contact Lists. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-contact-lists description: List contact lists hints: readOnly: true destructive: false idempotent: true call: core-contact-lists.listcontactlists outputParameters: - type: object mapping: $. - name: create-contact-list description: Create contact list hints: readOnly: false destructive: false idempotent: false call: core-contact-lists.createcontactlist with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-contact-list description: Delete contact list hints: readOnly: false destructive: true idempotent: true call: core-contact-lists.deletecontactlist with: contact_list_id: tools.contact_list_id outputParameters: - type: object mapping: $. - name: list-contacts-contact-list description: List contacts in contact list hints: readOnly: true destructive: false idempotent: true call: core-contact-lists.listcontactsincontactlist with: contact_list_id: tools.contact_list_id outputParameters: - type: object mapping: $. - name: add-contacts-contact-list description: Add contacts to contact list hints: readOnly: false destructive: false idempotent: false call: core-contact-lists.addcontactstocontactlist with: contact_list_id: tools.contact_list_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-contacts-contact-list description: Remove contacts from contact list hints: readOnly: false destructive: true idempotent: true call: core-contact-lists.removecontactsfromcontactlist with: contact_list_id: tools.contact_list_id body: tools.body outputParameters: - type: object mapping: $. - name: list-teammate-contact-lists description: List teammate contact lists hints: readOnly: true destructive: false idempotent: true call: core-contact-lists.listteammatecontactlists with: teammate_id: tools.teammate_id outputParameters: - type: object mapping: $. - name: create-teammate-contact-list description: Create teammate contact list hints: readOnly: false destructive: false idempotent: false call: core-contact-lists.createteammatecontactlist with: teammate_id: tools.teammate_id body: tools.body outputParameters: - type: object mapping: $. - name: list-team-contact-lists description: List team contact lists hints: readOnly: true destructive: false idempotent: true call: core-contact-lists.listteamcontactlists with: team_id: tools.team_id outputParameters: - type: object mapping: $. - name: create-team-contact-list description: Create team contact list hints: readOnly: false destructive: false idempotent: false call: core-contact-lists.createteamcontactlist with: team_id: tools.team_id body: tools.body outputParameters: - type: object mapping: $.