Skip to main content
POST
API 키 생성

인증

Authorization
string
header
필수

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

본문

application/json
name
string
필수

Name for key identification

type
enum<string>
필수
사용 가능한 옵션:
secret,
publishable

응답

201 - application/json

생성됨

id
string
name
string
type
enum<string>
사용 가능한 옵션:
secret,
publishable
mode
enum<string>
사용 가능한 옵션:
live,
test
key_hint
string

Masked key (sk_live_...abc)

is_active
boolean
last_used_at
string<date-time> | null
created_at
string<date-time>
key
string

Original key (returned once)