---
title: "POST /v2/Services/{ServiceSid}/Roles"
method: POST
path: "/v2/Services/{ServiceSid}/Roles"
tags: ["IpMessagingV2Role"]
---

# POST /v2/Services/{ServiceSid}/Roles

`POST /v2/Services/{ServiceSid}/Roles`

## Path parameters

- `ServiceSid` string, required

## Response `201`

Created

- IpMessagingV2ServiceRole
  - `sid` string, nullable
  - `account_sid` string, nullable
  - `service_sid` string, nullable
  - `friendly_name` string, nullable
  - `type` 'channel' | 'deployment'
  - `permissions` string[], nullable
  - `date_created` string, date-time, nullable
  - `date_updated` string, date-time, nullable
  - `url` string, uri, nullable

## Changes

- **2023-08-10** (v2) `03de90f08481` — 1 info
  - api tag `IpMessagingV2Role` added

[Change history](https://skmtc.dev/twilio/apis/twilio-ip-messaging/changes/v2/Services/:ServiceSid/Roles/post.md)

---

[API](https://skmtc.dev/twilio/apis/twilio-ip-messaging.md) · [All operations](https://skmtc.dev/twilio/apis/twilio-ip-messaging/llms.txt) · [OpenAPI document](https://skmtc.dev/twilio/apis/twilio-ip-messaging/revisions/eea0491dbd91?raw)
