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

# POST /v1/Services/{ServiceSid}/Roles/{Sid}

`POST /v1/Services/{ServiceSid}/Roles/{Sid}`

## Path parameters

- `ServiceSid` string, required
- `Sid` string, required

## Response `200`

OK

- 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.

---

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