Adding a Subscription
Scenarios
To enable an endpoint to receive messages published to a topic, you must subscribe the endpoint to the topic. The endpoint can be a phone number, email address, or an HTTP/HTTPS URL. After you subscribe an endpoint to a topic and the subscription is confirmed, the endpoint can receive messages published to the topic.
You can add multiple subscriptions to a topic. This section describes how to add a subscription to a topic you created or a topic that you have permissions for.
Adding a Subscription
- Log in to the management console.
- In the upper left corner of the page, click and select the desired region and project.
- Select Simple Message Notification under Application.
The SMN console is displayed.
- In the navigation pane on the left, choose Topic Management > Subscriptions.
- In the upper right corner, click Add Subscription.
The Add Subscription dialog box is displayed.
- Specify the required subscription information.
- Beside Topic Name, click Select Topic.
- Specify the subscription protocol and endpoints.
- Click OK.
The subscription you added is displayed in the subscription list.
- To prevent malicious users from attacking subscription endpoints, SMN limits the number of confirmation messages that can be sent to an endpoint within a specified period. For details, see section "Traffic Control on Subscription Confirmation" in Simple Message Notification User Guide.
- SMN does not check whether subscription endpoints exist when you add subscriptions.
- After you add a subscription or request subscription confirmation, SMN will send a confirmation message to the endpoints, and the link in the confirmation message will be valid for 48 hours.
- Subscription confirmation messages will be counted as messages sent and will be billed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.