Cloud SMS RPC API¶
Service: messaging.api.enfonica.com¶
To call this service, we recommend that you use a supported Enfonica client library. 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:
messaging.api.enfonica.com
Service: enfonica.messaging.v1.Messages¶
CreateMessage |
---|
rpc CreateMessage(CreateMessageRequest) returns (Message) Creates a Message and queues it for sending. Returns the created message. The caller must have messaging.messages.create permission on the project. |
GetMessage |
---|
rpc GetMessage(GetMessageRequest) returns (Message) Retrieves a Message identified by the supplied resource name. The caller must have messaging.messages.get permission on the project. |
ListMessages |
---|
rpc ListMessages(ListMessagesRequest) returns (ListMessagesResponse) Lists the Messages of the specified project. List returns Messages sorted by create_time descending. The caller must have messaging.messages.list permission on the project. |
Service: enfonica.messaging.v1.Unsubscribers¶
CreateUnsubscriber |
---|
rpc CreateUnsubscriber(CreateUnsubscriberRequest) returns (Unsubscriber) Creates an unsubscriber. The caller must have messaging.unsubscribers.create permission on the project. |
DeleteUnsubscriber |
---|
rpc DeleteUnsubscriber(DeleteUnsubscriberRequest) returns (Unsubscriber) Deletes an unsubscriber. The caller must have messaging.unsubscribers.delete permission on the project. |
GetUnsubscriber |
---|
rpc GetUnsubscriber(GetUnsubscriberRequest) returns (Unsubscriber) Retrieves a Unsubscriber identified by the supplied resource name. The caller must have messaging.unsubscribers.get permission on the project. |
ListUnsubscribers |
---|
rpc ListUnsubscribers(ListUnsubscribersRequest) returns (ListUnsubscribersResponse) Lists the Unsubscribers of the specified project. List returns Unsubscribers sorted by create_time descending. The caller must have messaging.unsubscribers.list permission on the project. |
UpdateUnsubscriber |
---|
rpc UpdateUnsubscriber(UpdateUnsubscriberRequest) returns (Unsubscriber) Updates an unsubscriber. The caller must have messaging.unsubscribers.update permission on the project. |