Gladly · Capability

Gladly REST API — Business Hours

Gladly REST API — Business Hours. 5 operations. Self-contained Naftiko capability covering the Business Hours business surface of the Gladly Customer Service Platform.

Gladly REST API — Business Hours is a Naftiko capability published by Gladly, one of 21 capabilities the APIs.io network indexes for this provider. It bundles 5 operations across the GET, POST, PUT, and DELETE methods rooted at /v1/api/v1/business-hours.

The capability includes 2 read-only operations and 3 state-changing operations. Lead operation: List Business Hours. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Gladly, Business Hours, and Customer Service.

Run with Naftiko GladlyBusiness HoursCustomer Service

What You Can Do

GET
Getbusinesshours — List Business Hours
/v1/api/v1/business-hours
POST
Createbusinesshours — Create Business Hours
/v1/api/v1/business-hours
GET
Getbusinesshoursbyid — Get Business Hours
/v1/api/v1/business-hours/{businessHoursId}
PUT
Updatebusinesshours — Update Business Hours
/v1/api/v1/business-hours/{businessHoursId}
DELETE
Deletebusinesshours — Delete Business Hours
/v1/api/v1/business-hours/{businessHoursId}

MCP Tools

gladly-getBusinessHours

List Business Hours

read-only idempotent
gladly-createBusinessHours

Create Business Hours

gladly-getBusinessHoursById

Get Business Hours

read-only idempotent
gladly-updateBusinessHours

Update Business Hours

idempotent
gladly-deleteBusinessHours

Delete Business Hours

idempotent

Capability Spec

gladly-business-hours.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gladly REST API — Business Hours
  description: Gladly REST API — Business Hours. 5 operations. Self-contained Naftiko capability covering the Business Hours
    business surface of the Gladly Customer Service Platform.
  tags:
  - Gladly
  - Business Hours
  - Customer Service
  created: '2026-05-24'
  modified: '2026-05-24'
binds:
- namespace: env
  keys:
    GLADLY_ORGANIZATION: GLADLY_ORGANIZATION
    GLADLY_AGENT_EMAIL: GLADLY_AGENT_EMAIL
    GLADLY_API_TOKEN: GLADLY_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: gladly-business-hours
    baseUri: https://{{env.GLADLY_ORGANIZATION}}.gladly.com
    description: Gladly REST API — Business Hours business capability.
    resources:
    - name: api-v1-business-hours
      path: /api/v1/business-hours
      operations:
      - name: getBusinessHours
        method: GET
        description: List Business Hours
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
      - name: createBusinessHours
        method: POST
        description: Create Business Hours
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
          description: Request body (JSON).
    - name: api-v1-business-hours-businessHoursId
      path: /api/v1/business-hours/{businessHoursId}
      operations:
      - name: getBusinessHoursById
        method: GET
        description: Get Business Hours
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
      - name: updateBusinessHours
        method: PUT
        description: Update Business Hours
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
          description: Request body (JSON).
      - name: deleteBusinessHours
        method: DELETE
        description: Delete Business Hours
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
    authentication:
      type: basic
      username: '{{env.GLADLY_AGENT_EMAIL}}'
      password: '{{env.GLADLY_API_TOKEN}}'
  exposes:
  - type: rest
    namespace: gladly-business-hours-rest
    port: 8080
    description: REST adapter for Gladly Business Hours.
    resources:
    - path: /v1/api/v1/business-hours
      name: api-v1-business-hours
      description: REST surface for api-v1-business-hours.
      operations:
      - method: GET
        name: getBusinessHours
        description: List Business Hours
        call: gladly-business-hours.getBusinessHours
        with: {}
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/business-hours
      name: api-v1-business-hours
      description: REST surface for api-v1-business-hours.
      operations:
      - method: POST
        name: createBusinessHours
        description: Create Business Hours
        call: gladly-business-hours.createBusinessHours
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/business-hours/{businessHoursId}
      name: api-v1-business-hours-businessHoursId
      description: REST surface for api-v1-business-hours-businessHoursId.
      operations:
      - method: GET
        name: getBusinessHoursById
        description: Get Business Hours
        call: gladly-business-hours.getBusinessHoursById
        with: {}
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/business-hours/{businessHoursId}
      name: api-v1-business-hours-businessHoursId
      description: REST surface for api-v1-business-hours-businessHoursId.
      operations:
      - method: PUT
        name: updateBusinessHours
        description: Update Business Hours
        call: gladly-business-hours.updateBusinessHours
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/business-hours/{businessHoursId}
      name: api-v1-business-hours-businessHoursId
      description: REST surface for api-v1-business-hours-businessHoursId.
      operations:
      - method: DELETE
        name: deleteBusinessHours
        description: Delete Business Hours
        call: gladly-business-hours.deleteBusinessHours
        with: {}
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gladly-business-hours-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gladly Business Hours.
    tools:
    - name: gladly-getBusinessHours
      description: List Business Hours
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gladly-business-hours.getBusinessHours
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: gladly-createBusinessHours
      description: Create Business Hours
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gladly-business-hours.createBusinessHours
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: gladly-getBusinessHoursById
      description: Get Business Hours
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gladly-business-hours.getBusinessHoursById
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: gladly-updateBusinessHours
      description: Update Business Hours
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: gladly-business-hours.updateBusinessHours
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: gladly-deleteBusinessHours
      description: Delete Business Hours
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: gladly-business-hours.deleteBusinessHours
      with: {}
      outputParameters:
      - type: object
        mapping: $.