試しの予約を AI が確かめる
const url = 'https://app.goyoka.com/api/v1/onboarding/test-booking';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.goyoka.com/api/v1/onboarding/test-booking \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'初期設定の
必要なonboarding:write
必要な認証
「必要なパラメータ
「 パラメータ 」のヘッダーのパラメータ
「ヘッダーの同じ
リクエスト本文必須
「リクエスト本文必須」のobject
例自動生成
{}レスポンス
「 レスポンス 」の200
「200」の試しの
object
object
object
object
object
object
object
object
例
{ "checks": [ { "key": "SESSION_SLOTS" } ], "status": { "setup_mode": "SELF", "selections": { "booking_kinds": "PERSONAL", "meeting_place": "IN_PERSON", "website": "HAS_SITE", "location_disclosure": "PUBLIC_PAGE", "calendar_choice": "GOOGLE" }, "steps": [ { "key": "SALON_PROFILE", "group": "A" } ], "later": [ { "key": "calendar" } ], "next_step": { "key": "SHAPE" } }}400
「400」の利用できない
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}401
「401」の鍵が
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}403
「403」の範囲不足
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}404
「404」の見つからない
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}409
「409」の予約・冪等キーの
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}413
「413」の本文が
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}422
「422」の入力の
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}429
「429」の回数の
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}ヘッダー
「ヘッダー」の固定窓内の
固定窓内の
窓終了までの
再試行までの
500
「500」の内部エラー
object
object
object
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}