Skip to main content
配信アカウント作成
curl --request POST \
  --url https://api.utage-system.com/v1/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "created_at": "<string>"
  }
}
POST
https://api.utage-system.com/v1/accounts

Authorizations

Authorization
string
header
required

APIキーをBearerトークンとして指定

Body

application/json
name
string
required

アカウント名

Maximum string length: 255
type
enum<string>
required

種類

  • mail: メールのみ
  • line: LINEのみ
  • mail_line: メール・LINE併用
Available options:
mail,
line,
mail_line

Response

作成されたアカウント

data
object