# Create invite **POST /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites** Pending invitations to users to become channel members ## Servers - https://chat.twilio.com: https://chat.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **ServiceSid** (string) The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to create the resource under. - **ChannelSid** (string) The SID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the new resource belongs to. ### Body: application/x-www-form-urlencoded (object) - **Identity** (string) The `identity` value that uniquely identifies the new resource's [User](https://www.twilio.com/docs/api/chat/rest/v1/user) within the [Service](https://www.twilio.com/docs/api/chat/rest/v1/service). See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more info. - **RoleSid** (string) The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) assigned to the new member. ## Responses ### 201 Created #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **sid** (string | null) The unique string that we created to identify the Invite resource. - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Invite resource. - **channel_sid** (string | null) The SID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the resource belongs to. - **service_sid** (string | null) The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) the resource is associated with. - **identity** (string | null) The application-defined string that uniquely identifies the resource's [User](https://www.twilio.com/docs/api/chat/rest/users) within the [Service](https://www.twilio.com/docs/api/chat/rest/services). See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more info. - **date_created** (string(date-time) | null) 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) | null) The date and time in GMT when the resource was last updated specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format. - **role_sid** (string | null) The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) assigned to the resource. - **created_by** (string | null) The `identity` of the User that created the invite. - **url** (string(uri) | null) The absolute URL of the Invite resource. [Powered by Bump.sh](https://bump.sh)