API overview
Pub/Sub API is an interface for managing resources through code-based programming.
You can use KakaoCloud's Pub/Sub in a code-based manner through REST API and SDK Go.
API introduction
- Responses to API requests are provided in
JSON
format. - To use the API, you need to obtain an access key ID and a secret access key.
You can only access resources within the project to which the access key belongs.
Therefore, when making API calls, the domain and project should be set with the information that includes the access key you have created.
For subscriptions linked to the Default-Topic and Default-Topic, API requests on this page are not permitted; only the pull/acknowledge requests outlined in the Receive messages are allowed.
Preparation
To use the APIs provided by Pub/Sub, the following information is required.
Get access key
To acquire a user authentication token (API authentication token), you must obtain an access key and then issue an access key ID and a secret access key.
-
Create an access key with your credentials by going to KakaoCloud Console > User profile (Top right) > Access key.
-
After issuing the Access key, obtain the Access key ID and secret access key.
- For details, refer to the API Preparation.
API endpoint URL
The Pub/Sub endpoint is as follows.
https://pub-sub.kr-central-2.kakaocloud.com