Cloud Functions overview

Prev Next

Overview

Cloud Functions is a service that allows you to easily run code by creating code and registering it as actions. You can easily run the desired business logic without the burden of managing servers.
To learn how to use Cloud Functions API, please see the following guide.

Common settings

API URL

Region Version API URL Platform
Korea v2.0 https://cloudfunctions.apigw.ntruss.com/api/v2 Classic, VPC
Korea v2.1 https://cloudfunctions.apigw.ntruss.com/ncf/api/v2 Classic, VPC
Singapore v2.0 https://sg-cloudfunctions.apigw.ntruss.com/api/v2 VPC
Singapore v2.1 https://sg-cloudfunctions.apigw.ntruss.com/ncf/api/v2 VPC
Japan v2.0 https://jp-cloudfunctions.apigw.ntruss.com/api/v2 VPC
Japan v2.1 https://jp-cloudfunctions.apigw.ntruss.com/ncf/api/v2 VPC

Request headers

Item Required Description
Content-Type Yes Specifies the request body content type as application/json (POST)
x-ncp-apigw-timestamp Yes It is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 (UTC)
The request is considered invalid if the time difference compared to the API Gateway server is more than 5 minutes
x-ncp-iam-access-key Yes Access key ID issued by the portal or Sub Account
x-ncp-apigw-signature-v2 Yes Signature of the body in the above example encrypted with a SecretKey mapped to Access Key ID
HmacSHA256 is used as the HMAC encryption algorithm.

Go to NAVER Cloud Platform authentication key and signature creation guide

Error response format

http status code 400 - 500

{
  "error": {
    "errorCode": "string",
    "message": "string",
    "details": "string"
  }
}