---
title: "GET /v1/Services/{ServiceSid}/Roles"
method: GET
path: "/v1/Services/{ServiceSid}/Roles"
tags: ["ChatV1Role"]
---

# GET /v1/Services/{ServiceSid}/Roles

`GET /v1/Services/{ServiceSid}/Roles`

## Path parameters

- `ServiceSid` string, required

## Query parameters

- `PageSize` integer
- `Page` integer
- `PageToken` string

## Response `200`

OK

- object
  - `roles` ChatV1ServiceRole[]
    - `sid` string, nullable — The unique string that we created to identify the Role resource.
    - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Role resource.
    - `service_sid` string, nullable — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) the resource is associated with.
    - `friendly_name` string, nullable — The string that you assigned to describe the resource.
    - `type` 'channel' | 'deployment' — The type of role. Can be: `channel` for [Channel](https://www.twilio.com/docs/chat/api/channels) roles or `deployment` for [Service](https://www.twilio.com/docs/chat/api/services) roles.
    - `permissions` string[], nullable — An array of the permissions the role has been granted, formatted as a JSON string.
    - `date_created` string, date-time, nullable — The date and time in GMT when the resource was created specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
    - `date_updated` string, date-time, nullable — The date and time in GMT when the resource was last updated specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
    - `url` string, uri, nullable — The absolute URL of the Role resource.
  - `meta` object
    - `first_page_url` string, uri
    - `key` string
    - `next_page_url` string, uri, nullable
    - `page` integer
    - `page_size` integer
    - `previous_page_url` string, uri, nullable
    - `url` string, uri

---

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