การยืนยันตัวตน & 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.1Host: sandbox-api.fotobots.runContent-Type: application/jsonx-api-key: fb_test_YOUR_KEYประเภทของคีย์ (Key Types)
| คำนำหน้าคีย์ | สภาพแวดล้อม | การใช้งาน | การคิดเครดิต |
|---|---|---|---|
fb_test_... | Sandbox | สำหรับทดสอบระบบ, เขียนโค้ด, พัฒนาแอป | ใช้เครดิตทดสอบฟรี ไม่เสียเงิน |
fb_live_... | Production | สำหรับงานวิ่งจริง ระบบใช้งานจริง | หักเครดิตจริงขององค์กร |