# Retrieve an SLA rule

You can fetch the details of a single SLA rule, including archived SLA rules.
Requires the `read_conversations` OAuth scope.

Endpoint: GET /sla_rules/{id}
Version: Preview
Security: bearerAuth

## Path parameters:

  - `id` (string, required)
    The unique identifier for the SLA rule.

## Header parameters:

  - `Intercom-Version` (string)

## Response 200 fields (application/json):

  - `type` (string)
    The type of the object - always `sla_rule`.
    Example: sla_rule

  - `id` (string)
    The unique identifier for the SLA rule.
    Example: 12

  - `name` (string)
    The name of the SLA rule. It is unique within the workspace.
    Example: VIP customers

  - `created_at` (integer)
    The time the SLA rule was created as a Unix timestamp.
    Example: 1717200000

  - `updated_at` (integer)
    The time the SLA rule was last updated as a Unix timestamp.
    Example: 1719800000

  - `archived` (boolean)
    Whether the SLA rule is archived.
    Example: false

  - `archived_at` (integer)
    The time the SLA rule was archived as a Unix timestamp, or `null` if it is not archived.
    Example: 1721000000

  - `first_reply_time_in_seconds` (integer)
    The target time in seconds for the first reply, or `null` if no target is set.
    Example: 3600

  - `next_reply_time_in_seconds` (integer)
    The target time in seconds for a teammate to reply to each subsequent customer message, or `null` if no target is set.
    Example: 7200

  - `time_to_close_in_seconds` (integer)
    The target time in seconds for closing the conversation, or `null` if no target is set.
    Example: 172800

  - `resolution_time_in_seconds` (integer)
    The target time in seconds for a ticket to be resolved, or `null` if no target is set.
    Example: 86400

  - `speed_of_answer_in_seconds` (integer)
    The target time in seconds to answer an inbound phone call, or `null` if no target is set. This timer does not pause.
    Example: 120

  - `office_hours_schedule_id` (string)
    The unique identifier for the [office hours schedule](/docs/references/preview/rest-api/api.intercom.io/office-hours/getofficehoursschedule) the SLA rule's timers count against. This is the SLA rule's own schedule if it has one, otherwise the workspace's default schedule. It is `null` if neither exists.
    Example: 123

  - `pause_on_waiting_on_customer` (boolean)
    Whether the SLA rule's timers pause while the conversation is waiting on the customer.
    Example: true

  - `pause_on_snooze` (boolean)
    Whether the SLA rule's timers pause while the conversation is snoozed.
    Example: false

## Response 401 fields (application/json):

  - `type` (string, required)
    The type is error.list
    Example: error.list

  - `request_id` (string)
    Example: f93ecfa8-d08a-4325-8694-89aeb89c8f85

  - `errors` (array, required)
    An array of one or more error objects

  - `errors.code` (string, required)
    A string indicating the kind of error, used to further qualify the HTTP response code
    Example: unauthorized

  - `errors.message` (string)
    Optional. Human readable description of the error.
    Example: Access Token Invalid

  - `errors.field` (string)
    Optional. Used to identify a particular field or query parameter that was in error.
    Example: email

## Response 403 fields (application/json):

  - `type` (string, required)
    The type is error.list
    Example: error.list

  - `request_id` (string)
    Example: f93ecfa8-d08a-4325-8694-89aeb89c8f85

  - `errors` (array, required)
    An array of one or more error objects

  - `errors.code` (string, required)
    A string indicating the kind of error, used to further qualify the HTTP response code
    Example: unauthorized

  - `errors.message` (string)
    Optional. Human readable description of the error.
    Example: Access Token Invalid

  - `errors.field` (string)
    Optional. Used to identify a particular field or query parameter that was in error.
    Example: email

## Response 404 fields (application/json):

  - `type` (string, required)
    The type is error.list
    Example: error.list

  - `request_id` (string)
    Example: f93ecfa8-d08a-4325-8694-89aeb89c8f85

  - `errors` (array, required)
    An array of one or more error objects

  - `errors.code` (string, required)
    A string indicating the kind of error, used to further qualify the HTTP response code
    Example: unauthorized

  - `errors.message` (string)
    Optional. Human readable description of the error.
    Example: Access Token Invalid

  - `errors.field` (string)
    Optional. Used to identify a particular field or query parameter that was in error.
    Example: email

