Unified.to · Capability

Unified.to API — insertionorder

Unified.to API — insertionorder. 6 operations. Lead operation: List All Insertionorders. Self-contained Naftiko capability covering one Unified To business surface.

Run with Naftiko Unified Toinsertionorder

What You Can Do

GET
Listadsinsertionorders — List All Insertionorders
/v1/ads/{connection-id}/insertionorder
POST
Createadsinsertionorder — Create an Insertionorder
/v1/ads/{connection-id}/insertionorder
DELETE
Removeadsinsertionorder — Remove an Insertionorder
/v1/ads/{connection-id}/insertionorder/{id}
GET
Getadsinsertionorder — Retrieve an Insertionorder
/v1/ads/{connection-id}/insertionorder/{id}
PATCH
Patchadsinsertionorder — Update an Insertionorder
/v1/ads/{connection-id}/insertionorder/{id}
PUT
Updateadsinsertionorder — Update an Insertionorder
/v1/ads/{connection-id}/insertionorder/{id}

MCP Tools

list-all-insertionorders

List All Insertionorders

read-only idempotent
create-insertionorder

Create an Insertionorder

remove-insertionorder

Remove an Insertionorder

idempotent
retrieve-insertionorder

Retrieve an Insertionorder

read-only idempotent
update-insertionorder

Update an Insertionorder

idempotent
update-insertionorder-2

Update an Insertionorder

idempotent

Capability Spec

full-insertionorder.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified.to  API — insertionorder
  description: 'Unified.to  API — insertionorder. 6 operations. Lead operation: List All Insertionorders. Self-contained Naftiko
    capability covering one Unified To business surface.'
  tags:
  - Unified To
  - insertionorder
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
  consumes:
  - type: http
    namespace: full-insertionorder
    baseUri: https://api.unified.to
    description: Unified.to  API — insertionorder business capability. Self-contained, no shared references.
    resources:
    - name: ads-connection_id-insertionorder
      path: /ads/{connection_id}/insertionorder
      operations:
      - name: listadsinsertionorders
        method: GET
        description: List All Insertionorders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: org_id
          in: query
          type: string
          description: The org ID to filter by (reference to AdsOrganization)
        - name: campaign_id
          in: query
          type: string
          description: The campaign ID to filter by
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createadsinsertionorder
        method: POST
        description: Create an Insertionorder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ads-connection_id-insertionorder-id
      path: /ads/{connection_id}/insertionorder/{id}
      operations:
      - name: removeadsinsertionorder
        method: DELETE
        description: Remove an Insertionorder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Insertionorder
          required: true
      - name: getadsinsertionorder
        method: GET
        description: Retrieve an Insertionorder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Insertionorder
          required: true
      - name: patchadsinsertionorder
        method: PATCH
        description: Update an Insertionorder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Insertionorder
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updateadsinsertionorder
        method: PUT
        description: Update an Insertionorder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Insertionorder
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: authorization
      value: '{{env.UNIFIED_TO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: full-insertionorder-rest
    port: 8080
    description: REST adapter for Unified.to  API — insertionorder. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/ads/{connection-id}/insertionorder
      name: ads-connection-id-insertionorder
      description: REST surface for ads-connection_id-insertionorder.
      operations:
      - method: GET
        name: listadsinsertionorders
        description: List All Insertionorders
        call: full-insertionorder.listadsinsertionorders
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          org_id: rest.org_id
          campaign_id: rest.campaign_id
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createadsinsertionorder
        description: Create an Insertionorder
        call: full-insertionorder.createadsinsertionorder
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ads/{connection-id}/insertionorder/{id}
      name: ads-connection-id-insertionorder-id
      description: REST surface for ads-connection_id-insertionorder-id.
      operations:
      - method: DELETE
        name: removeadsinsertionorder
        description: Remove an Insertionorder
        call: full-insertionorder.removeadsinsertionorder
        with:
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getadsinsertionorder
        description: Retrieve an Insertionorder
        call: full-insertionorder.getadsinsertionorder
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchadsinsertionorder
        description: Update an Insertionorder
        call: full-insertionorder.patchadsinsertionorder
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateadsinsertionorder
        description: Update an Insertionorder
        call: full-insertionorder.updateadsinsertionorder
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: full-insertionorder-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unified.to  API — insertionorder. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-insertionorders
      description: List All Insertionorders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: full-insertionorder.listadsinsertionorders
      with:
        limit: tools.limit
        offset: tools.offset
        updated_gte: tools.updated_gte
        sort: tools.sort
        order: tools.order
        query: tools.query
        org_id: tools.org_id
        campaign_id: tools.campaign_id
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
      outputParameters:
      - type: object
        mapping: $.
    - name: create-insertionorder
      description: Create an Insertionorder
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: full-insertionorder.createadsinsertionorder
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-insertionorder
      description: Remove an Insertionorder
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: full-insertionorder.removeadsinsertionorder
      with:
        connection_id: tools.connection_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-insertionorder
      description: Retrieve an Insertionorder
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: full-insertionorder.getadsinsertionorder
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-insertionorder
      description: Update an Insertionorder
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: full-insertionorder.patchadsinsertionorder
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-insertionorder-2
      description: Update an Insertionorder
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: full-insertionorder.updateadsinsertionorder
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.