# Cloud SMS REST API

## Service: messaging.api.enfonica.com

To call this service, we recommend that you use a supported Enfonica [client library](/docs/libraries/overview/). If a client library is not available in your language or framework of choice, or if you need to write your own client, use the following information when you make API requests.

### Service endpoint

Cloud SMS has the following service endpoint and all URIs in the Cloud SMS REST API reference are relative to this service endpoint:

- `https://messaging.api.enfonica.com`

## REST Resource: [v1.projects.messages](/docs/cloud-sms/api-reference/rest/v1/projects.messages/overview/)

Methods | &nbsp;
--|--
<span class="e-code">[create](/docs/cloud-sms/api-reference/rest/v1/projects.messages/create/)</span> | <span class="e-code">POST /v1/{parent}/messages</span><br/>Creates a Message and queues it for sending. Returns the created message.<br/><br/>The caller must have `messaging.messages.create` permission on the project.
<span class="e-code">[get](/docs/cloud-sms/api-reference/rest/v1/projects.messages/get/)</span> | <span class="e-code">GET /v1/{name}</span><br/>Retrieves a Message identified by the supplied resource name.<br/><br/>The caller must have `messaging.messages.get` permission on the project.
<span class="e-code">[list](/docs/cloud-sms/api-reference/rest/v1/projects.messages/list/)</span> | <span class="e-code">GET /v1/{parent}/messages</span><br/>Lists the Messages of the specified project. List returns Messages sorted by create_time descending.<br/><br/>The caller must have `messaging.messages.list` permission on the project.

## REST Resource: [v1.projects.unsubscribers](/docs/cloud-sms/api-reference/rest/v1/projects.unsubscribers/overview/)

Methods | &nbsp;
--|--
<span class="e-code">[create](/docs/cloud-sms/api-reference/rest/v1/projects.unsubscribers/create/)</span> | <span class="e-code">POST /v1/{parent}/unsubscribers</span><br/>Creates an unsubscriber.<br/><br/>The caller must have `messaging.unsubscribers.create` permission on the project.
<span class="e-code">[get](/docs/cloud-sms/api-reference/rest/v1/projects.unsubscribers/get/)</span> | <span class="e-code">GET /v1/{name}</span><br/>Retrieves a Unsubscriber identified by the supplied resource name.<br/><br/>The caller must have `messaging.unsubscribers.get` permission on the project.
<span class="e-code">[list](/docs/cloud-sms/api-reference/rest/v1/projects.unsubscribers/list/)</span> | <span class="e-code">GET /v1/{parent}/unsubscribers</span><br/>Lists the Unsubscribers of the specified project. List returns Unsubscribers sorted by create_time descending.<br/><br/>The caller must have `messaging.unsubscribers.list` permission on the project.
<span class="e-code">[update](/docs/cloud-sms/api-reference/rest/v1/projects.unsubscribers/update/)</span> | <span class="e-code">PATCH /v1/{unsubscriber.name}</span><br/>Updates an unsubscriber.<br/><br/>The caller must have `messaging.unsubscribers.update` permission on the project.
<span class="e-code">[delete](/docs/cloud-sms/api-reference/rest/v1/projects.unsubscribers/delete/)</span> | <span class="e-code">DELETE /v1/{name}</span><br/>Deletes an unsubscriber.<br/><br/>The caller must have `messaging.unsubscribers.delete` permission on the project.

