---
title: "Get Service Contracts"
method: GET
path: "/service_contract"
---

# Get Service Contracts

`GET /service_contract`

## Query parameters

- `page` integer
- `count` integer
- `sort` 'DESC' | 'ASC'
- `sort_by` 'contract_number' | 'end_date' | 'created_at'
- `filter.keyword` string
- `filter.is_active` boolean
- `filter.is_deleted` boolean
- `filter.custom_field` object
- `filter.organization_uid` string
- `filter.updated_at_from` string, date
- `filter.updated_at_to` string, date
- `filter.is_expired` boolean
- `filter.approval_status` boolean
- `filter.contract_total_from` integer
- `filter.contract_total_to` integer
- `filter.await_approval_by` string
- `filter.customer` string
- `filter.end_from` string, date
- `filter.end_to` string, date
- `filter.asset` string
- `filter.updated_at` string, date
- `filter.contract_uid` string
- `filter.expiring_fd` string, date
- `filter.expiring_td` string, date
- `filter.property` string

## Response `200`

200

- object
  - `type` string
  - `data` object[]
    - `contract_uid` string
    - `customer` object
      - `customer_uid` string
      - `customer_first_name` string
      - `customer_last_name` string
      - `customer_company_name` string
      - `customer_email` string
      - `is_active` boolean
      - `is_deleted` boolean
      - `customer_contact_no` object
        - `mobile` string
    - `organization` object
      - `is_deleted` boolean
      - `organization_address` object
        - `city` string
        - `state` string
        - `street` string
        - `country` string
        - `landmark` string
        - `zip_code` string
        - `geo_cordinates` number[]
        - `first_name` string
        - `last_name` string
        - `phone_number` string
        - `email` string
      - `organization_name` string
      - `organization_logo` string
      - `organization_email` string
      - `organization_description` unknown
      - `organization_uid` string
      - `no_of_customers` integer
    - `ref_no` string
    - `contract_name` string
    - `start_date` string
    - `end_date` string
    - `term_months` integer
    - `activation_date` string
    - `approval_status` string
    - `await_approval_by` object
    - `custom_fields` object[]
      - `label` string
      - `value` string
      - `type` string
      - `hide_to_fe` boolean
      - `hide_field` boolean
      - `read_only` boolean
      - `_id` string
    - `invoice_settings` object
      - `auto_generate` boolean
      - `billing_period` object
        - `billing_period_uid` string
        - `billing_period_name` string
        - `billing_period_type` string
        - `billing_period_value` integer
        - `is_deleted` boolean
        - `is_active` boolean
      - `generate_invoice_days` integer
      - `payment_term` object
        - `payment_term_name` string
        - `no_of_days` integer
        - `payment_term_uid` string
      - `invoice_template` string
      - `send_to_customer` boolean
    - `contract_subtotal` integer
    - `contract_total` integer
    - `created_by` object
      - `user_uid` string
      - `first_name` string
      - `last_name` string
      - `email` string
      - `external_login_id` unknown
      - `home_phone_number` unknown
      - `designation` string
      - `emp_code` string
      - `prefix` unknown
      - `work_phone_number` unknown
      - `mobile_phone_number` unknown
      - `profile_picture` string
      - `hourly_labor_charge` integer
      - `is_active` boolean
      - `is_deleted` boolean
      - `created_at` string
      - `updated_at` string
    - `is_active` boolean
    - `is_expired` boolean
    - `is_deleted` boolean
    - `created_at` string
    - `updated_at` string
    - `contract_number` integer
    - `id` string
  - `total_records` integer
  - `current_page` integer
  - `total_pages` integer

## Other responses

- `400` — 400
- `500` — 500

---

[API](https://skmtc.net/zuper/apis/zuper-pro-api.md) · [All operations](https://skmtc.net/zuper/apis/zuper-pro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuper/zuper-pro-api/revisions/c7b8028a05de/schema)
