Skip to content

การยืนยันตัวตน & API Keys

การเรียกใช้งาน API ของ Fotobots ทุก Endpoint จะต้องส่ง Organization API Key ผ่าน Header x-api-key

In-Docs Interactive PlaygroundSANDBOX

Sign in directly on this documentation site to auto-inject your Sandbox API Key into all examples and the API Explorer.


รูปแบบ Header การใช้งาน

แนบ API Key ใน Header x-api-key ในทุกๆ HTTP Request:

POST /openapi/albums/list HTTP/1.1
Host: sandbox-api.fotobots.run
Content-Type: application/json
x-api-key: fb_test_YOUR_KEY

ประเภทของคีย์ (Key Types)

คำนำหน้าคีย์สภาพแวดล้อมการใช้งานการคิดเครดิต
fb_test_...Sandboxสำหรับทดสอบระบบ, เขียนโค้ด, พัฒนาแอปใช้เครดิตทดสอบฟรี ไม่เสียเงิน
fb_live_...Productionสำหรับงานวิ่งจริง ระบบใช้งานจริงหักเครดิตจริงขององค์กร