API overview
Pub/Sub API is an interface for managing resources with code.
Use the Pub/Sub API to automate repetitive tasks and handle operations that are difficult to perform in the console. You can use KakaoCloud Pub/Sub through the REST API and Go SDK.
API versions
Pub/Sub API is available as v1 and v2. The two versions are functionally equivalent, and we recommend v2 for new integrations.
Pub/Sub API v1 will remain available for a period of time and will then be deprecated. The deprecation schedule will be announced separately.
API introduction
- Responses to API requests are provided in
JSONformat. - To use the API, you need to obtain an access key ID and a secret access key.
You can access only resources in the project where the access key was issued.
When calling API v1, set domain and project to the organization and project associated with the access key.
Preparation
Complete the following preparation before using the Pub/Sub API.
Get IAM access key
To acquire a user authentication token (API authentication token), first issue an access key and then check its access key ID and secret access key. For more information, see Prepare to use APIs.
-
Go to KakaoCloud Console > User profile (top right) > Credentials > IAM access key.
-
Issue an access key, and then check the access key ID and secret access key.
API endpoint URL
The Pub/Sub endpoint URL is as follows.
https://pub-sub.kr-central-2.kakaocloud.com