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, SDK Go, and SDK Java.
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.
- Creation/deletion of topics and subscriptions can only be performed through the KakaoCloud Console.
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 issued access key.
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.
Obtain 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.
-
Issue 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