ผลิตภัณฑ์
GET/v1/workspaces/{workspaceId}/products
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
namestringจำเป็น
slugstringจำเป็น
kindstringจำเป็น
enum: "product", "store", "brand", "newsletter", "company", "other"
website_urlstring | nullจำเป็น
domainsarrayจำเป็น
แต่ละรายการstring
descriptionstringจำเป็น
contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
brandobjectจำเป็น
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
statusstringจำเป็น
deleting: บุคคลลบแล้ว กู้คืนได้จนถึง delete_after จากนั้นลบถาวร
enum: "active", "archived", "deleting"
delete_afterstring | null
เวลาที่ผลิตภัณฑ์สถานะ deleting ถูกลบถาวร
format: "date-time"
is_defaultbooleanจำเป็น
route_readybooleanจำเป็น
noreply_senderstring | null
noreply@ on the product's Broadcast lane: what Broadcasts, Journeys and forms send from when no mailbox is chosen. Replies to it are discarded. Null until a lane is active.
setuparrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "context", "domain", "mailboxes", "journeys", "broadcasts", "compliance"
statusstringจำเป็น
enum: "todo", "in_progress", "complete", "not_relevant"
completion_sourcestring | nullจำเป็น
enum: "system", "person", "agent", null
notestringจำเป็น
updated_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/products
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestringจำเป็น
minLength: 1 · maxLength: 160
kindstring
default: "product" · enum: "product", "store", "brand", "newsletter", "company", "other"
website_urlstring | null
maxLength: 2000
descriptionstring
maxLength: 4000
contextobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
domainsarray
maxItems: 20
แต่ละรายการstring
maxLength: 253
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
namestringจำเป็น
slugstringจำเป็น
kindstringจำเป็น
enum: "product", "store", "brand", "newsletter", "company", "other"
website_urlstring | nullจำเป็น
domainsarrayจำเป็น
แต่ละรายการstring
descriptionstringจำเป็น
contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
brandobjectจำเป็น
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
statusstringจำเป็น
deleting: บุคคลลบแล้ว กู้คืนได้จนถึง delete_after จากนั้นลบถาวร
enum: "active", "archived", "deleting"
delete_afterstring | null
เวลาที่ผลิตภัณฑ์สถานะ deleting ถูกลบถาวร
format: "date-time"
is_defaultbooleanจำเป็น
route_readybooleanจำเป็น
noreply_senderstring | null
noreply@ on the product's Broadcast lane: what Broadcasts, Journeys and forms send from when no mailbox is chosen. Replies to it are discarded. Null until a lane is active.
setuparrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "context", "domain", "mailboxes", "journeys", "broadcasts", "compliance"
statusstringจำเป็น
enum: "todo", "in_progress", "complete", "not_relevant"
completion_sourcestring | nullจำเป็น
enum: "system", "person", "agent", null
notestringจำเป็น
updated_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"kind": "product",
"website_url": "example",
"description": "example",
"context": {},
"domains": [
"example"
]
}'
GET/v1/workspaces/{workspaceId}/products/{productId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
namestringจำเป็น
slugstringจำเป็น
kindstringจำเป็น
enum: "product", "store", "brand", "newsletter", "company", "other"
website_urlstring | nullจำเป็น
domainsarrayจำเป็น
แต่ละรายการstring
descriptionstringจำเป็น
contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
brandobjectจำเป็น
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
statusstringจำเป็น
deleting: บุคคลลบแล้ว กู้คืนได้จนถึง delete_after จากนั้นลบถาวร
enum: "active", "archived", "deleting"
delete_afterstring | null
เวลาที่ผลิตภัณฑ์สถานะ deleting ถูกลบถาวร
format: "date-time"
is_defaultbooleanจำเป็น
route_readybooleanจำเป็น
noreply_senderstring | null
noreply@ on the product's Broadcast lane: what Broadcasts, Journeys and forms send from when no mailbox is chosen. Replies to it are discarded. Null until a lane is active.
setuparrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "context", "domain", "mailboxes", "journeys", "broadcasts", "compliance"
statusstringจำเป็น
enum: "todo", "in_progress", "complete", "not_relevant"
completion_sourcestring | nullจำเป็น
enum: "system", "person", "agent", null
notestringจำเป็น
updated_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products/{productId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
PATCH/v1/workspaces/{workspaceId}/products/{productId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestring
maxLength: 160
kindstring
enum: "product", "store", "brand", "newsletter", "company", "other"
website_urlstring | null
maxLength: 2000
descriptionstring
maxLength: 4000
contextobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
brandobject
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
statusstring
enum: "active", "archived"
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
namestringจำเป็น
slugstringจำเป็น
kindstringจำเป็น
enum: "product", "store", "brand", "newsletter", "company", "other"
website_urlstring | nullจำเป็น
domainsarrayจำเป็น
แต่ละรายการstring
descriptionstringจำเป็น
contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
brandobjectจำเป็น
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
statusstringจำเป็น
deleting: บุคคลลบแล้ว กู้คืนได้จนถึง delete_after จากนั้นลบถาวร
enum: "active", "archived", "deleting"
delete_afterstring | null
เวลาที่ผลิตภัณฑ์สถานะ deleting ถูกลบถาวร
format: "date-time"
is_defaultbooleanจำเป็น
route_readybooleanจำเป็น
noreply_senderstring | null
noreply@ on the product's Broadcast lane: what Broadcasts, Journeys and forms send from when no mailbox is chosen. Replies to it are discarded. Null until a lane is active.
setuparrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "context", "domain", "mailboxes", "journeys", "broadcasts", "compliance"
statusstringจำเป็น
enum: "todo", "in_progress", "complete", "not_relevant"
completion_sourcestring | nullจำเป็น
enum: "system", "person", "agent", null
notestringจำเป็น
updated_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products/{productId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"kind": "product",
"website_url": "example",
"description": "example",
"context": {},
"brand": {
"company_name": "example",
"logo_url": "example",
"wordmark_url": "example",
"website_url": "example",
"primary_color": "example",
"accent_color": "example",
"background_color": "example",
"surface_color": "example",
"text_color": "example",
"muted_text_color": "example",
"heading_font_family": "example",
"body_font_family": "example",
"tone": "example",
"footer_address": "example",
"email_style": "example"
},
"status": "active"
}'
DELETE/v1/workspaces/{workspaceId}/products/{productId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
confirm_namestringจำเป็น
ชื่อผลิตภัณฑ์ที่ตรงทุกตัวอักษร
minLength: 1 · maxLength: 160
preview_tokenstringจำเป็น
minLength: 64 · maxLength: 64
การตอบกลับสำเร็จ 202
ผลิตภัณฑ์หยุดใช้งานและถูกลบถาวรเมื่อถึง delete_after เว้นแต่กู้คืนก่อน การเรียกซ้ำแบบ idempotent คืนผลเดิม
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
statusstringจำเป็น
enum: "deleting"
delete_afterstringจำเป็น
เวลาที่ผลิตภัณฑ์ถูกลบถาวร กู้คืนได้จนถึงเวลานั้น
format: "date-time"
next_product_idstringจำเป็น
ผลิตภัณฑ์เริ่มต้นของพื้นที่ทำงานในขณะนี้
format: "uuid"
replayedboolean
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products/{productId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"confirm_name": "example",
"preview_token": "examplexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}'
GET/v1/workspaces/{workspaceId}/products/{productId}/deletion-preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สิ่งที่ถูกลบและหยุดเมื่อลบผลิตภัณฑ์
application/json
valueobject
dataobjectจำเป็น
productobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
is_defaultbooleanจำเป็น
next_default_productไม่ได้ระบุจำเป็น
ผลิตภัณฑ์ที่เป็นค่าเริ่มต้นของพื้นที่ทำงานเมื่อลบผลิตภัณฑ์เริ่มต้น
oneOf 1null
oneOf 2object
idstringจำเป็น
format: "uuid"
namestringจำเป็น
last_productbooleanจำเป็น
ลบผลิตภัณฑ์ที่ใช้งานอยู่เพียงตัวเดียวไม่ได้
mailboxesarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
addressstringจำเป็น
domainsarrayจำเป็น
โดเมนส่งที่ Banger ลบเมื่อพ้นช่วงกู้คืน
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
domainstringจำเป็น
journeysintegerจำเป็น
broadcastsintegerจำเป็น
signup_formsintegerจำเป็น
contactsintegerจำเป็น
api_keysintegerจำเป็น
webhooksintegerจำเป็น
pending_sendsintegerจำเป็น
impactarrayจำเป็น
แต่ละรายการstring
preview_tokenstringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products/{productId}/deletion-preview' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/products/{productId}/restore
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ผลิตภัณฑ์กลับมาใช้งานแล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
statusstringจำเป็น
enum: "active"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products/{productId}/restore' \
--header "Authorization: Bearer $BANGER_API_KEY"
PUT/v1/workspaces/{workspaceId}/products/{productId}/setup/{key}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
statusstringจำเป็น
enum: "todo", "in_progress", "complete", "not_relevant"
completion_sourcestring
default: "person" · enum: "system", "person", "agent"
notestring
maxLength: 1000
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
keystringจำเป็น
enum: "context", "domain", "mailboxes", "journeys", "broadcasts", "compliance"
statusstringจำเป็น
enum: "todo", "in_progress", "complete", "not_relevant"
completion_sourcestring | nullจำเป็น
enum: "system", "person", "agent", null
notestringจำเป็น
updated_atstring | nullจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products/{productId}/setup/{key}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"status": "todo",
"completion_source": "person",
"note": "example"
}'
POST/v1/workspaces/{workspaceId}/products/{productId}/domains
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
namestringจำเป็น
slugstringจำเป็น
kindstringจำเป็น
enum: "product", "store", "brand", "newsletter", "company", "other"
website_urlstring | nullจำเป็น
domainsarrayจำเป็น
แต่ละรายการstring
descriptionstringจำเป็น
contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
brandobjectจำเป็น
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
statusstringจำเป็น
deleting: บุคคลลบแล้ว กู้คืนได้จนถึง delete_after จากนั้นลบถาวร
enum: "active", "archived", "deleting"
delete_afterstring | null
เวลาที่ผลิตภัณฑ์สถานะ deleting ถูกลบถาวร
format: "date-time"
is_defaultbooleanจำเป็น
route_readybooleanจำเป็น
noreply_senderstring | null
noreply@ on the product's Broadcast lane: what Broadcasts, Journeys and forms send from when no mailbox is chosen. Replies to it are discarded. Null until a lane is active.
setuparrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "context", "domain", "mailboxes", "journeys", "broadcasts", "compliance"
statusstringจำเป็น
enum: "todo", "in_progress", "complete", "not_relevant"
completion_sourcestring | nullจำเป็น
enum: "system", "person", "agent", null
notestringจำเป็น
updated_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/products/{productId}/domains' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "example"
}'
กล่องจดหมาย
GET/v1/workspaces/{workspaceId}/mailboxes
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
กล่องจดหมายที่ผู้ดำเนินการมองเห็น
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/mailboxes
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
การเรียกซ้ำแบบ idempotent สำหรับการสร้างกล่องจดหมายบนระบบ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain_id": "00000000-0000-4000-8000-000000000001",
"local_part": "example",
"display_name": "example"
}'
POST/v1/workspaces/{workspaceId}/mailboxes/sms
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
account_sidstringจำเป็น
pattern: "^AC[0-9a-f]{32}$"
auth_tokenstringจำเป็น
minLength: 16 · maxLength: 128
phone_numberstringจำเป็น
หมายเลข Twilio ในรูปแบบ E.164
display_namestring
maxLength: 200
การตอบกลับสำเร็จ 201
กล่องจดหมายเข้า SMS
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/sms' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"account_sid": "example",
"auth_token": "examplexxxxxxxxx",
"phone_number": "example",
"display_name": "example"
}'
GET/v1/workspaces/{workspaceId}/mailboxes/whatsapp/signup
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
แอป Meta ของ Banger และการกำหนดค่า Embedded Signup ของแอป
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/whatsapp/signup' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/mailboxes/whatsapp/senders
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
account_sidstringจำเป็น
pattern: "^AC[0-9a-f]{32}$"
auth_tokenstringจำเป็น
minLength: 16 · maxLength: 128
การตอบกลับสำเร็จ 200
The account's WhatsApp senders.
application/json
valueobject
dataobjectจำเป็น
sendersarrayจำเป็น
แต่ละรายการobject
sidstringจำเป็น
phone_numberstringจำเป็น
The sender's number in international format.
display_namestringจำเป็น
The name on its WhatsApp profile.
statusstringจำเป็น
Twilio's state of the sender, in capitals. ONLINE sends and receives, and so does ONLINE:UPDATING.
connectedbooleanจำเป็น
Whether the number is a WhatsApp inbox in this workspace already, in any of its projects.
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/whatsapp/senders' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"account_sid": "example",
"auth_token": "examplexxxxxxxxx"
}'
POST/v1/workspaces/{workspaceId}/mailboxes/whatsapp
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueไม่ได้ระบุ
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
account_sidstringจำเป็น
pattern: "^AC[0-9a-f]{32}$"
auth_tokenstringจำเป็น
minLength: 16 · maxLength: 128
phone_numberstringจำเป็น
The number of a WhatsApp sender on that Twilio account, in international format.
display_namestring
The inbox's name in Banger. Defaults to the name on the sender's WhatsApp profile.
maxLength: 200
oneOf 2object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
waba_idstringจำเป็น
phone_numberstringจำเป็น
The number the business chose in the signup, in international format.
display_namestring
ชื่อที่ WhatsApp แสดง จำเป็นสำหรับหมายเลขจาก Banger
maxLength: 200
การตอบกลับสำเร็จ 200
The company's own sender was an inbox already, and was connected again.
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
allOf 2object
webhooksobject
For a sender on the company's own Twilio account. Where its incoming messages must go.
setbooleanจำเป็น
Whether Twilio sends the sender's incoming messages to the inbox. When false the inbox is pending with the status_reason whatsapp_sender_points_elsewhere, and the person sets incoming_url on the sender in Twilio, with the method POST.
incoming_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/whatsapp' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"account_sid": "example",
"auth_token": "examplexxxxxxxxx",
"phone_number": "example",
"display_name": "example"
}'
GET/v1/workspaces/{workspaceId}/mailboxes/sms/available-numbers
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
หมายเลขที่เลือกได้
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
phone_numberstringจำเป็น
kindstringจำเป็น
enum: "toll_free"
reachesarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/sms/available-numbers' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/mailboxes/sms/numbers
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
phone_numberstringจำเป็น
display_namestring
maxLength: 200
businessobjectจำเป็น
legal_namestringจำเป็น
maxLength: 200
websitestringจำเป็น
maxLength: 500
typestringจำเป็น
enum: "private_profit", "public_profit", "sole_proprietor", "non_profit", "government"
registration_numberstring
EIN ในสหรัฐอเมริกา
maxLength: 64
countrystringจำเป็น
enum: "US", "CA"
streetstringจำเป็น
maxLength: 200
street2string
maxLength: 200
citystringจำเป็น
maxLength: 100
regionstringจำเป็น
maxLength: 100
postal_codestringจำเป็น
maxLength: 20
contact_first_namestringจำเป็น
maxLength: 100
contact_last_namestringจำเป็น
maxLength: 100
contact_emailstringจำเป็น
maxLength: 320
contact_phonestringจำเป็น
maxLength: 32
opt_in_urlstringจำเป็น
หน้าที่ลูกค้าพบหมายเลขนี้
maxLength: 500
use_case_summarystring
maxLength: 1000
message_samplestring
maxLength: 1000
การตอบกลับสำเร็จ 201
กล่องจดหมายเข้า SMS ซึ่งรอจนกว่าผู้ให้บริการเครือข่ายจะอนุมัติหมายเลข
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/sms/numbers' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"phone_number": "example",
"display_name": "example",
"business": {
"legal_name": "example",
"website": "example",
"type": "private_profit",
"registration_number": "example",
"country": "US",
"street": "example",
"street2": "example",
"city": "example",
"region": "example",
"postal_code": "example",
"contact_first_name": "example",
"contact_last_name": "example",
"contact_email": "example",
"contact_phone": "example",
"opt_in_url": "example",
"use_case_summary": "example",
"message_sample": "example"
}
}'
GET/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}/deletion-preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
กล่องจดหมายที่ตรงกันและผลกระทบการลบปัจจุบันโดยไม่ลบจริง
application/json
valueobject
dataobjectจำเป็น
mailboxobjectจำเป็น
idstringจำเป็น
format: "uuid"
addressstringจำเป็น
providerstringจำเป็น
domain_idstring | nullจำเป็น
format: "uuid"
provider_connection_idstring | nullจำเป็น
format: "uuid"
messagesintegerจำเป็น
draftsintegerจำเป็น
pending_sendsintegerจำเป็น
broadcastsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
statusstringจำเป็น
journeysarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
statusstringจำเป็น
signup_formsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
statusstringจำเป็น
impactarrayจำเป็น
แต่ละรายการstring
preview_tokenstringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}/deletion-preview' \
--header "Authorization: Bearer $BANGER_API_KEY"
PATCH/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
กล่องจดหมายพร้อมชื่อผู้ส่ง
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"display_name": "example"
}'
DELETE/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
confirm_addressstringจำเป็น
minLength: 3 · maxLength: 320
preview_tokenstringจำเป็น
minLength: 64 · maxLength: 64
การตอบกลับสำเร็จ 200
ลบแล้วหรือเป็นการเรียกซ้ำแบบ idempotent ไฟล์ที่จัดเก็บเข้าคิวเพื่อล้างถาวร
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
addressstringจำเป็น
deletedbooleanจำเป็น
replayedboolean
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"confirm_address": "example",
"preview_token": "examplexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}'
POST/v1/workspaces/{workspaceId}/mailboxes/starter
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
create_newboolean
สร้างกล่องจดหมายที่โฮสต์เพิ่มแทนการกลับมาใช้กล่องแรก
local_partstring
ชื่อก่อน @bangermail.com หากไม่ระบุ กล่องจดหมายจะได้ชื่อจากคำ เช่น quiet-maple-harbor
minLength: 3 · maxLength: 40
display_namestring
maxLength: 200
การตอบกลับสำเร็จ 200
การเรียกซ้ำแบบ idempotent สำหรับการสร้างตัวตนเริ่มต้น
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/starter' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"create_new": true,
"local_part": "example",
"display_name": "example"
}'
POST/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}/reactivate
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
acknowledge_recipient_complaintbooleanจำเป็น
const: true
reasonstring
เหตุผลที่เปิดการส่งอีกครั้ง บันทึกในบันทึกตรวจสอบ
maxLength: 500
การตอบกลับสำเร็จ 200
เปิดกล่องจดหมายอีกครั้ง หรือใช้งานอยู่แล้วหลังคำขอก่อนหน้าสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}/reactivate' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"acknowledge_recipient_complaint": true,
"reason": "example"
}'
ฉบับร่าง
GET/v1/workspaces/{workspaceId}/drafts
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts?mailbox_id=00000000-0000-4000-8000-000000000001' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/drafts
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"thread_id": "00000000-0000-4000-8000-000000000001",
"to": [
{
"name": "example",
"email": "person@example.com"
}
],
"cc": [
{
"name": "example",
"email": "person@example.com"
}
],
"bcc": [
{
"name": "example",
"email": "person@example.com"
}
],
"subject": "example",
"body_text": "example",
"body_html": "example"
}'
GET/v1/workspaces/{workspaceId}/drafts/{draftId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ประสิทธิภาพการส่งถึง สถานะ และเหตุขัดข้องจากข้อมูลหลัก
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts/{draftId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
PUT/v1/workspaces/{workspaceId}/drafts/{draftId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts/{draftId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"thread_id": "00000000-0000-4000-8000-000000000001",
"to": [
{
"name": "example",
"email": "person@example.com"
}
],
"cc": [
{
"name": "example",
"email": "person@example.com"
}
],
"bcc": [
{
"name": "example",
"email": "person@example.com"
}
],
"subject": "example",
"body_text": "example",
"body_html": "example",
"version": 1
}'
DELETE/v1/workspaces/{workspaceId}/drafts/{draftId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
ฉบับร่างและออบเจ็กต์ที่อ้างถึงถูกตั้งเวลาลบ
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts/{draftId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/drafts/{draftId}/send
ส่งฉบับร่างจากกล่องจดหมายที่ผู้เรียกต้องเข้าถึงได้ ผู้เรียกที่ต้องขออนุมัติการส่งจะได้รับการอนุมัติที่รอดำเนินการแทน ผู้ที่ส่งฉบับร่างโดยตรงได้เป็นผู้ตัดสิน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 202
การส่งเข้าคิวหรือรออนุมัติ
application/json
valueobject
dataไม่ได้ระบุจำเป็น
oneOf 1object
idstringจำเป็น
format: "uuid"
typestringจำเป็น
statusstringจำเป็น
enum: "accepted", "executing", "succeeded", "failed"
workspace_revisionintegerจำเป็น
format: "int64"
created_atstringจำเป็น
format: "date-time"
oneOf 2object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
approvalobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
checksarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts/{draftId}/send' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx'
POST/v1/workspaces/{workspaceId}/drafts/{draftId}/attachments
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/octet-stream
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
filenamestringจำเป็น
content_typestringจำเป็น
size_bytesintegerจำเป็น
sha256string
created_atstring
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts/{draftId}/attachments' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Filename: example' \
--header 'Content-Type: application/octet-stream' \
--data-binary @request-body
DELETE/v1/workspaces/{workspaceId}/drafts/{draftId}/attachments/{attachmentId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
ไฟล์แนบถูกตั้งเวลาลบใน B2 โดยคำนึงถึงเวอร์ชัน
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts/{draftId}/attachments/{attachmentId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/drafts/{draftId}/html
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
HTML ฉบับร่าง
text/html
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/drafts/{draftId}/html' \
--header "Authorization: Bearer $BANGER_API_KEY"
การส่งอีเมลธุรกรรม
GET/v1/workspaces/{workspaceId}/transactional-sends
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
command_idstring | nullจำเป็น
format: "uuid"
statusstringจำเป็น
command_statusstring | nullจำเป็น
subjectstring
recipientsarray
แต่ละรายการobject
emailstringจำเป็น
namestring
recipient_countintegerจำเป็น
error_codestring | null
send_intent_idstring
format: "uuid"
providerstring | null
route_kindstring | null
sourcestring
from_addressstring
recipient_statesobject
พร็อพเพอร์ตีเพิ่มเติมinteger
provider_message_idstring | null
languageไม่ได้ระบุ
ภาษาที่ส่งอีเมลนี้ เป็น null หากไม่ได้แปล
anyOf 1object
ภาษาที่บุคคลได้รับอีเมล มีเฉพาะอีเมลที่แปล (เนื้อหาที่จัดการ)
localestringจำเป็น
แท็ก BCP 47 ของภาษาที่เขียนอีเมล
requested_localestring
มีเฉพาะการส่งเก่าที่ใช้ภาษาอื่น เป็นภาษาที่บุคคลควรได้รับ
fallback_reasonstring
enum: "translation_missing", "translation_pending", "translation_review_required", "translation_failed", "translation_timeout"
anyOf 2null
journeyobject | null
ขั้นตอนเส้นทางและการเข้าร่วมที่ส่งอีเมลนี้ เป็น null สำหรับการส่งอื่น
journey_idstringจำเป็น
format: "uuid"
step_idstringจำเป็น
format: "uuid"
enrollment_idstringจำเป็น
format: "uuid"
experimentobject | null
ตัวแปรการทดลองของอีเมลนี้ เป็น null หากไม่มี
experiment_idstringจำเป็น
format: "uuid"
variant_keystringจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
template_idstring | null
format: "uuid"
template_versioninteger | null
workspace_revisioninteger | null
command_resultobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
command_started_atstring | null
format: "date-time"
command_completed_atstring | null
format: "date-time"
body_textstring
body_htmlstring
reply_toarray
แต่ละรายการobject
emailstringจำเป็น
namestring
headersobject
พร็อพเพอร์ตีเพิ่มเติมstring
tagsarray
แต่ละรายการobject
namestringจำเป็น
valuestringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/transactional-sends?limit=200' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/transactional-sends
หนึ่งผู้รับต่อการส่งเส้นทาง To รับหนึ่งผู้รับในรูปแบบ RecipientInput ใดก็ได้ ("a@example.com", "Pat <a@example.com>", { email, name } หรือรายการหนึ่งสมาชิก) Cc และ Bcc ต้องว่าง reply_to ใช้กล่องจดหมายเส้นทางเป็นค่าเริ่มต้น (รายการว่างก็หมายถึงค่าเริ่มต้น) อีเมลผลิตภัณฑ์ต้องมีหนึ่งรายการพอดี เส้นทาง API ใหม่ใช้เนื้อหาต้นฉบับที่จัดการเป็นค่าเริ่มต้น เส้นทางโค้ดรุ่นเก่ายังคงส่งเนื้อหาครบ เมื่อปฏิเสธ (4xx) จะไม่ตรึงสิ่งใดของผู้รับ ดังนั้นคำขอที่แก้แล้วพร้อมคีย์ idempotency ใหม่จะส่งได้
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
journeystring
คีย์ของเส้นทางที่อีเมลนี้อยู่ เช่น welcome คีย์ที่ Banger ยังไม่เคยพบจะบันทึกเส้นทางใหม่จากอีเมลนี้แล้วส่งอีเมล คุณรับเส้นทางนั้นมาจัดการเนื้อหาได้ภายหลัง คีย์ของเส้นทางที่คุณสร้างจะส่งเมื่อเส้นทางนั้นได้รับอนุมัติและเปิดใช้งานแล้ว หากไม่มีคีย์ การส่งจะถูกปฏิเสธด้วย 422 journey_key_required เว้นแต่พื้นที่ทำงานยอมรับการส่งโดยไม่มีคีย์ POST /journeys/{journeyKey}/send เป็นการส่งแบบเดียวกันโดยระบุคีย์ในพาธ
minLength: 1 · maxLength: 100
mailbox_idstring
กล่องจดหมายผู้ส่ง ไม่บังคับหากเส้นทางที่ระบุมีอยู่แล้ว โดยจะใช้กล่องจดหมายนั้นส่ง
format: "uuid"
toไม่ได้ระบุจำเป็น
ผู้รับสำหรับ to, cc, bcc และ reply_to: ที่อยู่ ("a@example.com" หรือ "Pat <a@example.com>") ออบเจ็กต์ { email, name } หรือรายการที่ผสมทั้งสอง Banger เก็บเป็นออบเจ็กต์ { email, name } โดยอีเมลเป็นตัวพิมพ์เล็ก แฮช idempotency ครอบคลุมเนื้อหาตามที่ส่ง จึงต้องลองซ้ำด้วยรูปแบบเดิม
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
oneOf 3array
maxItems: 500
แต่ละรายการไม่ได้ระบุ
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
ccarray
maxItems: 0
แต่ละรายการobject
namestring
emailstringจำเป็น
format: "email"
bccarray
maxItems: 0
แต่ละรายการobject
namestring
emailstringจำเป็น
format: "email"
subjectstring
maxLength: 10000
expires_atstring
ยกเลิกการส่งเส้นทางที่เลื่อนหลังเวลานี้ ไม่เกินเจ็ดวันจากคำขอเดิม
format: "date-time"
expires_after_secondsinteger
minimum: 1 · maximum: 604800
body_textstring
maxLength: 2000000
body_htmlstring
maxLength: 2000000
reply_toไม่ได้ระบุ
ผู้รับสำหรับ to, cc, bcc และ reply_to: ที่อยู่ ("a@example.com" หรือ "Pat <a@example.com>") ออบเจ็กต์ { email, name } หรือรายการที่ผสมทั้งสอง Banger เก็บเป็นออบเจ็กต์ { email, name } โดยอีเมลเป็นตัวพิมพ์เล็ก แฮช idempotency ครอบคลุมเนื้อหาตามที่ส่ง จึงต้องลองซ้ำด้วยรูปแบบเดิม
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
oneOf 3array
maxItems: 500
แต่ละรายการไม่ได้ระบุ
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
headersobject
พร็อพเพอร์ตีเพิ่มเติมstring
maxLength: 5000
tagsarray
maxItems: 49
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 256
valuestringจำเป็น
minLength: 1 · maxLength: 256
attachmentsarray
ไฟล์ที่ส่งพร้อมอีเมล ทั้งในเส้นทางที่จัดการและเส้นทางแบบโค้ด เนื้อหา base64 รวมได้ไม่เกิน 10 MiB (ไฟล์ประมาณ 7.5 MiB)
maxItems: 20
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
filenamestringจำเป็น
ชื่อที่ผู้รับเห็น ในบรรทัดเดียว
minLength: 1 · maxLength: 500
contentstringจำเป็น
ไฟล์ที่เข้ารหัสเป็น base64 โดยไม่สนใจช่องว่าง
minLength: 4
content_typestring
ชนิดสื่อ เช่น application/pdf โดยไม่มีพารามิเตอร์ ค่าเริ่มต้นคือ application/octet-stream
maxLength: 255
content_idstring
Content-ID ที่เนื้อหา HTML อ้างอิงได้ด้วย cid:<content_id>
minLength: 1 · maxLength: 500
การตอบกลับสำเร็จ 202
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
action_kindstringจำเป็น
enum: "transactional.send"
idstring
format: "uuid"
send_intent_idstring
format: "uuid"
provider_attempt_idstring
format: "uuid"
statusstringจำเป็น
สถานะ sent/queued จากการส่งถึง หรือสำหรับคำขอที่ตรึงไว้: deferred (ตั้งเวลาตามนโยบายหรือรอแปล), processing (กำลังส่ง), discarded
replayedboolean
journeyไม่ได้ระบุจำเป็น
anyOf 1object
journey_idstringจำเป็น
format: "uuid"
enrollment_idstringจำเป็น
format: "uuid"
step_idstringจำเป็น
format: "uuid"
step_positionintegerจำเป็น
originstring
enum: "journey"
journey_identitystring
anyOf 2null
ignored_variablesarrayจำเป็น
แต่ละรายการstring
scheduled_atstring
format: "date-time"
reasonstring
communication_reservation_idstring
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/transactional-sends' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"journey": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"to": "example",
"cc": [
{
"name": "example",
"email": "person@example.com"
}
],
"bcc": [
{
"name": "example",
"email": "person@example.com"
}
],
"subject": "example",
"expires_at": "2026-01-01T00:00:00Z",
"expires_after_seconds": 1,
"body_text": "example",
"body_html": "example",
"reply_to": "example",
"headers": {},
"tags": [
{
"name": "example",
"value": "example"
}
],
"attachments": [
{
"filename": "example",
"content": "example",
"content_type": "example",
"content_id": "example"
}
]
}'
GET/v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
command_idstring | nullจำเป็น
format: "uuid"
statusstringจำเป็น
command_statusstring | nullจำเป็น
subjectstring
recipientsarray
แต่ละรายการobject
emailstringจำเป็น
namestring
recipient_countintegerจำเป็น
error_codestring | null
send_intent_idstring
format: "uuid"
providerstring | null
route_kindstring | null
sourcestring
from_addressstring
recipient_statesobject
พร็อพเพอร์ตีเพิ่มเติมinteger
provider_message_idstring | null
languageไม่ได้ระบุ
ภาษาที่ส่งอีเมลนี้ เป็น null หากไม่ได้แปล
anyOf 1object
ภาษาที่บุคคลได้รับอีเมล มีเฉพาะอีเมลที่แปล (เนื้อหาที่จัดการ)
localestringจำเป็น
แท็ก BCP 47 ของภาษาที่เขียนอีเมล
requested_localestring
มีเฉพาะการส่งเก่าที่ใช้ภาษาอื่น เป็นภาษาที่บุคคลควรได้รับ
fallback_reasonstring
enum: "translation_missing", "translation_pending", "translation_review_required", "translation_failed", "translation_timeout"
anyOf 2null
journeyobject | null
ขั้นตอนเส้นทางและการเข้าร่วมที่ส่งอีเมลนี้ เป็น null สำหรับการส่งอื่น
journey_idstringจำเป็น
format: "uuid"
step_idstringจำเป็น
format: "uuid"
enrollment_idstringจำเป็น
format: "uuid"
experimentobject | null
ตัวแปรการทดลองของอีเมลนี้ เป็น null หากไม่มี
experiment_idstringจำเป็น
format: "uuid"
variant_keystringจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
template_idstring | null
format: "uuid"
template_versioninteger | null
workspace_revisioninteger | null
command_resultobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
command_started_atstring | null
format: "date-time"
command_completed_atstring | null
format: "date-time"
body_textstring
body_htmlstring
reply_toarray
แต่ละรายการobject
emailstringจำเป็น
namestring
headersobject
พร็อพเพอร์ตีเพิ่มเติมstring
tagsarray
แต่ละรายการobject
namestringจำเป็น
valuestringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}/timeline
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ไทม์ไลน์เรียงลำดับการรับคำขอ ความพยายามของผู้ให้บริการ และเหตุการณ์ผู้รับ
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}/timeline' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}/retry
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 202
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
action_kindstringจำเป็น
enum: "transactional.send"
idstringจำเป็น
format: "uuid"
send_intent_idstringจำเป็น
format: "uuid"
provider_attempt_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}/retry' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx'
GET/v1/workspaces/{workspaceId}/contacts
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
format: "email"
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
statusstringจำเป็น
enum: "subscribed", "unsubscribed", "bounced", "complained"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
pageobjectจำเป็น
next_cursorstring
has_morebooleanจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts?cursor=example&limit=50&q=example' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/contacts
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
emailstringจำเป็น
format: "email"
display_namestring
maxLength: 1000
statusstringจำเป็น
enum: "subscribed", "unsubscribed", "bounced", "complained"
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
consent_confirmedboolean
จำเป็นเมื่อสมัครรับข่าวสารด้วยที่อยู่ใหม่
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
format: "email"
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
statusstringจำเป็น
enum: "subscribed", "unsubscribed", "bounced", "complained"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "person@example.com",
"display_name": "example",
"status": "subscribed",
"attributes": {},
"consent_confirmed": true
}'
GET/v1/workspaces/{workspaceId}/contacts/{contactId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
format: "email"
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
statusstringจำเป็น
enum: "subscribed", "unsubscribed", "bounced", "complained"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
suppressedbooleanจำเป็น
suppression_reasonstring | nullจำเป็น
sourcesarrayจำเป็น
แต่ละรายการobject
kindstringจำเป็น
referencestringจำเป็น
connection_idstring | nullจำเป็น
format: "uuid"
metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
first_seen_atstringจำเป็น
format: "date-time"
last_seen_atstringจำเป็น
format: "date-time"
listsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
subscription_statusstringจำเป็น
consent_evidencearrayจำเป็น
แต่ละรายการobject
kindstringจำเป็น
referencestringจำเป็น
connection_idstring | nullจำเป็น
format: "uuid"
metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
first_seen_atstringจำเป็น
format: "date-time"
last_seen_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/{contactId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
DELETE/v1/workspaces/{workspaceId}/contacts/{contactId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
ลบรายชื่อติดต่อแล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/{contactId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/contacts/imports
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstring
format: "uuid"
filenamestring
list_idstring | null
format: "uuid"
list_namestring | null
statusstring
total_rowsinteger
imported_rowsinteger
invalid_rowsinteger
error_summaryarray
แต่ละรายการstring
consent_confirmedboolean
consent_confirmed_atstring | null
format: "date-time"
processed_rowsinteger
attempt_countinteger
last_error_codestring | null
created_atstring
format: "date-time"
completed_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/imports' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/contacts/imports
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
filenamestringจำเป็น
minLength: 1 · maxLength: 500
list_idstring
format: "uuid"
consent_confirmedboolean
Required when any imported row with an email is subscribed.
phone_channelsarray
The channels the rows' phone numbers are subscribed on. Required when any row has a phone. Banger takes an imported number as consented and keeps no proof, so no import or send is refused for lack of a consent record: the importer needs each person's consent before texting them. The number of a row marked unsubscribed is not subscribed, and numbers that opted out stay opted out.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_countrystring
Two-letter country code of the phone numbers written without a country code.
minLength: 2 · maxLength: 2
rowsarrayจำเป็น
minItems: 1 · maxItems: 5000
แต่ละรายการobject
A person by email, by phone, or both.
emailstring
format: "email"
phonestring
Mobile number, with its country code (+5511999998888) or as a number of phone_country.
maxLength: 60
display_namestring
maxLength: 1000
statusstring
enum: "subscribed", "unsubscribed", "bounced", "complained"
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "queued"
total_rowsintegerจำเป็น
imported_rowsintegerจำเป็น
invalid_rowsintegerจำเป็น
list_idstring | nullจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/imports' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"filename": "example",
"list_id": "00000000-0000-4000-8000-000000000001",
"consent_confirmed": true,
"phone_channels": [
"sms"
],
"phone_country": "ex",
"rows": [
{
"email": "person@example.com",
"phone": "example",
"display_name": "example",
"status": "subscribed",
"attributes": {}
}
]
}'
PATCH/v1/workspaces/{workspaceId}/contacts/{contactId}/attributes
ต้องมี contacts:write และ contacts:read อัปเดตเฉพาะรายชื่อติดต่อที่มีอยู่ เก็บแอตทริบิวต์ที่ไม่ระบุ บันทึก false ที่ระบุชัด และ null ลบฟิลด์ ส่งข้อเท็จจริงจากแหล่งที่ตรวจแล้ว ข้อมูลที่ไม่มีไม่ใช่ false การสมัครรับข่าวสาร การระงับ ตัวตน และประวัติแหล่งข้อมูลไม่เปลี่ยน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
ข้อมูลรายชื่อติดต่อที่อ่านกลับปัจจุบัน replayed เป็น true หากใช้การเปลี่ยนแปลงนี้แล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
statusstringจำเป็น
enum: "subscribed", "unsubscribed", "bounced", "complained"
replayedbooleanจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/{contactId}/attributes' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"attributes": {}
}'
POST/v1/workspaces/{workspaceId}/contacts/upsert
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
emailstringจำเป็น
format: "email" · maxLength: 320
display_namestring
minLength: 0 · maxLength: 1000
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
statusstringจำเป็น
enum: "subscribed", "unsubscribed", "bounced", "complained"
consent_evidenceobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
sourcestring
minLength: 1 · maxLength: 2000
referencestring
minLength: 1 · maxLength: 2000
observed_atstring
format: "date-time"
statementstring
minLength: 1 · maxLength: 2000
consent_confirmedboolean
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
format: "email"
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
statusstringจำเป็น
enum: "subscribed", "unsubscribed", "bounced", "complained"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
suppressedbooleanจำเป็น
suppression_reasonstring | nullจำเป็น
sourcesarrayจำเป็น
แต่ละรายการobject
kindstringจำเป็น
referencestringจำเป็น
connection_idstring | nullจำเป็น
format: "uuid"
metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
first_seen_atstringจำเป็น
format: "date-time"
last_seen_atstringจำเป็น
format: "date-time"
listsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
subscription_statusstringจำเป็น
consent_evidencearrayจำเป็น
แต่ละรายการobject
kindstringจำเป็น
referencestringจำเป็น
connection_idstring | nullจำเป็น
format: "uuid"
metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
first_seen_atstringจำเป็น
format: "date-time"
last_seen_atstringจำเป็น
format: "date-time"
allOf 2object
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/upsert' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "person@example.com",
"display_name": "example",
"attributes": {},
"status": "subscribed",
"consent_evidence": {
"source": "example",
"reference": "example",
"observed_at": "2026-01-01T00:00:00Z",
"statement": "example"
},
"consent_confirmed": true
}'
POST/v1/workspaces/{workspaceId}/contacts/import-validation
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
rowsarrayจำเป็น
minItems: 1 · maxItems: 5000
แต่ละรายการobject
A person by email (with its status), by phone, or both.
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
emailstring
format: "email" · maxLength: 320
phonestring
Mobile number, with its country code (+5511999998888) or as a number of phone_country. A row with only a phone needs no consent confirmation and no status: it is subscribed unless its status says unsubscribed, and a number brought so is not subscribed by a later import.
maxLength: 60
display_namestring
minLength: 0 · maxLength: 1000
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
statusstring
enum: "subscribed", "unsubscribed", "bounced", "complained"
consent_evidenceobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
sourcestring
minLength: 1 · maxLength: 2000
referencestring
minLength: 1 · maxLength: 2000
observed_atstring
format: "date-time"
statementstring
minLength: 1 · maxLength: 2000
consent_confirmedboolean
phone_channelsarray
The channels the rows' phone numbers are subscribed on. Required when any row has a phone. Banger takes an imported number as consented and keeps no proof, so no import or send is refused for lack of a consent record: the importer needs each person's consent before texting them. The number of a row marked unsubscribed is not subscribed, and numbers that opted out stay opted out.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_countrystring
Two-letter country code of the phone numbers written without a country code.
minLength: 2 · maxLength: 2
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataobjectจำเป็น
validbooleanจำเป็น
total_rowsintegerจำเป็น
valid_rowsintegerจำเป็น
errorsarrayจำเป็น
แต่ละรายการobject
rowintegerจำเป็น
codestringจำเป็น
messagestringจำเป็น
phone_rowsinteger
Valid rows that bring a phone number. Present when there is one.
phone_channelsarray
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_consent_noticestring
What to tell the importer about consent for the numbers. Present when a row brings one.
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/import-validation' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"rows": [
{
"email": "person@example.com",
"phone": "example",
"display_name": "example",
"attributes": {},
"status": "subscribed",
"consent_evidence": {
"source": "example",
"reference": "example",
"observed_at": "2026-01-01T00:00:00Z",
"statement": "example"
}
}
],
"consent_confirmed": true,
"phone_channels": [
"sms"
],
"phone_country": "ex"
}'
GET/v1/workspaces/{workspaceId}/contacts/imports/{importId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataobjectจำเป็น
idstring
format: "uuid"
filenamestring
list_idstring | null
format: "uuid"
list_namestring | null
statusstring
total_rowsinteger
imported_rowsinteger
invalid_rowsinteger
error_summaryarray
แต่ละรายการstring
consent_confirmedboolean
consent_confirmed_atstring | null
format: "date-time"
processed_rowsinteger
attempt_countinteger
last_error_codestring | null
created_atstring
format: "date-time"
completed_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/imports/{importId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/contacts/fields
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/fields' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/contacts/import-mapping
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
mappingobjectจำเป็น
columnsarrayจำเป็น
แต่ละรายการobject
columnstringจำเป็น
targetstringจำเป็น
enum: "email", "phone", "display_name", "first_name", "last_name", "locale", "time_zone", "status", "unsubscribed_flag", "subscribed_flag", "field", "ignore"
field_keystring
field_typestring
enum: "text", "number", "boolean", "date", "choice", "choices"
confidencenumberจำเป็น
sourcestringจำเป็น
enum: "saved", "ai", "rules", "person"
alternativesarray
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
locale_valuesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring | null
phone_channelsarray
The channels a phone column's numbers are for, chosen by the importer. A column is matched to phone only in a workspace whose contacts hold numbers.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_countrystring
Two-letter country code of the numbers written without a country code.
minLength: 2 · maxLength: 2
reviewobjectจำเป็น
neededbooleanจำเป็น
reasonsarrayจำเป็น
แต่ละรายการstring
columnsarrayจำเป็น
แต่ละรายการstring
sourcestringจำเป็น
enum: "saved", "ai", "rules"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contacts/import-mapping' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"filename": "example",
"columns": [
{
"name": "example",
"samples": [
"example"
],
"filled": 0,
"rows": 0
}
]
}'
GET/v1/workspaces/{workspaceId}/contact-lists
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contact-lists' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/contact-lists
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contact-lists' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"description": "example"
}'
GET/v1/workspaces/{workspaceId}/contact-lists/{listId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contact-lists/{listId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
DELETE/v1/workspaces/{workspaceId}/contact-lists/{listId}
ลบรายการนี้และรายชื่อติดต่อที่อยู่ในรายการนี้เท่านั้น เก็บรายชื่อติดต่อที่อยู่ในรายการอื่น ต้องมี contacts:write
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
จำนวนรายชื่อติดต่อเฉพาะที่ลบแล้ว (หรือจะลบ) และรายชื่อติดต่อร่วมที่เก็บไว้
application/json
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contact-lists/{listId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/contact-lists/{listId}/deletion-preview
ดูตัวอย่างจำนวนเมื่อลบรายการ ตรวจสอบสมาชิกอีกครั้งขณะลบ ต้องมี contacts:read
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
จำนวนรายชื่อติดต่อเฉพาะที่ลบแล้ว (หรือจะลบ) และรายชื่อติดต่อร่วมที่เก็บไว้
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contact-lists/{listId}/deletion-preview' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/contact-lists/{listId}/members
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
contact_idsarrayจำเป็น
maxItems: 1000
แต่ละรายการstring
format: "uuid"
การตอบกลับสำเร็จ 204
อัปเดตการเป็นสมาชิกในรายการแล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contact-lists/{listId}/members' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
]
}'
DELETE/v1/workspaces/{workspaceId}/contact-lists/{listId}/members
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
contact_idsarrayจำเป็น
maxItems: 1000
แต่ละรายการstring
format: "uuid"
การตอบกลับสำเร็จ 204
อัปเดตการเป็นสมาชิกในรายการแล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/contact-lists/{listId}/members' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
]
}'
ผู้รับ
POST/v1/workspaces/{workspaceId}/audience/lists
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
minLength: 0 · maxLength: 2000
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/lists' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"description": "example"
}'
GET/v1/workspaces/{workspaceId}/audience/lists/{listId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/lists/{listId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/audience/lists/{listId}/members
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/lists/{listId}/members' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
]
}'
DELETE/v1/workspaces/{workspaceId}/audience/lists/{listId}/members
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/lists/{listId}/members' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
]
}'
POST/v1/workspaces/{workspaceId}/audience/segments
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
filterobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
statusstring
enum: "subscribed", "unsubscribed", "bounced", "complained"
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1ไม่ได้ระบุ
allOf 1object
idstringจำเป็น
format: "uuid"
namestringจำเป็น
filterobjectจำเป็น
เงื่อนไขต้องอ้างฟิลด์รายชื่อติดต่อที่ประกาศและใช้ตัวดำเนินการที่ชนิดรองรับ set และ not_set ไม่ระบุ value ส่วน within_days ใช้ 1–3650 วัน
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
statusstring
enum: "subscribed", "unsubscribed", "bounced", "complained"
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
maxItems: 20
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
matchstring
enum: "all", "any"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
allOf 2object
countintegerจำเป็น
missing_consent_evidence_countintegerจำเป็น
samplearrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
emailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
display_namestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
attributesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
excludedobjectจำเป็น
suppressedintegerจำเป็น
not_subscribedintegerจำเป็น
missing_recipient_hashintegerจำเป็น
missing_consent_evidenceintegerจำเป็น
allOf 2object
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/segments' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"filter": {
"status": "subscribed",
"attributes": {}
}
}'
GET/v1/workspaces/{workspaceId}/audience/segments/{segmentId}/preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
namestringจำเป็น
filterobjectจำเป็น
เงื่อนไขต้องอ้างฟิลด์รายชื่อติดต่อที่ประกาศและใช้ตัวดำเนินการที่ชนิดรองรับ set และ not_set ไม่ระบุ value ส่วน within_days ใช้ 1–3650 วัน
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
statusstring
enum: "subscribed", "unsubscribed", "bounced", "complained"
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
maxItems: 20
แต่ละรายการobject
fieldstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
opstringจำเป็น
enum: "is", "is_not", "contains", "set", "not_set", "gt", "gte", "lt", "lte", "within_days", "any_of", "includes"
ละส่วนที่ซ้อนลึกกว่านี้
valueไม่ได้ระบุ
ละส่วนที่ซ้อนลึกกว่านี้
matchstring
enum: "all", "any"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
allOf 2object
countintegerจำเป็น
missing_consent_evidence_countintegerจำเป็น
samplearrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
excludedobjectจำเป็น
suppressedintegerจำเป็น
not_subscribedintegerจำเป็น
missing_recipient_hashintegerจำเป็น
missing_consent_evidenceintegerจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/segments/{segmentId}/preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/audience/approvals
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการไม่ได้ระบุ
allOf 1object
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
checksarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
approval_idstringจำเป็น
format: "uuid"
broadcast_idstring | nullจำเป็น
format: "uuid"
import_idstring | nullจำเป็น
format: "uuid"
blockersarrayจำเป็น
แต่ละรายการobject
codestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
messagestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
executionsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
resultobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
execution_job_idsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
execution_statusstringจำเป็น
enum: "completed", "failed", "queued", "awaiting_review", "not_queued"
human_review_urlstring | nullจำเป็น
human_review_instructionstring | nullจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/approvals?status=pending' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/audience/approvals/{approvalId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
allOf 2object
approval_idstringจำเป็น
format: "uuid"
broadcast_idstring | nullจำเป็น
format: "uuid"
import_idstring | nullจำเป็น
format: "uuid"
blockersarrayจำเป็น
แต่ละรายการobject
codestringจำเป็น
messagestringจำเป็น
executionsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
resultobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
error_codestring | nullจำเป็น
execution_job_idsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
execution_statusstringจำเป็น
enum: "completed", "failed", "queued", "awaiting_review", "not_queued"
human_review_urlstring | nullจำเป็น
human_review_instructionstring | nullจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/audience/approvals/{approvalId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/signup-forms
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
public_idstringจำเป็น
pattern: "^f_[a-z0-9]{16}$"
namestringจำเป็น
kindstringจำเป็น
enum: "inline", "popup", "bar", "slide_in", "page"
list_idstringจำเป็น
format: "uuid"
list_namestringจำเป็น
mailbox_idstring | nullจำเป็น
format: "uuid"
double_opt_inbooleanจำเป็น
configobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
minLength: 1 · maxLength: 80
ละส่วนที่ซ้อนลึกกว่านี้
typestring
default: "text" · enum: "text", "select", "checkbox"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
default: false
ละส่วนที่ซ้อนลึกกว่านี้
placeholderstring
maxLength: 80
ละส่วนที่ซ้อนลึกกว่านี้
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "active", "paused", "archived"
viewsintegerจำเป็น
submissionsintegerจำเป็น
confirmationsintegerจำเป็น
subscribersintegerจำเป็น
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
hosted_urlstringจำเป็น
embed_codestringจำเป็น
embed_slotstringจำเป็น
open_buttonstringจำเป็น
conversion_ratenumberจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/signup-forms?include_archived=true' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/signup-forms
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestring
maxLength: 200
kindstring
default: "inline" · enum: "inline", "popup", "bar", "slide_in", "page"
list_idstring
format: "uuid"
list_namestring
maxLength: 200
mailbox_idstring | null
format: "uuid"
double_opt_inboolean
default: true
configobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
labelstringจำเป็น
minLength: 1 · maxLength: 80
typestring
default: "text" · enum: "text", "select", "checkbox"
requiredboolean
default: false
placeholderstring
maxLength: 80
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
minLength: 1 · maxLength: 80
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstring
format: "uuid"
product_idstring
format: "uuid"
public_idstring
pattern: "^f_[a-z0-9]{16}$"
namestring
kindstring
enum: "inline", "popup", "bar", "slide_in", "page"
list_idstring
format: "uuid"
list_namestring
mailbox_idstring | null
format: "uuid"
double_opt_inboolean
configobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
labelstringจำเป็น
minLength: 1 · maxLength: 80
typestring
default: "text" · enum: "text", "select", "checkbox"
requiredboolean
default: false
placeholderstring
maxLength: 80
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
minLength: 1 · maxLength: 80
ละส่วนที่ซ้อนลึกกว่านี้
statusstring
enum: "active", "paused", "archived"
viewsinteger
submissionsinteger
confirmationsinteger
subscribersinteger
versioninteger
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
hosted_urlstring
embed_codestring
embed_slotstring
open_buttonstring
conversion_ratenumber
replayedboolean
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/signup-forms' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"kind": "inline",
"list_id": "00000000-0000-4000-8000-000000000001",
"list_name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"double_opt_in": true,
"config": {
"eyebrow": "example",
"headline": "example",
"body": "example",
"button_label": "example",
"email_placeholder": "example",
"name_placeholder": "example",
"fine_print": "example",
"incentive": "example",
"success_headline": "example",
"success_body": "example",
"redirect_url": "example",
"image_url": "example",
"art": "arcs",
"style": "",
"count_noun": "example",
"confirm_promise": "example",
"text_channels": [
"sms"
],
"phone_placeholder": "example",
"text_consent_wording": "example",
"sms_consent_label": "example",
"whatsapp_consent_label": "example",
"locale": "example",
"collect_name": true,
"show_logo": true,
"show_count": true,
"exit_intent": true,
"delay_seconds": 0,
"scroll_percent": 0,
"frequency_days": 0,
"image": "none",
"layout": "stacked",
"theme": "light",
"position": "bottom",
"fields": [
{
"key": "example",
"label": "example",
"type": "text",
"required": false,
"placeholder": "example",
"options": [
"example"
]
}
]
}
}'
GET/v1/workspaces/{workspaceId}/signup-forms/readiness
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/signup-forms/readiness' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/signup-forms/preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
kindstring
enum: "inline", "popup", "bar", "slide_in", "page"
configobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
labelstringจำเป็น
minLength: 1 · maxLength: 80
typestring
default: "text" · enum: "text", "select", "checkbox"
requiredboolean
default: false
placeholderstring
maxLength: 80
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
minLength: 1 · maxLength: 80
double_opt_inboolean
statestring
enum: "form", "success"
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
kindstringจำเป็น
enum: "inline", "popup", "bar", "slide_in", "page"
statestringจำเป็น
enum: "form", "success"
htmlstringจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/signup-forms/preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"kind": "inline",
"config": {
"eyebrow": "example",
"headline": "example",
"body": "example",
"button_label": "example",
"email_placeholder": "example",
"name_placeholder": "example",
"fine_print": "example",
"incentive": "example",
"success_headline": "example",
"success_body": "example",
"redirect_url": "example",
"image_url": "example",
"art": "arcs",
"style": "",
"count_noun": "example",
"confirm_promise": "example",
"text_channels": [
"sms"
],
"phone_placeholder": "example",
"text_consent_wording": "example",
"sms_consent_label": "example",
"whatsapp_consent_label": "example",
"locale": "example",
"collect_name": true,
"show_logo": true,
"show_count": true,
"exit_intent": true,
"delay_seconds": 0,
"scroll_percent": 0,
"frequency_days": 0,
"image": "none",
"layout": "stacked",
"theme": "light",
"position": "bottom",
"fields": [
{
"key": "example",
"label": "example",
"type": "text",
"required": false,
"placeholder": "example",
"options": [
"example"
]
}
]
},
"double_opt_in": true,
"state": "form"
}'
GET/v1/workspaces/{workspaceId}/signup-forms/{formId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
public_idstringจำเป็น
pattern: "^f_[a-z0-9]{16}$"
namestringจำเป็น
kindstringจำเป็น
enum: "inline", "popup", "bar", "slide_in", "page"
list_idstringจำเป็น
format: "uuid"
list_namestringจำเป็น
mailbox_idstring | nullจำเป็น
format: "uuid"
double_opt_inbooleanจำเป็น
configobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
labelstringจำเป็น
minLength: 1 · maxLength: 80
typestring
default: "text" · enum: "text", "select", "checkbox"
requiredboolean
default: false
placeholderstring
maxLength: 80
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
minLength: 1 · maxLength: 80
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "active", "paused", "archived"
viewsintegerจำเป็น
submissionsintegerจำเป็น
confirmationsintegerจำเป็น
subscribersintegerจำเป็น
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
hosted_urlstringจำเป็น
embed_codestringจำเป็น
embed_slotstringจำเป็น
open_buttonstringจำเป็น
conversion_ratenumberจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/signup-forms/{formId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
PATCH/v1/workspaces/{workspaceId}/signup-forms/{formId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestring
maxLength: 200
kindstring
default: "inline" · enum: "inline", "popup", "bar", "slide_in", "page"
list_idstring
format: "uuid"
list_namestring
maxLength: 200
mailbox_idstring | null
format: "uuid"
double_opt_inboolean
default: true
configobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
labelstringจำเป็น
minLength: 1 · maxLength: 80
typestring
default: "text" · enum: "text", "select", "checkbox"
requiredboolean
default: false
placeholderstring
maxLength: 80
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
minLength: 1 · maxLength: 80
statusstring
enum: "active", "paused", "archived"
expected_versioninteger
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
public_idstringจำเป็น
pattern: "^f_[a-z0-9]{16}$"
namestringจำเป็น
kindstringจำเป็น
enum: "inline", "popup", "bar", "slide_in", "page"
list_idstringจำเป็น
format: "uuid"
list_namestringจำเป็น
mailbox_idstring | nullจำเป็น
format: "uuid"
double_opt_inbooleanจำเป็น
configobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
labelstringจำเป็น
minLength: 1 · maxLength: 80
typestring
default: "text" · enum: "text", "select", "checkbox"
requiredboolean
default: false
placeholderstring
maxLength: 80
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
minLength: 1 · maxLength: 80
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "active", "paused", "archived"
viewsintegerจำเป็น
submissionsintegerจำเป็น
confirmationsintegerจำเป็น
subscribersintegerจำเป็น
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
hosted_urlstringจำเป็น
embed_codestringจำเป็น
embed_slotstringจำเป็น
open_buttonstringจำเป็น
conversion_ratenumberจำเป็น
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/signup-forms/{formId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"kind": "inline",
"list_id": "00000000-0000-4000-8000-000000000001",
"list_name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"double_opt_in": true,
"config": {
"eyebrow": "example",
"headline": "example",
"body": "example",
"button_label": "example",
"email_placeholder": "example",
"name_placeholder": "example",
"fine_print": "example",
"incentive": "example",
"success_headline": "example",
"success_body": "example",
"redirect_url": "example",
"image_url": "example",
"art": "arcs",
"style": "",
"count_noun": "example",
"confirm_promise": "example",
"text_channels": [
"sms"
],
"phone_placeholder": "example",
"text_consent_wording": "example",
"sms_consent_label": "example",
"whatsapp_consent_label": "example",
"locale": "example",
"collect_name": true,
"show_logo": true,
"show_count": true,
"exit_intent": true,
"delay_seconds": 0,
"scroll_percent": 0,
"frequency_days": 0,
"image": "none",
"layout": "stacked",
"theme": "light",
"position": "bottom",
"fields": [
{
"key": "example",
"label": "example",
"type": "text",
"required": false,
"placeholder": "example",
"options": [
"example"
]
}
]
},
"status": "active",
"expected_version": 1
}'
POST/v1/workspaces/{workspaceId}/signup-forms/{formId}/preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
kindstring
enum: "inline", "popup", "bar", "slide_in", "page"
configobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
eyebrowstring
maxLength: 60
headlinestring
minLength: 1 · maxLength: 140
bodystring
maxLength: 400
button_labelstring
minLength: 1 · maxLength: 40
email_placeholderstring
maxLength: 80
name_placeholderstring
maxLength: 60
fine_printstring
maxLength: 160
incentivestring
maxLength: 160
success_headlinestring
maxLength: 120
success_bodystring
maxLength: 400
redirect_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
image_urlstring
maxLength: 2000 · pattern: "^(|https://[^\\s\"'<>]+)$"
artstring
enum: "arcs", "blocks", "horizon", "confetti", "frame", "bands", "dots"
stylestring
enum: "", "brand", "material", "clarity", "editorial", "bold", "luxe", "playful", "plain"
count_nounstring
maxLength: 30
confirm_promisestring
maxLength: 200
text_channelsarray
Texts (needs the customers feature): the channels the form asks consent for. The form then asks for a mobile number and shows one unticked box per channel under text_consent_wording. A ticked box makes the number the contact's subscribed address on that channel, kept with what the form showed, and a new SMS subscriber gets one confirmation text from the product's SMS inbox. Empty (the default) asks for no number. Not shown on bars.
maxItems: 2 · uniqueItems: true
แต่ละรายการstring
enum: "sms", "whatsapp"
phone_placeholderstring
maxLength: 60
text_consent_wordingstring
What ticking a box agrees to, shown above the consent boxes and kept with each consent as it was shown. {company} in it becomes the brand's company name.
maxLength: 600
sms_consent_labelstring
maxLength: 120
whatsapp_consent_labelstring
maxLength: 120
localestring
collect_nameboolean
show_logoboolean
show_countboolean
exit_intentboolean
delay_secondsinteger
minimum: 0 · maximum: 600
scroll_percentinteger
minimum: 0 · maximum: 100
frequency_daysinteger
minimum: 0 · maximum: 365
imagestring
enum: "none", "photo", "art"
layoutstring
enum: "stacked", "split"
themestring
enum: "light", "dark", "brand", "auto"
positionstring
enum: "bottom", "top", "right", "left"
fieldsarray
maxItems: 6
แต่ละรายการobject
คำถามแบบเลือกต้องมี options คำถามชนิดอื่นไม่รับ options คีย์ต้องไม่ซ้ำและไม่ใช้ฟิลด์แบบฟอร์มที่สงวน คีย์ที่ไม่ระบุสร้างจากป้าย
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystring
pattern: "^[a-z][a-z0-9_]{0,39}$"
labelstringจำเป็น
minLength: 1 · maxLength: 80
typestring
default: "text" · enum: "text", "select", "checkbox"
requiredboolean
default: false
placeholderstring
maxLength: 80
optionsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
minLength: 1 · maxLength: 80
double_opt_inboolean
statestring
enum: "form", "success"
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
kindstringจำเป็น
enum: "inline", "popup", "bar", "slide_in", "page"
statestringจำเป็น
enum: "form", "success"
htmlstringจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/signup-forms/{formId}/preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"kind": "inline",
"config": {
"eyebrow": "example",
"headline": "example",
"body": "example",
"button_label": "example",
"email_placeholder": "example",
"name_placeholder": "example",
"fine_print": "example",
"incentive": "example",
"success_headline": "example",
"success_body": "example",
"redirect_url": "example",
"image_url": "example",
"art": "arcs",
"style": "",
"count_noun": "example",
"confirm_promise": "example",
"text_channels": [
"sms"
],
"phone_placeholder": "example",
"text_consent_wording": "example",
"sms_consent_label": "example",
"whatsapp_consent_label": "example",
"locale": "example",
"collect_name": true,
"show_logo": true,
"show_count": true,
"exit_intent": true,
"delay_seconds": 0,
"scroll_percent": 0,
"frequency_days": 0,
"image": "none",
"layout": "stacked",
"theme": "light",
"position": "bottom",
"fields": [
{
"key": "example",
"label": "example",
"type": "text",
"required": false,
"placeholder": "example",
"options": [
"example"
]
}
]
},
"double_opt_in": true,
"state": "form"
}'
GET/v1/forms/embed.js
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
ไม่ได้ระบุพารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ตัวโหลดแบบฟอร์มสมัครที่ฝังได้
text/javascript
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/forms/embed.js'
OPTIONS/v1/forms/embed.js
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
ไม่ได้ระบุพารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
การตอบกลับสำเร็จ
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request OPTIONS --globoff 'https://api.bangermail.com/v1/forms/embed.js'
HEAD/v1/forms/embed.js
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
ไม่ได้ระบุพารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
สัญญาไม่ได้ระบุสคีมาการตอบกลับ
ตัวอย่าง curl
curl --request HEAD --globoff 'https://api.bangermail.com/v1/forms/embed.js'
GET/v1/forms/{publicId}/widget
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
kindstringจำเป็น
enum: "inline", "popup", "bar", "slide_in", "page"
langstringจำเป็น
htmlstringจำเป็น
cssstringจำเป็น
font_hrefstringจำเป็น
redirect_urlstringจำเป็น
behaviorobjectจำเป็น
delay_secondsnumberจำเป็น
scroll_percentnumberจำเป็น
exit_intentbooleanจำเป็น
frequency_daysnumberจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/forms/{publicId}/widget'
OPTIONS/v1/forms/{publicId}/widget
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
การตอบกลับสำเร็จ
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request OPTIONS --globoff 'https://api.bangermail.com/v1/forms/{publicId}/widget'
POST/v1/forms/{publicId}/subscribe
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/x-www-form-urlencoded
valueobject
คำตอบที่กำหนดเองใช้ x_<field key> (หรือคีย์ไม่ใส่คำนำหน้า) คำตอบที่จำเป็นขึ้นกับการตั้งค่าแบบฟอร์ม ตัวจัดการอ่าน 8000 อักขระแรกของเนื้อหา
emailstringจำเป็น
format: "email" · maxLength: 320
namestring
maxLength: 100
pagestring
maxLength: 2000
elapsednumber | string
มิลลิวินาทีที่ผ่านไปหลังแสดงแบบฟอร์ม
langstring
maxLength: 35
localestring
maxLength: 35
websitestring
Honeypot ให้เว้นว่าง
maxLength: 200
phonestring
A mobile number in international format (+ and the country code), on a form that asks for one. Needed only with a consent box; without one it is not kept.
maxLength: 40
sms_consentstring
The visitor ticked the SMS box: the number becomes their subscribed SMS address, with what the form showed.
enum: "yes"
whatsapp_consentstring
The visitor ticked the WhatsApp box: the number becomes their subscribed WhatsApp address, with what the form showed.
enum: "yes"
พร็อพเพอร์ตีเพิ่มเติมstring | number
application/json
valueobject
คำตอบที่กำหนดเองใช้ x_<field key> (หรือคีย์ไม่ใส่คำนำหน้า) คำตอบที่จำเป็นขึ้นกับการตั้งค่าแบบฟอร์ม ตัวจัดการอ่าน 8000 อักขระแรกของเนื้อหา
emailstringจำเป็น
format: "email" · maxLength: 320
namestring
maxLength: 100
pagestring
maxLength: 2000
elapsednumber | string
มิลลิวินาทีที่ผ่านไปหลังแสดงแบบฟอร์ม
langstring
maxLength: 35
localestring
maxLength: 35
websitestring
Honeypot ให้เว้นว่าง
maxLength: 200
phonestring
A mobile number in international format (+ and the country code), on a form that asks for one. Needed only with a consent box; without one it is not kept.
maxLength: 40
sms_consentstring
The visitor ticked the SMS box: the number becomes their subscribed SMS address, with what the form showed.
enum: "yes"
whatsapp_consentstring
The visitor ticked the WhatsApp box: the number becomes their subscribed WhatsApp address, with what the form showed.
enum: "yes"
พร็อพเพอร์ตีเพิ่มเติมstring | number
การตอบกลับสำเร็จ 200
รับการสมัครแล้ว
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/forms/{publicId}/subscribe' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "person@example.com",
"name": "example",
"page": "example",
"elapsed": 1,
"lang": "example",
"locale": "example",
"website": "example",
"phone": "example",
"sms_consent": "yes",
"whatsapp_consent": "yes"
}'
OPTIONS/v1/forms/{publicId}/subscribe
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
การตอบกลับสำเร็จ
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request OPTIONS --globoff 'https://api.bangermail.com/v1/forms/{publicId}/subscribe'
POST/v1/forms/{publicId}/view
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
นับแล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/forms/{publicId}/view'
OPTIONS/v1/forms/{publicId}/view
เอนด์พอยต์สาธารณะ: ไม่ต้องยืนยันตัวตน
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
การตอบกลับสำเร็จ
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request OPTIONS --globoff 'https://api.bangermail.com/v1/forms/{publicId}/view'
เทมเพลต
GET/v1/workspaces/{workspaceId}/templates
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
subjectstringจำเป็น
body_textstringจำเป็น
contentobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
slotsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
statusstringจำเป็น
enum: "active", "archived"
originstringจำเป็น
enum: "person", "agent", "starter", "import"
created_by_actor_idstring | null
campaign_idstring | null
format: "uuid"
message_kindstring
starter_idstring | null
starter_versioninteger | null
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
body_html_urlstring
format: "uri"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/templates
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestringจำเป็น
minLength: 1 · maxLength: 200
subjectstring
maxLength: 10000
body_textstring
maxLength: 2000000
body_htmlstring
maxLength: 2000000
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
slotsarray
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
originstring
enum: "person", "agent", "starter", "import"
message_kindstring
starter_idstring
maxLength: 80
starter_versioninteger
minimum: 1
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
subjectstringจำเป็น
body_textstringจำเป็น
contentobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
slotsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
statusstringจำเป็น
enum: "active", "archived"
originstringจำเป็น
enum: "person", "agent", "starter", "import"
created_by_actor_idstring | null
campaign_idstring | null
format: "uuid"
message_kindstring
starter_idstring | null
starter_versioninteger | null
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
body_html_urlstring
format: "uri"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"subject": "example",
"body_text": "example",
"body_html": "example",
"content": {},
"slots": [
{
"key": "example",
"label": "example",
"type": "text",
"help": "example"
}
],
"origin": "person",
"message_kind": "example",
"starter_id": "example",
"starter_version": 1
}'
POST/v1/workspaces/{workspaceId}/templates/preview
เรนเดอร์ข้อมูลดีไซน์ที่ยังไม่บันทึกด้วยค่าตัวอย่างหรือผู้รับ และรายงานตัวแทนที่ขาด
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
subjectstring
maxLength: 10000
body_textstring
maxLength: 2000000
body_htmlstring
maxLength: 2000000
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
audienceobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
sample_emailstring
อีเมลรายชื่อติดต่อที่มีอยู่ ที่อยู่ไม่รู้จักคืน sample_recipient_not_found ไม่ระบุเพื่อใช้ค่าตัวอย่างหรือผู้รับ
maxLength: 320
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
subjectstringจำเป็น
body_textstringจำเป็น
body_htmlstring
font_renderingarrayจำเป็น
แต่ละรายการobject
stackstringจำเป็น
fontstringจำเป็น
web_fontbooleanจำเป็น
clientsarrayจำเป็น
แต่ละรายการobject
clientstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
fontstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
web_fontbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
fallbackbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
sample_recipientไม่ได้ระบุจำเป็น
anyOf 1object
emailstringจำเป็น
display_namestring | nullจำเป็น
anyOf 2null
required_variablesarrayจำเป็น
แต่ละรายการstring
effective_slotsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
audience_countinteger
gapsarray
แต่ละรายการobject
variablestringจำเป็น
missing_countintegerจำเป็น
sample_emailsarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates/preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"subject": "example",
"body_text": "example",
"body_html": "example",
"content": {},
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
},
"sample_email": "example"
}'
GET/v1/workspaces/{workspaceId}/templates/{templateId}
หนึ่งดีไซน์พร้อม HTML แบบอินไลน์ เนื้อหาที่ต้องกรอก และสล็อตที่ใช้งาน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
subjectstringจำเป็น
body_textstringจำเป็น
contentobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
slotsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
statusstringจำเป็น
enum: "active", "archived"
originstringจำเป็น
enum: "person", "agent", "starter", "import"
created_by_actor_idstring | null
campaign_idstring | null
format: "uuid"
message_kindstring
starter_idstring | null
starter_versioninteger | null
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
body_html_urlstring
format: "uri"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates/{templateId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
PATCH/v1/workspaces/{workspaceId}/templates/{templateId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestring
maxLength: 200
subjectstring
maxLength: 10000
body_textstring
maxLength: 2000000
body_htmlstring
minLength: 1 · maxLength: 2000000
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
maxLength: 20000
slotsarray
maxItems: 100
แต่ละรายการobject
keystringจำเป็น
maxLength: 200
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
statusstring
enum: "active", "archived"
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
subjectstringจำเป็น
body_textstringจำเป็น
contentobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
slotsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
statusstringจำเป็น
enum: "active", "archived"
originstringจำเป็น
enum: "person", "agent", "starter", "import"
created_by_actor_idstring | null
campaign_idstring | null
format: "uuid"
message_kindstring
starter_idstring | null
starter_versioninteger | null
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
body_html_urlstring
format: "uri"
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates/{templateId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"subject": "example",
"body_text": "example",
"body_html": "example",
"content": {},
"slots": [
{
"key": "example",
"label": "example",
"type": "text",
"help": "example"
}
],
"status": "active"
}'
POST/v1/workspaces/{workspaceId}/templates/{templateId}/duplicate
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestring
maxLength: 200
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
subjectstringจำเป็น
body_textstringจำเป็น
contentobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
slotsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
statusstringจำเป็น
enum: "active", "archived"
originstringจำเป็น
enum: "person", "agent", "starter", "import"
created_by_actor_idstring | null
campaign_idstring | null
format: "uuid"
message_kindstring
starter_idstring | null
starter_versioninteger | null
versionintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
body_html_urlstring
format: "uri"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates/{templateId}/duplicate' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example"
}'
POST/v1/workspaces/{workspaceId}/templates/{templateId}/preview
เรนเดอร์ดีไซน์ที่บันทึกด้วยค่าตัวอย่างหรือผู้รับ และรายงานตัวแทนที่ขาด
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
audienceobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
sample_emailstring
อีเมลรายชื่อติดต่อที่มีอยู่ ที่อยู่ไม่รู้จักคืน sample_recipient_not_found ไม่ระบุเพื่อใช้ค่าตัวอย่างหรือผู้รับ
maxLength: 320
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
subjectstringจำเป็น
body_textstringจำเป็น
body_htmlstring
font_renderingarrayจำเป็น
แต่ละรายการobject
stackstringจำเป็น
fontstringจำเป็น
web_fontbooleanจำเป็น
clientsarrayจำเป็น
แต่ละรายการobject
clientstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
fontstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
web_fontbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
fallbackbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
sample_recipientไม่ได้ระบุจำเป็น
anyOf 1object
emailstringจำเป็น
display_namestring | nullจำเป็น
anyOf 2null
required_variablesarrayจำเป็น
แต่ละรายการstring
effective_slotsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
labelstring
maxLength: 120
typestring
enum: "text", "paragraph", "url", "image"
helpstring
maxLength: 300
audience_countinteger
gapsarray
แต่ละรายการobject
variablestringจำเป็น
missing_countintegerจำเป็น
sample_emailsarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates/{templateId}/preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"content": {},
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
},
"sample_email": "example"
}'
GET/v1/workspaces/{workspaceId}/templates/{templateId}/html
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
เนื้อหาเทมเพลตอีเมล HTML ที่ไม่มีสคริปต์
text/html
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/templates/{templateId}/html' \
--header "Authorization: Bearer $BANGER_API_KEY"
แคมเปญ
POST/v1/workspaces/{workspaceId}/campaigns/coverage-preview
ตัวแทนที่จำเป็นซึ่งผู้รับเติมค่าไม่ได้ ก่อนบันทึกแคมเปญใด
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
subjectstring
maxLength: 10000
body_textstring
maxLength: 2000000
body_htmlstring
maxLength: 2000000
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
sample_emailstring
maxLength: 320
template_idstring
format: "uuid"
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
required_variablesarrayจำเป็น
แต่ละรายการstring
audience_countintegerจำเป็น
gapsarrayจำเป็น
แต่ละรายการobject
variablestringจำเป็น
missing_countintegerจำเป็น
sample_emailsarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/coverage-preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"subject": "example",
"body_text": "example",
"body_html": "example",
"content": {},
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
},
"sample_email": "example",
"template_id": "00000000-0000-4000-8000-000000000001"
}'
GET/v1/workspaces/{workspaceId}/campaigns
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstringจำเป็น
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/campaigns
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstringจำเป็น
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"template_id": "00000000-0000-4000-8000-000000000001",
"subject_variants": [
"example"
],
"selected_subject_variant": 0,
"audience": {
"all_subscribed": false,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
}
}'
POST/v1/workspaces/{workspaceId}/campaigns/audience-preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
countintegerจำเป็น
missing_consent_evidence_countintegerจำเป็น
samplearrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
excludedobjectจำเป็น
suppressedintegerจำเป็น
not_subscribedintegerจำเป็น
missing_recipient_hashintegerจำเป็น
missing_consent_evidenceintegerจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/audience-preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
}
}'
GET/v1/workspaces/{workspaceId}/campaigns/{campaignId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstringจำเป็น
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
PATCH/v1/workspaces/{workspaceId}/campaigns/{campaignId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestringจำเป็น
maxLength: 200
mailbox_idstringจำเป็น
format: "uuid"
template_idstring
format: "uuid"
subject_variantsarray
maxItems: 8
แต่ละรายการstring
minLength: 1 · maxLength: 998
selected_subject_variantinteger
minimum: 0
audienceobjectจำเป็น
พร็อพเพอร์ตีที่ไม่ได้ระบุในสัญญา
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstringจำเป็น
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"template_id": "00000000-0000-4000-8000-000000000001",
"subject_variants": [
"example"
],
"selected_subject_variant": 0,
"audience": {}
}'
DELETE/v1/workspaces/{workspaceId}/campaigns/{campaignId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
deletedbooleanจำเป็น
const: true
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/campaigns/{campaignId}/recipients
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
contact_idstring | null
format: "uuid"
recipient_emailstring
recipient_namestring | null
recipient_hashstring
variant_keystring | null
Persisted Broadcast experiment arm, or holdback before a winner is chosen. Null for a Broadcast without an experiment.
statusstring
dispatch_statusstring
command_idstring | null
format: "uuid"
error_codestring | null
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
delivery_statestring | null
provider_message_keystring | null
last_event_atstring | null
format: "date-time"
first_delivered_atstring | null
format: "date-time"
first_opened_atstring | null
format: "date-time"
first_clicked_atstring | null
format: "date-time"
first_human_likely_opened_atstring | null
format: "date-time"
first_human_likely_clicked_atstring | null
format: "date-time"
first_replied_atstring | null
format: "date-time"
machine_open_countinteger
machine_click_countinteger
privacy_proxy_open_countinteger
unknown_open_countinteger
unknown_click_countinteger
first_unsubscribed_atstring | null
format: "date-time"
pageobjectจำเป็น
next_cursorstring
has_morebooleanจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/recipients?cursor=example&limit=50&status=pending' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/campaigns/{campaignId}/timeline
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/timeline' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/pause
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
namestringจำเป็น
mailbox_idstringจำเป็น
format: "uuid"
template_idstring | nullจำเป็น
format: "uuid"
statusstringจำเป็น
audience_queryobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
scheduled_atstring | nullจำเป็น
format: "date-time"
started_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/pause' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/resume
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
namestringจำเป็น
mailbox_idstringจำเป็น
format: "uuid"
template_idstring | nullจำเป็น
format: "uuid"
statusstringจำเป็น
audience_queryobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
scheduled_atstring | nullจำเป็น
format: "date-time"
started_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/resume' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/cancel
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
namestringจำเป็น
mailbox_idstringจำเป็น
format: "uuid"
template_idstring | nullจำเป็น
format: "uuid"
statusstringจำเป็น
audience_queryobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
scheduled_atstring | nullจำเป็น
format: "date-time"
started_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/cancel' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/schedule
เลิกใช้แล้ว
ขอบเขตตั้งเวลาโดยตรงที่เลิกใช้ คืน governed_review_required เสมอ ใช้เอนด์พอยต์ตรวจทานแคมเปญเพื่อบังคับเกณฑ์ผู้รับของพื้นที่ทำงาน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ
สัญญาไม่ได้ระบุการตอบกลับสำเร็จ
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/schedule' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/test
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
tostringจำเป็น
minLength: 3 · maxLength: 320
data_modestring
default: "contact" · enum: "sample", "fallback", "contact"
contact_emailstring
maxLength: 320
variant_keystring
maxLength: 80
localestring
การตอบกลับสำเร็จ 202
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
action_kindstringจำเป็น
enum: "transactional.send"
idstringจำเป็น
format: "uuid"
send_intent_idstringจำเป็น
format: "uuid"
provider_attempt_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/test' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"to": "example",
"data_mode": "contact",
"contact_email": "example",
"variant_key": "example",
"locale": "example"
}'
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/review
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
expected_versioninteger
minimum: 1
expected_design_versioninteger
minimum: 1
recipient_selectionobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
scheduled_atstring
format: "date-time"
send_nowboolean
const: true
approve_as_launcherboolean
คนที่กดส่งอนุมัติคำขอนี้ตามจริงเมื่อนโยบายตรวจทานต้องใช้คน ละเว้นสำหรับคีย์ API และเอเจนต์ ซึ่งรอในส่วนการอนุมัติ
oneOf 1ไม่ได้ระบุ
oneOf 2ไม่ได้ระบุ
การตอบกลับสำเร็จ 201
สร้างการอนุมัติตั้งเวลาแคมเปญแล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/review' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '"example"'
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/archive
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/archive' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/campaigns/{campaignId}/unarchive
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/unarchive' \
--header "Authorization: Bearer $BANGER_API_KEY"
PUT/v1/workspaces/{workspaceId}/campaigns/{campaignId}/design-test
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestringจำเป็น
minLength: 1 · maxLength: 200
mailbox_idstringจำเป็น
format: "uuid"
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
automatic_translationboolean
variantsarrayจำเป็น
minItems: 1 · maxItems: 4
แต่ละรายการobject
body_htmlstringจำเป็น
minLength: 1 · maxLength: 2000000
subjectstring
maxLength: 10000
body_textstring
maxLength: 2000000
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstring
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstringจำเป็น
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
design_template_idstringจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/campaigns/{campaignId}/design-test' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
},
"automatic_translation": true,
"variants": [
{
"body_html": "example",
"subject": "example",
"body_text": "example",
"content": {}
}
]
}'
แคมเปญ
POST/v1/workspaces/{workspaceId}/broadcasts
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
mailbox_idstring
ที่อยู่ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อใช้ผู้ส่งเริ่มต้น จากนั้นกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์
format: "uuid"
template_idstring
format: "uuid"
audienceobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
subject_variantsarray
maxItems: 8
แต่ละรายการstring
minLength: 1 · maxLength: 998
selected_subject_variantinteger
minimum: 0 · maximum: 7
expires_after_secondsinteger
ยกเลิกผู้รับที่ยังไม่ส่งหลังจำนวนวินาทีนี้นับจากเวลาที่ตั้งไว้ ค่าเริ่มต้นเจ็ดวัน
minimum: 1 · maximum: 604800
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
maxLength: 20000
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1ไม่ได้ระบุ
allOf 1object
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstring
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
broadcast_idstringจำเป็น
format: "uuid"
sender_addressstring | nullจำเป็น
sending_blockerไม่ได้ระบุจำเป็น
anyOf 1object
codestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
messagestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
designไม่ได้ระบุจำเป็น
anyOf 1object
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
product_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
namestring
ละส่วนที่ซ้อนลึกกว่านี้
subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
contentobject
ละส่วนที่ซ้อนลึกกว่านี้
slotsarray
ละส่วนที่ซ้อนลึกกว่านี้
statusstring
enum: "active", "archived"
ละส่วนที่ซ้อนลึกกว่านี้
originstring
enum: "person", "agent", "starter", "import"
ละส่วนที่ซ้อนลึกกว่านี้
created_by_actor_idstring | null
ละส่วนที่ซ้อนลึกกว่านี้
campaign_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
message_kindstring
ละส่วนที่ซ้อนลึกกว่านี้
starter_idstring | null
ละส่วนที่ซ้อนลึกกว่านี้
starter_versioninteger | null
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
created_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
updated_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
body_html_urlstring
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
body_htmlstring | null
ละส่วนที่ซ้อนลึกกว่านี้
body_html_b2_keystring | null
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
managed_contentไม่ได้ระบุจำเป็น
anyOf 1ไม่ได้ระบุ
allOf 1object
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
subjectstring | nullจำเป็น
sender_mailboxไม่ได้ระบุจำเป็น
anyOf 1object
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
addressstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
display_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
reply_mailboxไม่ได้ระบุจำเป็น
anyOf 1object
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
addressstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
display_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
design_versioninteger | nullจำเป็น
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
replayedbooleanจำเป็น
allOf 2object
previewobject
subjectstringจำเป็น
preheaderstring
htmlstringจำเป็น
textstringจำเป็น
localestringจำเป็น
directionstringจำเป็น
enum: "ltr", "rtl"
warningsarray
แต่ละรายการstring
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"template_id": "00000000-0000-4000-8000-000000000001",
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
},
"subject_variants": [
"example"
],
"selected_subject_variant": 0,
"expires_after_seconds": 1,
"content_overrides": {}
}'
GET/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstring
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
broadcast_idstringจำเป็น
format: "uuid"
sender_addressstring | nullจำเป็น
sending_blockerไม่ได้ระบุจำเป็น
anyOf 1object
codestringจำเป็น
messagestringจำเป็น
anyOf 2null
designไม่ได้ระบุจำเป็น
anyOf 1object
idstring
format: "uuid"
product_idstring
format: "uuid"
namestring
subjectstring
body_textstring
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
slotsarray
แต่ละรายการobject
keystringจำเป็น
pattern: "^[A-Za-z0-9_$.-]{1,200}$"
ละส่วนที่ซ้อนลึกกว่านี้
labelstring
maxLength: 120
ละส่วนที่ซ้อนลึกกว่านี้
typestring
enum: "text", "paragraph", "url", "image"
ละส่วนที่ซ้อนลึกกว่านี้
helpstring
maxLength: 300
ละส่วนที่ซ้อนลึกกว่านี้
statusstring
enum: "active", "archived"
originstring
enum: "person", "agent", "starter", "import"
created_by_actor_idstring | null
campaign_idstring | null
format: "uuid"
message_kindstring
starter_idstring | null
starter_versioninteger | null
versioninteger
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
body_html_urlstring
format: "uri"
body_htmlstring | null
body_html_b2_keystring | null
anyOf 2null
managed_contentไม่ได้ระบุจำเป็น
anyOf 1ไม่ได้ระบุ
allOf 1object
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
minimum: 1
review_requiredbooleanจำเป็น
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsarray
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
translation_jobsarray
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
source_revisionไม่ได้ระบุจำเป็น
anyOf 1object
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
published_source_revisionไม่ได้ระบุจำเป็น
anyOf 1object
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
translationsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
subjectstring | nullจำเป็น
sender_mailboxไม่ได้ระบุจำเป็น
anyOf 1object
idstringจำเป็น
format: "uuid"
addressstringจำเป็น
display_namestringจำเป็น
statusstringจำเป็น
anyOf 2null
reply_mailboxไม่ได้ระบุจำเป็น
anyOf 1object
idstringจำเป็น
format: "uuid"
addressstringจำเป็น
display_namestringจำเป็น
statusstringจำเป็น
anyOf 2null
design_versioninteger | nullจำเป็น
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
PATCH/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestring
minLength: 1 · maxLength: 200
mailbox_idstring
format: "uuid"
template_idstring
format: "uuid"
audienceobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
subject_variantsarray
maxItems: 8
แต่ละรายการstring
minLength: 1 · maxLength: 998
selected_subject_variantinteger
minimum: 0 · maximum: 7
expires_after_secondsinteger
ยกเลิกผู้รับที่ยังไม่ส่งหลังจำนวนวินาทีนี้นับจากเวลาที่ตั้งไว้
minimum: 1 · maximum: 604800
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
maxLength: 20000
expected_versionintegerจำเป็น
minimum: 1
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
namestringจำเป็น
mailbox_idstring
format: "uuid"
template_idstring | null
format: "uuid"
managed_content_idstring | null
format: "uuid"
managed_source_revision_idstring | null
format: "uuid"
managed_publication_idstring | null
format: "uuid"
managed_locales_snapshotarray
แต่ละรายการstring
expires_after_secondsinteger | null
statusstring
versionintegerจำเป็น
subject_variantsarray
แต่ละรายการstring
selected_subject_variantinteger
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
audience_queryobject
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
audience_frozen_atstring | null
format: "date-time"
audience_recipient_countinteger | null
audience_snapshot_sha256string | null
audience_snapshot_campaign_versioninteger | null
scheduled_atstring | null
format: "date-time"
started_atstring | null
format: "date-time"
completed_atstring | null
format: "date-time"
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
archived_atstring | null
format: "date-time"
statsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
broadcast_idstringจำเป็น
format: "uuid"
sender_addressstring | nullจำเป็น
sending_blockerไม่ได้ระบุจำเป็น
anyOf 1object
codestringจำเป็น
messagestringจำเป็น
anyOf 2null
designไม่ได้ระบุจำเป็น
anyOf 1object
idstring
format: "uuid"
product_idstring
format: "uuid"
namestring
subjectstring
body_textstring
contentobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
slotsarray
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
statusstring
enum: "active", "archived"
originstring
enum: "person", "agent", "starter", "import"
created_by_actor_idstring | null
campaign_idstring | null
format: "uuid"
message_kindstring
starter_idstring | null
starter_versioninteger | null
versioninteger
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
body_html_urlstring
format: "uri"
body_htmlstring | null
body_html_b2_keystring | null
anyOf 2null
managed_contentไม่ได้ระบุจำเป็น
anyOf 1ไม่ได้ระบุ
allOf 1object
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
versionintegerจำเป็น
minimum: 1
ละส่วนที่ซ้อนลึกกว่านี้
review_requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
submitted_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
approved_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revisionobject
ละส่วนที่ซ้อนลึกกว่านี้
translationsarray
ละส่วนที่ซ้อนลึกกว่านี้
translation_jobsarray
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
source_revisionไม่ได้ระบุจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
published_source_revisionไม่ได้ระบุจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
translationsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
anyOf 2null
subjectstring | nullจำเป็น
sender_mailboxไม่ได้ระบุจำเป็น
anyOf 1object
idstringจำเป็น
format: "uuid"
addressstringจำเป็น
display_namestringจำเป็น
statusstringจำเป็น
anyOf 2null
reply_mailboxไม่ได้ระบุจำเป็น
anyOf 1object
idstringจำเป็น
format: "uuid"
addressstringจำเป็น
display_namestringจำเป็น
statusstringจำเป็น
anyOf 2null
design_versioninteger | nullจำเป็น
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
allOf 2object
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"template_id": "00000000-0000-4000-8000-000000000001",
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
},
"subject_variants": [
"example"
],
"selected_subject_variant": 0,
"expires_after_seconds": 1,
"content_overrides": {},
"expected_version": 1
}'
POST/v1/workspaces/{workspaceId}/broadcasts/audience-preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
audienceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
template_idstring
format: "uuid"
subjectstring
minLength: 0 · maxLength: 10000
content_overridesobject
พร็อพเพอร์ตีเพิ่มเติมstring
maxLength: 20000
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
countintegerจำเป็น
missing_consent_evidence_countintegerจำเป็น
samplearrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
excludedobjectจำเป็น
suppressedintegerจำเป็น
not_subscribedintegerจำเป็น
missing_recipient_hashintegerจำเป็น
missing_consent_evidenceintegerจำเป็น
allOf 2object
eligible_countintegerจำเป็น
required_variablesarrayจำเป็น
แต่ละรายการstring
missing_personalization_fieldsarrayจำเป็น
แต่ละรายการobject
variablestringจำเป็น
missingCountintegerจำเป็น
sampleEmailsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts/audience-preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
},
"template_id": "00000000-0000-4000-8000-000000000001",
"subject": "example",
"content_overrides": {}
}'
POST/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/audience-preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
countintegerจำเป็น
missing_consent_evidence_countintegerจำเป็น
samplearrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
display_namestring | nullจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
excludedobjectจำเป็น
suppressedintegerจำเป็น
not_subscribedintegerจำเป็น
missing_recipient_hashintegerจำเป็น
missing_consent_evidenceintegerจำเป็น
allOf 2object
eligible_countintegerจำเป็น
required_variablesarrayจำเป็น
แต่ละรายการstring
missing_personalization_fieldsarrayจำเป็น
แต่ละรายการobject
variablestringจำเป็น
missingCountintegerจำเป็น
sampleEmailsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/audience-preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"audience": {
"all_subscribed": true,
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"list_ids": [
"00000000-0000-4000-8000-000000000001"
],
"segment_ids": [
"00000000-0000-4000-8000-000000000001"
]
}
}'
GET/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/readiness
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataobjectจำเป็น
broadcast_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
readybooleanจำเป็น
blockersarrayจำเป็น
แต่ละรายการobject
codestringจำเป็น
messagestringจำเป็น
audienceไม่ได้ระบุจำเป็น
allOf 1object
countintegerจำเป็น
missing_consent_evidence_countintegerจำเป็น
samplearrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
emailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
display_namestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
attributesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
excludedobjectจำเป็น
suppressedintegerจำเป็น
not_subscribedintegerจำเป็น
missing_recipient_hashintegerจำเป็น
missing_consent_evidenceintegerจำเป็น
allOf 2object
eligible_countintegerจำเป็น
required_variablesarrayจำเป็น
แต่ละรายการstring
missing_personalization_fieldsarrayจำเป็น
แต่ละรายการobject
variablestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
missingCountintegerจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
sampleEmailsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audienceobjectจำเป็น
เลือกรายชื่อติดต่อที่สมัครทั้งหมด หรืออย่างน้อยหนึ่งรายการ contact_ids, list_ids หรือ segment_ids ที่ไม่ว่าง
all_subscribedboolean
contact_idsarray
maxItems: 10000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
list_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
segment_idsarray
maxItems: 1000
แต่ละรายการstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
campaign_versionintegerจำเป็น
design_versioninteger | nullจำเป็น
languagesไม่ได้ระบุจำเป็น
anyOf 1object
ภาษาผู้รับที่ยังแปลไม่ทำให้แคมเปญรอ ผู้อ่านได้รับเมื่อคำแปลพร้อม และข้าม (translation_failed, translation_awaiting_review หรือ translation_still_preparing) หากไม่พร้อมภายในหนึ่งวันหลังส่ง
requestedarrayจำเป็น
แต่ละรายการobject
localestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
countintegerจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
pending_localesarrayจำเป็น
แต่ละรายการstring
waiting_localesarrayจำเป็น
แต่ละรายการstring
anyOf 2null
sendingobjectจำเป็น
route_kindstring | null
sending_stream_idstring | null
format: "uuid"
banger_send_limitinteger | string | null
daily_send_limitinteger | string | null
usedinteger | string | null
daily_usedinteger | string | null
delivery_paceไม่ได้ระบุจำเป็น
anyOf 1object
daysintegerจำเป็น
daily_limitintegerจำเป็น
messagestringจำเป็น
anyOf 2null
approval_requirementsobjectจำเป็น
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
footerobjectจำเป็น
identity_presentbooleanจำเป็น
address_presentbooleanจำเป็น
checks_are_advisorybooleanจำเป็น
const: true
next_actionstringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/readiness' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/recipients
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
contact_idstring | null
format: "uuid"
recipient_emailstring
recipient_namestring | null
recipient_hashstring
variant_keystring | null
Persisted Broadcast experiment arm, or holdback before a winner is chosen. Null for a Broadcast without an experiment.
statusstring
dispatch_statusstring
command_idstring | null
format: "uuid"
error_codestring | null
created_atstring
format: "date-time"
updated_atstring
format: "date-time"
delivery_statestring | null
provider_message_keystring | null
last_event_atstring | null
format: "date-time"
first_delivered_atstring | null
format: "date-time"
first_opened_atstring | null
format: "date-time"
first_clicked_atstring | null
format: "date-time"
first_human_likely_opened_atstring | null
format: "date-time"
first_human_likely_clicked_atstring | null
format: "date-time"
first_replied_atstring | null
format: "date-time"
machine_open_countinteger
machine_click_countinteger
privacy_proxy_open_countinteger
unknown_open_countinteger
unknown_click_countinteger
first_unsubscribed_atstring | null
format: "date-time"
pageobjectจำเป็น
next_cursorstring
has_morebooleanจำเป็น
delivery_semanticsstringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/recipients?cursor=example&limit=1&status=pending' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/timeline
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลหลักที่อ่านกลับหรือใบรับแบบ idempotent ผู้ให้บริการรับแล้วคือ sent ส่วน delivered ต้องมีเหตุการณ์ส่งถึงและไม่ยืนยันว่าเข้ากล่องจดหมายเข้า
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
typestringจำเป็น
occurred_atstringจำเป็น
format: "date-time"
actor_idstring | nullจำเป็น
detailobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
delivery_semanticsstringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/timeline' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
เส้นทาง
GET/v1/workspaces/{workspaceId}/journeys
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
เส้นทางผลิตภัณฑ์
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการไม่ได้ระบุ
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
ละส่วนที่ซ้อนลึกกว่านี้
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
ละส่วนที่ซ้อนลึกกว่านี้
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
ละส่วนที่ซ้อนลึกกว่านี้
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
ละส่วนที่ซ้อนลึกกว่านี้
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
ละส่วนที่ซ้อนลึกกว่านี้
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
ละส่วนที่ซ้อนลึกกว่านี้
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
ละส่วนที่ซ้อนลึกกว่านี้
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
ละส่วนที่ซ้อนลึกกว่านี้
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
ละส่วนที่ซ้อนลึกกว่านี้
preheaderstring
maxLength: 100000
ละส่วนที่ซ้อนลึกกว่านี้
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
ละส่วนที่ซ้อนลึกกว่านี้
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
ละส่วนที่ซ้อนลึกกว่านี้
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
ละส่วนที่ซ้อนลึกกว่านี้
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
ละส่วนที่ซ้อนลึกกว่านี้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
positioninteger
minimum: 1 · maximum: 100
ละส่วนที่ซ้อนลึกกว่านี้
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
minLength: 1 · maxLength: 200
ละส่วนที่ซ้อนลึกกว่านี้
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
ละส่วนที่ซ้อนลึกกว่านี้
armsarray
minItems: 2 · maxItems: 4
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys?status=draft&trigger_kind=example&testing=1&q=example' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/journeys
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
body_textstring
maxLength: 100000
layoutstring
maxLength: 100000
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typestringจำเป็น
enum: "string", "text", "url", "image_url", "html", "date", "datetime", "number", "boolean", "money"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultไม่ได้ระบุ
ต้องตรงกับชนิดฟิลด์
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "object"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultobject
ละส่วนที่ซ้อนลึกกว่านี้
propertiesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "list"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultarray
ละส่วนที่ซ้อนลึกกว่านี้
itemsไม่ได้ระบุจำเป็น
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
versioninteger
draft_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revision_idstring | null
format: "uuid"
layout_revision_idstring | null
format: "uuid"
published_layout_revision_idstring | null
format: "uuid"
source_localestring | null
configured_localesarray
แต่ละรายการstring
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
published_variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
enum: "A", "B", "C", "D"
labelstringจำเป็น
maxLength: 120
allocationnumberจำเป็น
minimum: 0 · maximum: 100
stepsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
การตอบกลับสำเร็จ 201
สร้างเส้นทางแล้ว
application/json
valueobject
dataไม่ได้ระบุ
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"description": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"from_local_part": "example",
"trigger": {
"kind": "manual",
"connection_id": "00000000-0000-4000-8000-000000000001",
"config": {
"event": "example",
"every": 1,
"unit": "weeks",
"time": "09:00",
"timezone": "UTC",
"once_per_person": true,
"reentry_days": 1
},
"conditions": [
{}
]
},
"audience": {},
"goal": {
"kind": "none",
"connection_id": "00000000-0000-4000-8000-000000000001",
"config": {}
},
"exit": {
"on_reply": true,
"on_unsubscribe": true,
"on_suppression": true,
"event": "example"
},
"approval_mode": "policy",
"api": {
"key": "example",
"content_mode": "code",
"identity": "example"
},
"managed_content": {
"source_locale": "example",
"configured_locales": [
"example"
],
"fallback_locale": "example",
"layout_id": "00000000-0000-4000-8000-000000000001",
"localization_policy": {
"manual_review": false
},
"source": {
"subject": "example",
"preheader": "example",
"body_text": "example",
"body_html": "example",
"layout": "example",
"variants": {},
"variables": {}
},
"samples": {},
"translations": {}
},
"steps": [
{
"id": "00000000-0000-4000-8000-000000000001",
"position": 1,
"kind": "email",
"name": "example",
"config": {},
"arms": [
{
"key": "A",
"label": "example",
"allocation": 0,
"steps": [
{
"id": null,
"position": null,
"kind": null,
"name": null,
"config": null,
"arms": null
}
]
}
]
}
]
}'
GET/v1/workspaces/{workspaceId}/journeys/{journeyId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
คำจำกัดความเส้นทาง กิจกรรมการเข้าร่วม และการทดสอบ
application/json
valueobject
dataไม่ได้ระบุ
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
PUT/v1/workspaces/{workspaceId}/journeys/{journeyId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
body_textstring
maxLength: 100000
layoutstring
maxLength: 100000
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typestringจำเป็น
enum: "string", "text", "url", "image_url", "html", "date", "datetime", "number", "boolean", "money"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultไม่ได้ระบุ
ต้องตรงกับชนิดฟิลด์
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "object"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultobject
ละส่วนที่ซ้อนลึกกว่านี้
propertiesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "list"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultarray
ละส่วนที่ซ้อนลึกกว่านี้
itemsไม่ได้ระบุจำเป็น
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
versioninteger
draft_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revision_idstring | null
format: "uuid"
layout_revision_idstring | null
format: "uuid"
published_layout_revision_idstring | null
format: "uuid"
source_localestring | null
configured_localesarray
แต่ละรายการstring
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
published_variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
enum: "A", "B", "C", "D"
labelstringจำเป็น
maxLength: 120
allocationnumberจำเป็น
minimum: 0 · maximum: 100
stepsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
การตอบกลับสำเร็จ 200
อัปเดตเส้นทางแล้ว
application/json
valueobject
dataไม่ได้ระบุ
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"description": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"from_local_part": "example",
"trigger": {
"kind": "manual",
"connection_id": "00000000-0000-4000-8000-000000000001",
"config": {
"event": "example",
"every": 1,
"unit": "weeks",
"time": "09:00",
"timezone": "UTC",
"once_per_person": true,
"reentry_days": 1
},
"conditions": [
{}
]
},
"audience": {},
"goal": {
"kind": "none",
"connection_id": "00000000-0000-4000-8000-000000000001",
"config": {}
},
"exit": {
"on_reply": true,
"on_unsubscribe": true,
"on_suppression": true,
"event": "example"
},
"approval_mode": "policy",
"api": {
"key": "example",
"content_mode": "code",
"identity": "example"
},
"managed_content": {
"source_locale": "example",
"configured_locales": [
"example"
],
"fallback_locale": "example",
"layout_id": "00000000-0000-4000-8000-000000000001",
"localization_policy": {
"manual_review": false
},
"source": {
"subject": "example",
"preheader": "example",
"body_text": "example",
"body_html": "example",
"layout": "example",
"variants": {},
"variables": {}
},
"samples": {},
"translations": {}
},
"steps": [
{
"id": "00000000-0000-4000-8000-000000000001",
"position": 1,
"kind": "email",
"name": "example",
"config": {},
"arms": [
{
"key": "A",
"label": "example",
"allocation": 0,
"steps": [
{
"id": null,
"position": null,
"kind": null,
"name": null,
"config": null,
"arms": null
}
]
}
]
}
]
}'
PATCH/v1/workspaces/{workspaceId}/journeys/{journeyId}
รองรับ name, description, mailbox_id, from_local_part, trigger, audience, goal, exit, approval_mode, api และ steps ออบเจ็กต์ trigger, goal, api และ exit รวมหนึ่งระดับ steps แทนโครงต้นไม้ที่ส่ง ใส่ expected_version เพื่อปฏิเสธการแก้ที่ล้าสมัย
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
expected_versioninteger
minimum: 1
namestring
descriptionstring
mailbox_idstring
format: "uuid"
from_local_partstring
triggerobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
approval_modestring
enum: "policy", "required"
apiobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepsarray
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
versioninteger
draft_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revision_idstring | null
format: "uuid"
layout_revision_idstring | null
format: "uuid"
published_layout_revision_idstring | null
format: "uuid"
source_localestring | null
configured_localesarray
แต่ละรายการstring
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
published_variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
enum: "A", "B", "C", "D"
labelstringจำเป็น
maxLength: 120
allocationnumberจำเป็น
minimum: 0 · maximum: 100
stepsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
การตอบกลับสำเร็จ 200
อัปเดตเส้นทางแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"expected_version": 1,
"name": "example",
"description": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"from_local_part": "example",
"trigger": {},
"audience": {},
"goal": {},
"exit": {},
"approval_mode": "policy",
"api": {},
"steps": [
{
"id": "00000000-0000-4000-8000-000000000001",
"position": 1,
"kind": "email",
"name": "example",
"config": {},
"arms": [
{
"key": "A",
"label": "example",
"allocation": 0,
"steps": [
{
"id": null,
"position": null,
"kind": null,
"name": null,
"config": null,
"arms": null
}
]
}
]
}
]
}'
DELETE/v1/workspaces/{workspaceId}/journeys/{journeyId}
เก็บเส้นทางถาวร นำออกจากรายการเริ่มต้นและหยุดการเข้าร่วมที่ใช้งาน เก็บประวัติการส่งไว้
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
นำเส้นทางออกแล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/convert-managed
การแปลงทางเดียว เส้นทางที่มีหนึ่งขั้นตอนอีเมลให้ส่ง contract หลายอีเมลรวมแขนงแยกให้ส่ง step_contents พร้อม step_id ที่บันทึกหนึ่งรายการพอดีและสัญญา HTML/Liquid ที่เตรียมต่ออีเมล การแปลงเป็นอะตอมและเปลี่ยนเส้นทางเป็น draft ทุกฉบับเนื้อหาที่จัดการใหม่รับการตรวจทานเผยแพร่ที่ควบคุมของตนเอง ไม่ส่งหรือเผยแพร่อีเมลระหว่างแปลง Banger ไม่เคยนำเข้าหรือรันซอร์สโค้ด
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
expected_versionintegerจำเป็น
minimum: 1
contractobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
body_textstring
maxLength: 100000
layoutstring
maxLength: 100000
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typestringจำเป็น
enum: "string", "text", "url", "image_url", "html", "date", "datetime", "number", "boolean", "money"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultไม่ได้ระบุ
ต้องตรงกับชนิดฟิลด์
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "object"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultobject
ละส่วนที่ซ้อนลึกกว่านี้
propertiesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "list"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultarray
ละส่วนที่ซ้อนลึกกว่านี้
itemsไม่ได้ระบุจำเป็น
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
step_contentsarray
minItems: 1
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
step_idstringจำเป็น
format: "uuid"
contractobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 1ไม่ได้ระบุ
oneOf 2ไม่ได้ระบุ
การตอบกลับสำเร็จ 200
การเรียกซ้ำแบบ idempotent สำหรับการแปลงเดิม
application/json
valueobject
dataobjectจำเป็น
journey_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft"
review_requiredbooleanจำเป็น
const: true
managed_content_stepsarrayจำเป็น
แต่ละรายการobject
step_idstringจำเป็น
format: "uuid"
managed_content_idstringจำเป็น
format: "uuid"
content_versionintegerจำเป็น
source_revision_idstring | nullจำเป็น
format: "uuid"
previewobjectจำเป็น
subjectstringจำเป็น
preheaderstring
htmlstringจำเป็น
textstringจำเป็น
localestringจำเป็น
directionstringจำเป็น
enum: "ltr", "rtl"
warningsarray
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
managed_content_idstring
format: "uuid"
content_versioninteger
source_revision_idstring | null
format: "uuid"
previewobject
subjectstringจำเป็น
preheaderstring
htmlstringจำเป็น
textstringจำเป็น
localestringจำเป็น
directionstringจำเป็น
enum: "ltr", "rtl"
warningsarray
แต่ละรายการstring
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
replayedbooleanจำเป็น
approvalsarrayจำเป็น
แต่ละรายการobject
step_idstringจำเป็น
format: "uuid"
approvalobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
ละส่วนที่ซ้อนลึกกว่านี้
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
ละส่วนที่ซ้อนลึกกว่านี้
authorization_referencestring
ละส่วนที่ซ้อนลึกกว่านี้
run_idstring
ละส่วนที่ซ้อนลึกกว่านี้
operation_keystring
ละส่วนที่ซ้อนลึกกว่านี้
recipientsarray
ละส่วนที่ซ้อนลึกกว่านี้
approval_sha256string
ละส่วนที่ซ้อนลึกกว่านี้
resource_sha256string
ละส่วนที่ซ้อนลึกกว่านี้
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
ละส่วนที่ซ้อนลึกกว่านี้
recipient_countinteger | nullจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
reasonsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checksarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
approvalobject
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/convert-managed' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '"example"'
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/render
ระบุ step_id เมื่อเส้นทางมีหลายขั้นตอนอีเมล รวมแขนงแยก ใช้ฉบับเนื้อหาที่เปลี่ยนไม่ได้ของฉบับร่างหรือฉบับเผยแพร่ที่เลือก
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
step_idstring
format: "uuid"
content_statestring
default: "draft" · enum: "draft", "published"
localestring
timezonestring
sample_setstring
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
หัวเรื่อง HTML ข้อความล้วน โลแคล ID ฉบับ และคำเตือนการดึงข้อมูลที่เรนเดอร์
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
subjectstringจำเป็น
preheaderstring
htmlstringจำเป็น
textstringจำเป็น
localestringจำเป็น
directionstringจำเป็น
enum: "ltr", "rtl"
warningsarray
แต่ละรายการstring
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
allOf 2object
source_revision_idstringจำเป็น
format: "uuid"
layout_revision_idstring | nullจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/render' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"step_id": "00000000-0000-4000-8000-000000000001",
"content_state": "draft",
"locale": "example",
"timezone": "example",
"sample_set": "example",
"variables": {}
}'
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/status
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
อัปเดตสถานะเส้นทางแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/status' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"status": "draft"
}'
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/preview
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ตัวอย่างผู้รับและความพร้อมของเส้นทาง
application/json
valueobject
dataobjectจำเป็น
sequence_idstringจำเป็น
format: "uuid"
recipient_countintegerจำเป็น
sample_recipientsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
emailstringจำเป็น
display_namestring | nullจำเป็น
stepsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
versioninteger
draft_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revision_idstring | null
format: "uuid"
layout_revision_idstring | null
format: "uuid"
published_layout_revision_idstring | null
format: "uuid"
source_localestring | null
configured_localesarray
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
published_variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
enum: "A", "B", "C", "D"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
maxLength: 120
ละส่วนที่ซ้อนลึกกว่านี้
allocationnumberจำเป็น
minimum: 0 · maximum: 100
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
readybooleanจำเป็น
exit_configobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
emailsarrayจำเป็น
แต่ละรายการobject
step_idstring | nullจำเป็น
format: "uuid"
namestringจำเป็น
armobject
split_step_idstring
format: "uuid"
keystringจำเป็น
labelstringจำเป็น
sourcestringจำเป็น
enum: "managed", "design", "inline", "empty"
template_idstring
format: "uuid"
managed_content_idstring
format: "uuid"
subjectstringจำเป็น
previewstringจำเป็น
blockersarrayจำเป็น
แต่ละรายการobject
codestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
messagestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
blockersarrayจำเป็น
แต่ละรายการobject
codestringจำเป็น
messagestringจำเป็น
step_idstring | nullจำเป็น
format: "uuid"
step_namestringจำเป็น
armstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/preview' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/enroll
นามแฝงของ POST /approvals พร้อม action_kind sequence.enroll และเพย์โหลด {sequence_id, contact_ids, sequence_version?, sequence_definition_sha256?} ใช้ Idempotency-Key เดียวกัน คีย์เดิมจึงคืนการอนุมัติเดิมจากทั้งสองเส้นทาง ต้องมี campaigns:send และผลิตภัณฑ์
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
contact_idsarrayจำเป็น
minItems: 1 · maxItems: 2000
แต่ละรายการstring
format: "uuid"
sequence_versioninteger
minimum: 1
sequence_definition_sha256string
pattern: "^[a-f0-9]{64}$"
การตอบกลับสำเร็จ 200
Idempotency-Key เดิมเรียกการอนุมัติที่มีอยู่ซ้ำ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/enroll' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"contact_ids": [
"00000000-0000-4000-8000-000000000001"
],
"sequence_version": 1,
"sequence_definition_sha256": "example"
}'
GET/v1/workspaces/{workspaceId}/journeys/{journeyId}/executions
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การทำงานขั้นตอนเส้นทาง
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
enrollment_idstringจำเป็น
format: "uuid"
step_idstringจำเป็น
format: "uuid"
positionintegerจำเป็น
kindstringจำเป็น
namestringจำเป็น
statusstringจำเป็น
attempt_countintegerจำเป็น
send_intent_idstring | nullจำเป็น
format: "uuid"
error_codestring | nullจำเป็น
started_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/executions' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/journeys/{journeyId}/people
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
บุคคลในเส้นทาง เรียงการเข้าร่วมล่าสุดก่อน พร้อมผลลัพธ์แต่ละขั้นตอนอีเมล
application/json
valueobject
dataobjectจำเป็น
stepsobjectจำเป็น
ใช้ ID ขั้นตอนเป็นคีย์ สำหรับทุกขั้นตอนที่มีผู้ไปถึง
พร็อพเพอร์ตีเพิ่มเติมobject
receivedintegerจำเป็น
skippedintegerจำเป็น
failedintegerจำเป็น
nowintegerจำเป็น
emailsarrayจำเป็น
แต่ละรายการobject
step_idstringจำเป็น
format: "uuid"
namestringจำเป็น
subjectstringจำเป็น
split_step_idstring
format: "uuid"
arm_keystring
countsobjectจำเป็น
allintegerจำเป็น
in_progressintegerจำเป็น
finishedintegerจำเป็น
goal_reachedintegerจำเป็น
exitedintegerจำเป็น
failedintegerจำเป็น
peoplearrayจำเป็น
แต่ละรายการobject
enrollment_idstringจำเป็น
format: "uuid"
contact_idstringจำเป็น
format: "uuid"
emailstringจำเป็น
display_namestringจำเป็น
statestringจำเป็น
enum: "in_progress", "finished", "goal_reached", "exited", "failed"
stop_reasonstring
error_codestring
current_stepobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
kindstringจำเป็น
next_action_atstring
format: "date-time"
enrolled_atstringจำเป็น
format: "date-time"
completed_atstring
format: "date-time"
pathsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
emailsobjectจำเป็น
ใช้ ID ขั้นตอนอีเมลเป็นคีย์ ขั้นตอนที่ไม่มีรายการยังไม่มีผู้ไปถึง
พร็อพเพอร์ตีเพิ่มเติมobject
statestringจำเป็น
translating หมายถึงอีเมลรอคำแปลของบุคคล skipped มี error_code translation_failed, translation_awaiting_review หรือ translation_still_preparing (เหตุผลที่คำแปลไม่พร้อมทันเวลา) และ none เมื่อถึงหมุดหมายก่อน
enum: "pending", "translating", "skipped", "failed", "queued", "sent", "delivered", "opened", "clicked", "replied", "bounced", "complained"
ละส่วนที่ซ้อนลึกกว่านี้
atstringจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
send_intent_idstring
อ่านข้อความที่บุคคลนี้ได้รับจริงด้วย GET /transactional-sends/{send_intent_id}
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
languageไม่ได้ระบุ
ภาษาที่บุคคลได้รับอีเมลนี้ หรือขณะแปลเป็นภาษาที่รออยู่
ละส่วนที่ซ้อนลึกกว่านี้
variant_keystring
ตัวแปรการทดลองของอีเมลที่บุคคลได้รับ เมื่อขั้นตอนมีการทดลอง
ละส่วนที่ซ้อนลึกกว่านี้
pageobjectจำเป็น
has_morebooleanจำเป็น
next_cursorstring
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/people?cursor=example&limit=50&state=in_progress&query=example&step_id=00000000-0000-4000-8000-000000000001&at=now' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/journeys/{journeyKey}/send
ส่งอีเมลหนึ่งฉบับผ่านเส้นทาง คีย์ที่ Banger ยังไม่เคยพบจะบันทึกเส้นทางใหม่จากอีเมลนี้แล้วส่งอีเมล คีย์ของเส้นทางที่คุณสร้างจะส่งเมื่อเส้นทางนั้นได้รับอนุมัติและเปิดใช้งานแล้ว reply_to ใช้กล่องจดหมายของเส้นทางเป็นค่าเริ่มต้น รายการว่างก็หมายถึงค่าเริ่มต้นเช่นกัน การปฏิเสธ (4xx) จะไม่ตรึงรายการใดไว้สำหรับผู้รับ จึงส่งได้เมื่อแก้ไขคำขอและใช้คีย์ idempotency ใหม่
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
toไม่ได้ระบุ
ผู้รับสำหรับ to, cc, bcc และ reply_to: ที่อยู่ ("a@example.com" หรือ "Pat <a@example.com>") ออบเจ็กต์ { email, name } หรือรายการที่ผสมทั้งสอง Banger เก็บเป็นออบเจ็กต์ { email, name } โดยอีเมลเป็นตัวพิมพ์เล็ก แฮช idempotency ครอบคลุมเนื้อหาตามที่ส่ง จึงต้องลองซ้ำด้วยรูปแบบเดิม
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
oneOf 3array
maxItems: 500
แต่ละรายการไม่ได้ระบุ
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
reply_toไม่ได้ระบุ
ผู้รับสำหรับ to, cc, bcc และ reply_to: ที่อยู่ ("a@example.com" หรือ "Pat <a@example.com>") ออบเจ็กต์ { email, name } หรือรายการที่ผสมทั้งสอง Banger เก็บเป็นออบเจ็กต์ { email, name } โดยอีเมลเป็นตัวพิมพ์เล็ก แฮช idempotency ครอบคลุมเนื้อหาตามที่ส่ง จึงต้องลองซ้ำด้วยรูปแบบเดิม
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
oneOf 3array
maxItems: 500
แต่ละรายการไม่ได้ระบุ
oneOf 1string
minLength: 3 · maxLength: 1000
oneOf 2object
namestring
emailstringจำเป็น
format: "email"
expires_atstring
format: "date-time"
expires_after_secondsinteger
minimum: 1 · maximum: 604800
attachmentsarray
ไฟล์ที่ส่งพร้อมอีเมล เนื้อหา base64 รวมได้ไม่เกิน 10 MiB
maxItems: 20
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
filenamestringจำเป็น
ชื่อที่ผู้รับเห็น ในบรรทัดเดียว
minLength: 1 · maxLength: 500
contentstringจำเป็น
ไฟล์ที่เข้ารหัสเป็น base64 โดยไม่สนใจช่องว่าง
minLength: 4
content_typestring
ชนิดสื่อ เช่น application/pdf โดยไม่มีพารามิเตอร์ ค่าเริ่มต้นคือ application/octet-stream
maxLength: 255
content_idstring
Content-ID ที่เนื้อหา HTML อ้างอิงได้ด้วย cid:<content_id>
minLength: 1 · maxLength: 500
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 202
รับอีเมลเส้นทางแล้ว
application/json
valueobject
dataobjectจำเป็น
action_kindstringจำเป็น
enum: "transactional.send"
idstring
format: "uuid"
send_intent_idstring
format: "uuid"
provider_attempt_idstring
format: "uuid"
statusstringจำเป็น
สถานะ sent/queued จากการส่งถึง หรือสำหรับคำขอที่ตรึงไว้: deferred (ตั้งเวลาตามนโยบายหรือรอแปล), processing (กำลังส่ง), discarded
replayedboolean
journeyไม่ได้ระบุจำเป็น
anyOf 1object
journey_idstringจำเป็น
format: "uuid"
enrollment_idstringจำเป็น
format: "uuid"
step_idstringจำเป็น
format: "uuid"
step_positionintegerจำเป็น
originstring
enum: "journey"
journey_identitystring
anyOf 2null
ignored_variablesarrayจำเป็น
แต่ละรายการstring
scheduled_atstring
format: "date-time"
reasonstring
communication_reservation_idstring
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyKey}/send' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"to": "example",
"reply_to": "example",
"expires_at": "2026-01-01T00:00:00Z",
"expires_after_seconds": 1,
"attachments": [
{
"filename": "example",
"content": "example",
"content_type": "example",
"content_id": "example"
}
]
}'
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/claim
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestringจำเป็น
minLength: 1 · maxLength: 200
mailbox_idstringจำเป็น
format: "uuid"
delivery_classstringจำเป็น
enum: "product", "broadcast"
content_modestringจำเป็น
enum: "code", "managed"
template_idstring
format: "uuid"
from_sampleboolean
variablesarray
maxItems: 50
แต่ละรายการobject
literalstringจำเป็น
minLength: 1 · maxLength: 10000
namestringจำเป็น
pattern: "^[a-z][a-z0-9_]{0,63}$"
activateboolean
การตอบกลับสำเร็จ 200
รับเส้นทางที่ค้นพบแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/claim' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"delivery_class": "product",
"content_mode": "code",
"template_id": "00000000-0000-4000-8000-000000000001",
"from_sample": true,
"variables": [
{
"literal": "example",
"name": "example"
}
],
"activate": true
}'
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/merge
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
loser_idstringจำเป็น
format: "uuid"
การตอบกลับสำเร็จ 200
รวมเส้นทางแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/merge' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"loser_id": "00000000-0000-4000-8000-000000000001"
}'
POST/v1/workspaces/{workspaceId}/journeys/{journeyId}/splits/{stepId}/decide
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
arm_keystringจำเป็น
การตอบกลับสำเร็จ 200
เลื่อนตัวแปรที่ชนะแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
descriptionstring
maxLength: 2000
mailbox_idstring
ผู้ส่งที่มีอยู่ ไม่ระบุเพื่อเลือกผู้ส่งเริ่มต้นก่อน แล้วกล่องจดหมายกำหนดเองที่ใช้งาน แล้วกล่องที่โฮสต์ ผู้ส่งที่บันทึกและระบุชัดไม่เปลี่ยน
format: "uuid"
from_local_partstring
maxLength: 64 · pattern: "^[a-z0-9][a-z0-9._+-]{0,62}$"
triggerobjectจำเป็น
kindstringจำเป็น
enum: "manual", "contact_created", "audience_joined", "event", "schedule", "inbound_email", "email_replied", "api"
connection_idstring
format: "uuid"
configobject
eventstring
everyinteger
สำหรับทริกเกอร์แบบตั้งเวลา เป็นช่วงตามปฏิทินนับจากวันที่เปิดใช้งานตามเวลาท้องถิ่น
minimum: 1 · maximum: 366 · default: 1
unitstring
สำหรับทริกเกอร์แบบตั้งเวลา หากวันนั้นไม่มีในเดือน จะใช้วันสุดท้ายของเดือนโดยไม่เปลี่ยนวันอ้างอิงเดิม
default: "weeks" · enum: "days", "weeks", "months"
timestring
เวลาตามนาฬิกาท้องถิ่นของกำหนดการ ครั้งแรกต้องเกิดหลังการเปิดใช้งานเท่านั้น เวลาที่ไม่มีอยู่เนื่องจาก DST จะถูกข้าม และเวลาท้องถิ่นที่ซ้ำจะทำงานเพียงครั้งเดียว
pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" · default: "09:00"
timezonestring
เขตเวลา IANA สำหรับทริกเกอร์แบบตั้งเวลา หลังระบบหยุดทำงาน จะเรียกคืนเฉพาะครั้งล่าสุดที่ถึงกำหนด เวลาที่พลาดระหว่างหยุดชั่วคราวจะถูกข้าม เงื่อนไขทริกเกอร์ต้องว่าง ให้เลือกรายชื่อติดต่อด้วย audience กฎการตรวจทาน การระงับส่ง และการเข้าร่วมซ้ำตามปกติยังคงใช้
default: "UTC"
once_per_personboolean
แต่ละคนเข้าร่วมครั้งเดียว ตั้ง false เพื่อให้เข้าร่วมอีกหลังเสร็จ
default: true
reentry_daysinteger
เมื่อ once_per_person เป็น false จำนวนวันหลังการเข้าร่วมล่าสุดก่อนเข้าร่วมอีกได้
minimum: 1 · maximum: 365
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
conditionsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
audienceobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
goalobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "none", "event", "reply", "conversion"
connection_idstring
format: "uuid"
configobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
exitobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
on_replyboolean
default: true
on_unsubscribeboolean
default: true
on_suppressionboolean
default: true
eventstring
maxLength: 200
approval_modestring
enum: "policy", "required"
apiobject
keystring
maxLength: 100
content_modestring
enum: "code", "managed"
identitystring
maxLength: 300
managed_contentobject
ทางลัดเฉพาะสร้าง: บันทึกฉบับร่างอีเมลที่จัดการต้นฉบับและเส้นทางที่ขั้นตอนอีเมลอ้างถึงแบบอะตอม ภาษาปลายทางที่ขาดเข้าคิวแปลฟรี ไม่เผยแพร่หรือเปิดเส้นทาง
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
stepsarrayจำเป็น
maxItems: 100
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
format: "uuid"
positioninteger
minimum: 1 · maximum: 100
kindstringจำเป็น
enum: "email", "sms", "whatsapp", "wait", "condition", "action", "split"
namestringจำเป็น
minLength: 1 · maxLength: 200
managed_contentobject
สัญญาต้นฉบับที่ระบุชนิดและตัวตนฉบับร่าง/ฉบับเผยแพร่สำหรับขั้นตอนอีเมล
idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
versioninteger
ละส่วนที่ซ้อนลึกกว่านี้
draft_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_publication_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
published_layout_revision_idstring | null
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
source_localestring | null
ละส่วนที่ซ้อนลึกกว่านี้
configured_localesarray
ละส่วนที่ซ้อนลึกกว่านี้
variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
published_variablesobject
ละส่วนที่ซ้อนลึกกว่านี้
configobjectจำเป็น
ขั้นตอนรอรับ until ได้โดยไม่บังคับ โดยมี name, path, operator (equals, not_equals, contains หรือ exists) และ value พร้อม on_met ที่จำเป็น (continue หรือ end_journey) continue ข้ามอีเมลเตือนที่ตามมา ส่วน end_journey สิ้นสุดเส้นทาง ต้องมีอีเมลเตือนตามหลังทันทีในสาขาเดียวกัน ขั้นตอนรอตรวจข้อมูลลูกค้าปัจจุบันทุกนาทีจนครบ amount/unit ฟิลด์ที่ขาดถือว่าไม่ทราบค่าและจะพักอีเมลเตือนไว้ การรอทั่วไปและเงื่อนไขแยกยังทำงานตามเดิม ตั้งชื่อการตรวจตามเหตุการณ์สำคัญของลูกค้าที่ตรวจยืนยันแล้ว ขั้นตอนอีเมลที่จัดการอ้างอิงเนื้อหาที่เผยแพร่ผ่าน managed_content_id การเปิดใช้งานจะปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ทุกขั้นตอนอีเมลกำหนด delivery_class เป็น product (อีเมลธุรกรรม เช่น ใบเสร็จและอีเมลบัญชี) หรือ broadcast (การตลาด ซึ่งมีลิงก์ยกเลิกการสมัครและต้องมีชื่อบริษัทกับที่อยู่ไปรษณีย์ในแบรนด์ของผลิตภัณฑ์) ขั้นตอนที่ไม่ระบุจะถูกปฏิเสธด้วย 400 journey_delivery_class_required ขั้นตอนอีเมลอาจกำหนด expires_after_seconds (1-604800) เพื่อยกเลิกการส่งที่เลื่อนเมื่อพ้นช่วงเวลานั้นนับจากเวลาเริ่มต้นเดิม ค่าเริ่มต้นคือเจ็ดวัน
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armsarray
minItems: 2 · maxItems: 4
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "draft", "discovered", "active", "paused", "archived"
api_keystring | null
content_modestring | null
enum: "code", "managed", null
identitystring | null
identity_aliasesarray
แต่ละรายการstring
samplesarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
versionintegerจำเป็น
minimum: 1
statsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
armStatsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
healthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
indicatorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
sparklinearrayจำเป็น
แต่ละรายการnumber
activated_atstring | null
format: "date-time"
updated_atstring
format: "date-time"
last_activity_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/splits/{stepId}/decide' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"arm_key": "example"
}'
GET/v1/workspaces/{workspaceId}/journeys/{journeyId}/splits/recommend
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
จำนวนตัวแปรทดสอบและเวลาตัดสินที่แนะนำ
application/json
valueobject
dataobjectจำเป็น
arms_maxintegerจำเป็น
weekly_arrivalsintegerจำเป็น
per_arm_eta_daysobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมnumber
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/splits/recommend?position=1' \
--header "Authorization: Bearer $BANGER_API_KEY"
การอนุมัติ
GET/v1/workspaces/{workspaceId}/approvals/{approvalId}/managed-layout-preview/{contentId}
สร้างใหม่จากฉบับที่เปลี่ยนไม่ได้และตรวจแฮชต้นฉบับทั้งสองกับภาพรวมการอนุมัติ ไม่ยอมรับการเปลี่ยนโลแคล
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
หัวเรื่อง HTML และข้อความล้วนก่อนและหลังทั้งหมดที่ตรวจสอบแฮชแล้ว
application/json
valueobject
dataobjectจำเป็น
content_idstringจำเป็น
format: "uuid"
sample_namestring | nullจำเป็น
localestringจำเป็น
old_source_hashstringจำเป็น
new_source_hashstringจำเป็น
beforeobjectจำเป็น
subjectstringจำเป็น
htmlstringจำเป็น
textstringจำเป็น
afterobjectจำเป็น
subjectstringจำเป็น
htmlstringจำเป็น
textstringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}/managed-layout-preview/{contentId}?sample=example' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/approvals/{approvalId}/journey-preview
เรนเดอร์อีเมลด้วยการปรับเฉพาะบุคคลตัวอย่างจากคำจำกัดความที่ตรวจทานจริง (ดีไซน์ที่บันทึกผ่านคีย์ HTML ที่เปลี่ยนไม่ได้ ฉบับที่จัดการซึ่งตรึงไว้) ไม่ใช้เส้นทางปัจจุบัน ระบุชื่อรายการผู้รับ กลุ่ม และการเชื่อมต่อทริกเกอร์/เป้าหมายที่ภาพรวมอ้างด้วย
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
อีเมลที่เรนเดอร์ใช้ตำแหน่งขั้นตอนเป็นคีย์ (ขั้นตอนแขนงเป็น parent.arm.position) พร้อมชื่อผู้รับและการเชื่อมต่อ
application/json
valueobject
dataobjectจำเป็น
approval_idstringจำเป็น
format: "uuid"
sequence_idstring | null
format: "uuid"
emailsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
positionintegerจำเป็น
parent_positioninteger | nullจำเป็น
arm_keystring | nullจำเป็น
sourcestringจำเป็น
enum: "managed", "design", "inline", "empty"
subjectstringจำเป็น
preview_textstringจำเป็น
body_htmlstring
body_textstringจำเป็น
publishedboolean
errorstring
textsarray
The Journey's SMS and WhatsApp steps, keyed as emails are, each as it goes out with sample values.
แต่ละรายการobject
keystringจำเป็น
positionintegerจำเป็น
parent_positioninteger | nullจำเป็น
arm_keystring | nullจำเป็น
channelstringจำเป็น
enum: "sms", "whatsapp"
inboxobject | nullจำเป็น
The inbox the text leaves from; null when it is no longer one of the project's on that channel.
idstring
format: "uuid"
addressstring
delivery_classstringจำเป็น
broadcast is marketing. A WhatsApp step's follows Meta's category for its template.
enum: "product", "broadcast"
body_textstringจำเป็น
An SMS as it goes out, ending with its opt-out line when it is marketing; a WhatsApp template's text.
segmentsinteger
An SMS's carrier segments.
templateobject
idstring
format: "uuid"
namestring
languagestring
categorystring
enum: "marketing", "utility"
statusstring
buttonsarray
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
errorstring
text_consent_noticestring | null
What a person approving texts is told, that they need each person's consent; null for a Journey of emails.
listsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
namestringจำเป็น
member_countintegerจำเป็น
segmentsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
namestringจำเป็น
connectionsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
namestringจำเป็น
image_assetsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
sample_valuesbooleanจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}/journey-preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/approvals
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
กล่องจดหมายเข้าตรวจสอบการตรวจทานอัตโนมัติและโดยคนสำหรับพื้นที่ทำงาน
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals?status=undecided' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/approvals
สำหรับการดำเนินการ Banger ตามข้อมูลหลัก Banger กำหนดขอบเขตที่ตรง ใช้นโยบายตรวจทานพื้นที่ทำงาน บันทึกคำขอตรวจสอบที่เปลี่ยนไม่ได้ และเข้าคิวอัตโนมัติให้การดำเนินการในขีดจำกัดที่ตั้งไว้ เผยแพร่ต้นฉบับอีเมลที่จัดการด้วย action_kind managed_email.publish และเพย์โหลด {content_id, expected_version} Banger ผูกฉบับ/แฮชต้นฉบับและบังคับตรวจทานโดยคนเมื่อจำเป็น ชนิดอนุมัติทั่วไปยังรอเสมอและต้องส่ง summary, capabilities และ resources ในเพย์โหลด mail.draft และ transactional.send ฟิลด์ to, cc, bcc และ reply_to รับ RecipientInput ทุกรูปแบบและเก็บเป็นออบเจ็กต์ { email, name }
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
action_kindstringจำเป็น
minLength: 1 · maxLength: 100
summarystring
minLength: 1 · maxLength: 500
capabilitiesarray
minItems: 1 · maxItems: 50
แต่ละรายการstring
maxLength: 100
resourcesobject
พร็อพเพอร์ตีเพิ่มเติมarray
maxItems: 500
แต่ละรายการstring
maxLength: 200
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
expires_in_secondsinteger
minimum: 60 · maximum: 86400 · default: 3600
approve_as_launcherboolean
สำหรับ sequence.activate คนที่กดเปิดใช้งานอนุมัติคำขอนี้จริงเมื่อนโยบายตรวจทานต้องใช้คน ละเว้นสำหรับคีย์ API และเอเจนต์ที่รอในส่วนการอนุมัติ
การตอบกลับสำเร็จ 201
สร้างคำขอที่ควบคุมแล้ว อาจอนุมัติอัตโนมัติและเข้าคิวแล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"action_kind": "example",
"summary": "example",
"capabilities": [
"example"
],
"resources": {},
"payload": {},
"expires_in_seconds": 3600,
"approve_as_launcher": true
}'
GET/v1/workspaces/{workspaceId}/approvals/count
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
จำนวนการอนุมัติที่ยังไม่ตัดสินตามขอบเขตผลิตภัณฑ์
application/json
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/count' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/approvals/{approvalId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
คำขออนุมัติและเพย์โหลดการดำเนินการที่ผูกไว้ตรงตามจริง
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/approvals/{approvalId}/decision
เฉพาะเซสชันเบราว์เซอร์ของคน คีย์ API พื้นที่ทำงานตัดสินการอนุมัติไม่ได้
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
decisionstringจำเป็น
enum: "approved", "rejected"
reasonstring
maxLength: 500
expected_payload_sha256string
แฮชเพย์โหลดอนุมัติที่แสดงต่อผู้ตรวจทาน หากไม่ตรงคืน 409
pattern: "^[a-f0-9]{64}$"
การตอบกลับสำเร็จ 200
บันทึกคำตัดสินอนุมัติแล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}/decision' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"decision": "approved",
"reason": "example",
"expected_payload_sha256": "example"
}'
POST/v1/workspaces/{workspaceId}/approvals/{approvalId}/cancel
ยกเลิกการอนุมัติที่ยังรอโดยไม่ดำเนินการ เฉพาะเซสชันเบราว์เซอร์ของคน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
ยกเลิกการอนุมัติและให้การทำงานของเอเจนต์ที่รอดำเนินต่อโดยไม่ทำการดำเนินการนั้น
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}/cancel' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"reason": "example"
}'
POST/v1/workspaces/{workspaceId}/approvals/{approvalId}/dismiss
ปิดการอนุมัติที่เลยช่วงตัดสิน เฉพาะเซสชันเบราว์เซอร์ของคน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ปิดการอนุมัติที่เลยกำหนดและบันทึกว่ายกเลิก
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}/dismiss' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/approvals/{approvalId}/rerequest
คัดลอกการอนุมัติที่เลยกำหนดพร้อมช่วงตัดสินใหม่และยกเลิกคำขอเก่า เฉพาะเซสชันเบราว์เซอร์ของคน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 201
สร้างคำขออนุมัติใหม่แล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}/rerequest' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/approvals/{approvalId}/revise
แทนการดำเนินการ Banger ที่ควบคุมและรออยู่ด้วยการอนุมัติที่ปรับเป็นรูปแบบหลักใหม่ คำขอเดิมคงในประวัติเป็นยกเลิก
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 201
สร้างการอนุมัติทดแทนให้คนตรวจทานแล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/approvals/{approvalId}/revise' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"payload": {}
}'
ความคิดเห็น
GET/v1/workspaces/{workspaceId}/feedback
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ความพร้อมส่งความคิดเห็นของพื้นที่ทำงานที่ยืนยันตัวตน
application/json
valueobject
dataobject
availablebooleanจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/feedback' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/feedback
สร้างหนึ่งปัญหาภายในใน Linear และแจ้งทีมผ่าน Slack ลองส่งที่ขัดจังหวะอีกด้วย submission_id เดิม
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "bug", "feedback", "feature"
titlestringจำเป็น
minLength: 1 · maxLength: 160
descriptionstringจำเป็น
minLength: 1 · maxLength: 10000
submission_idstringจำเป็น
format: "uuid"
attachment_idsarray
การอัปโหลดส่วนตัวที่เสร็จของผู้รายงานและพื้นที่ทำงานนี้ การอัปโหลดที่ยังไม่ส่งหมดอายุหลัง 24 ชั่วโมง ไฟล์อยู่ได้ในรายงานเดียว
maxItems: 5 · uniqueItems: true
แต่ละรายการstring
format: "uuid"
การตอบกลับสำเร็จ 201
สร้างปัญหา Linear และแจ้ง Slack เสร็จ รวมการเรียกซ้ำแบบ idempotent
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/feedback' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'x-banger-product-id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"kind": "bug",
"title": "example",
"description": "example",
"submission_id": "00000000-0000-4000-8000-000000000001",
"attachment_ids": [
"00000000-0000-4000-8000-000000000001"
]
}'
POST/v1/workspaces/{workspaceId}/feedback/attachments
อัปโหลดไบนารีรองรับสูงสุด 25 MiB อัปโหลด JSON base64 สูงสุด 2 MiB ใช้ attachment_id เดิมเมื่อลองไฟล์เดิมอีก คีย์ API ต้องมี automation:execute
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
image/png
valuestring
format: "binary"
image/jpeg
valuestring
format: "binary"
image/gif
valuestring
format: "binary"
image/webp
valuestring
format: "binary"
video/mp4
valuestring
format: "binary"
video/webm
valuestring
format: "binary"
video/quicktime
valuestring
format: "binary"
application/json
valueobject
attachment_idstringจำเป็น
format: "uuid"
filenamestringจำเป็น
minLength: 1 · maxLength: 200
mime_typestringจำเป็น
enum: "image/png", "image/jpeg", "image/gif", "image/webp", "video/mp4", "video/webm", "video/quicktime"
base64stringจำเป็น
minLength: 4 · maxLength: 2796204
การตอบกลับสำเร็จ 200
ไฟล์แนบที่เสร็จแล้วและมีอยู่
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/feedback/attachments?attachment_id=00000000-0000-4000-8000-000000000001' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'x-banger-filename: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"attachment_id": "00000000-0000-4000-8000-000000000001",
"filename": "example",
"mime_type": "image/png",
"base64": "example"
}'
POST/v1/workspaces/{workspaceId}/feedback/attachments/prepare
คืน URL PUT ลงลายเซ็นชั่วคราวและส่วนหัวอัปโหลดที่จำเป็น ส่งไบต์ไฟล์พร้อมส่วนหัวเหล่านั้นโดยไม่ใช้ข้อมูลรับรอง Banger แล้วทำอัปโหลดให้เสร็จ ห้ามอัปโหลดตรงจากเบราว์เซอร์ ใช้พร็อกซีไบนารีที่ยืนยันตัวตน สูงสุด 30 การอัปโหลดและ 250 MiB ต่อผู้รายงานต่อวัน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
attachment_idstringจำเป็น
format: "uuid"
filenamestringจำเป็น
minLength: 1 · maxLength: 200
mime_typestringจำเป็น
enum: "image/png", "image/jpeg", "image/gif", "image/webp", "video/mp4", "video/webm", "video/quicktime"
size_bytesintegerจำเป็น
minimum: 1 · maximum: 26214400
การตอบกลับสำเร็จ 201
data มี attachment_id, status และ upload พร้อม url ลงลายเซ็น method PUT และ headers ขณะอัปโหลด หาก ready ไม่ต้องอัปโหลด
application/json
valueobject
dataobjectจำเป็น
attachment_idstringจำเป็น
format: "uuid"
filenamestringจำเป็น
mime_typestringจำเป็น
size_bytesintegerจำเป็น
statusstringจำเป็น
enum: "ready", "uploading"
uploadobject
urlstringจำเป็น
methodstringจำเป็น
enum: "PUT"
headersobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/feedback/attachments/prepare' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"attachment_id": "00000000-0000-4000-8000-000000000001",
"filename": "example",
"mime_type": "image/png",
"size_bytes": 1
}'
POST/v1/workspaces/{workspaceId}/feedback/attachments/{attachmentId}/complete
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
data มี attachment_id และ status ready การทำให้เสร็จเป็น idempotent
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/feedback/attachments/{attachmentId}/complete' \
--header "Authorization: Bearer $BANGER_API_KEY"
เนื้อหาที่จัดการ
GET/v1/workspaces/{workspaceId}/managed-content
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
รายการเนื้อหาผลิตภัณฑ์และเคอร์เซอร์ถัดไปที่ไม่บังคับ
application/json
valueobject
dataobjectจำเป็น
itemsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
minimum: 1
review_requiredbooleanจำเป็น
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
next_cursorstring | nullจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content?limit=50&cursor=00000000-0000-4000-8000-000000000001' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/managed-content
ไม่ส่งหรือเผยแพร่ การเตรียมแปลไม่มีค่าบริการต่อภาษา
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
contractobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
body_textstring
maxLength: 100000
layoutstring
maxLength: 100000
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typestringจำเป็น
enum: "string", "text", "url", "image_url", "html", "date", "datetime", "number", "boolean", "money"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultไม่ได้ระบุ
ต้องตรงกับชนิดฟิลด์
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "object"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultobject
ละส่วนที่ซ้อนลึกกว่านี้
propertiesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "list"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultarray
ละส่วนที่ซ้อนลึกกว่านี้
itemsไม่ได้ระบุจำเป็น
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
การตอบกลับสำเร็จ 201
ฉบับร่างต้นฉบับและงานแปลที่เข้าคิว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
minimum: 1
review_requiredbooleanจำเป็น
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"contract": {
"source_locale": "example",
"configured_locales": [
"example"
],
"fallback_locale": "example",
"layout_id": "00000000-0000-4000-8000-000000000001",
"localization_policy": {
"manual_review": false
},
"source": {
"subject": "example",
"preheader": "example",
"body_text": "example",
"body_html": "example",
"layout": "example",
"variants": {},
"variables": {}
},
"samples": {},
"translations": {}
}
}'
GET/v1/workspaces/{workspaceId}/managed-content/{contentId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สถานะเนื้อหาปัจจุบัน
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
minimum: 1
review_requiredbooleanจำเป็น
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
allOf 2object
source_revisionobjectจำเป็น
idstringจำเป็น
format: "uuid"
content_idstringจำเป็น
format: "uuid"
revisionintegerจำเป็น
source_localestringจำเป็น
configured_localesarrayจำเป็น
แต่ละรายการstring
fallback_localestring | nullจำเป็น
localization_policyobjectจำเป็น
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
source_messagesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
layout_idstring | nullจำเป็น
format: "uuid"
layout_revision_idstring | nullจำเป็น
format: "uuid"
samplesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
restored_from_revision_idstring | nullจำเป็น
format: "uuid"
translationsarrayจำเป็น
แต่ละรายการไม่ได้ระบุ
allOf 1object
source_revision_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
localestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
stringsobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provenancestringจำเป็น
enum: "supplied", "generated", "reviewed"
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "ready", "needs_review"
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
strings_sha256stringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
translation_jobsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
source_revision_idstringจำเป็น
format: "uuid"
localestringจำเป็น
statusstringจำเป็น
attempt_countintegerจำเป็น
error_codestring | nullจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
PATCH/v1/workspaces/{workspaceId}/managed-content/{contentId}
การเปลี่ยนตัวแปรที่เข้ากันไม่ได้เผยแพร่ทับ ID เนื้อหานี้ไม่ได้ สร้างและเผยแพร่เนื้อหาที่จัดการใหม่ เปลี่ยนทุกการอ้างอิงเส้นทางหรือแคมเปญฉบับร่างเป็น ID ใหม่ แล้วตรวจทาน/เปิดเส้นทางหรือตั้งเวลาแคมเปญ การส่งที่รับแล้วและผู้รับแคมเปญที่ตั้งเวลาแล้วคงฉบับที่ตรึงไว้
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
expected_versionintegerจำเป็น
minimum: 1
contractobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_localestring
โลแคลต้นฉบับ BCP 47 ตามข้อมูลหลัก หากไม่ระบุจะสืบทอดการตั้งค่าผลิตภัณฑ์
configured_localesarray
โลแคลต้นฉบับและปลายทาง เซิร์ฟเวอร์เพิ่มต้นฉบับที่ไม่ได้ระบุ
maxItems: 100 · uniqueItems: true
แต่ละรายการstring
fallback_localestring
layout_idstring
เลย์เอาต์ใช้ซ้ำที่เลือก เซิร์ฟเวอร์เก็บภาพรวมฉบับที่เผยแพร่ในฉบับเนื้อหานี้
format: "uuid"
localization_policyobject
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
body_textstring
maxLength: 100000
layoutstring
maxLength: 100000
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typestringจำเป็น
enum: "string", "text", "url", "image_url", "html", "date", "datetime", "number", "boolean", "money"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultไม่ได้ระบุ
ต้องตรงกับชนิดฟิลด์
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "object"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultobject
ละส่วนที่ซ้อนลึกกว่านี้
propertiesobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
typeไม่ได้ระบุจำเป็น
const: "list"
ละส่วนที่ซ้อนลึกกว่านี้
requiredboolean
ละส่วนที่ซ้อนลึกกว่านี้
descriptionstring
maxLength: 2000
ละส่วนที่ซ้อนลึกกว่านี้
defaultarray
ละส่วนที่ซ้อนลึกกว่านี้
itemsไม่ได้ระบุจำเป็น
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
samplesobject
ชุดค่าตัวอย่างที่มีชื่อสำหรับแสดงตัวอย่างและตรวจสอบต้นฉบับ
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsobject
แค็ตตาล็อกข้อความ ICU ต้นฉบับและแค็ตตาล็อกปลายทางที่ส่งมาซึ่งไม่บังคับ ปลายทางที่ตั้งค่าแต่ขาดเข้าคิวแปลแบบอะซิงโครนัส ไม่ต้องมีเพื่อบันทึก
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
การตอบกลับสำเร็จ 200
ฉบับร่างใหม่และงานแปลที่เข้าคิว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
minimum: 1
review_requiredbooleanจำเป็น
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"expected_version": 1,
"contract": {
"source_locale": "example",
"configured_locales": [
"example"
],
"fallback_locale": "example",
"layout_id": "00000000-0000-4000-8000-000000000001",
"localization_policy": {
"manual_review": false
},
"source": {
"subject": "example",
"preheader": "example",
"body_text": "example",
"body_html": "example",
"layout": "example",
"variants": {},
"variables": {}
},
"samples": {},
"translations": {}
}
}'
POST/v1/workspaces/{workspaceId}/managed-content/{contentId}/render
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ใช้ sample_set หรือ variables อย่างใดอย่างหนึ่ง ห้ามใช้ทั้งสอง ค่าเริ่มต้นคือตัวอย่างมีชื่อรายการแรก
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_revision_idstring
format: "uuid"
variantstring
คีย์เวอร์ชัน A/B ต้นฉบับ
localestring
timezonestring
เขตเวลา IANA ค่าเริ่มต้น UTC
sample_setstring
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
หัวเรื่อง พรีเฮดเดอร์ HTML ข้อความล้วนที่ได้ โลแคล และทิศทางที่กำหนดแน่นอน
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
subjectstringจำเป็น
preheaderstring
htmlstringจำเป็น
textstringจำเป็น
localestringจำเป็น
directionstringจำเป็น
enum: "ltr", "rtl"
warningsarray
แต่ละรายการstring
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
allOf 2object
source_revision_idstringจำเป็น
format: "uuid"
layout_revision_idstring | nullจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}/render' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"source_revision_id": "00000000-0000-4000-8000-000000000001",
"variant": "example",
"locale": "example",
"timezone": "example",
"sample_set": "example",
"variables": {}
}'
POST/v1/workspaces/{workspaceId}/managed-content/{contentId}/translations/{locale}/retry
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
เข้าคิวลองแปลใหม่แล้ว
application/json
valueobject
databooleanจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}/translations/{locale}/retry' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/managed-content/{contentId}/translations
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สถานะเนื้อหาปัจจุบันรวมคำแปลและงาน
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
minimum: 1
review_requiredbooleanจำเป็น
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
allOf 2object
source_revisionobjectจำเป็น
idstringจำเป็น
format: "uuid"
content_idstringจำเป็น
format: "uuid"
revisionintegerจำเป็น
source_localestringจำเป็น
configured_localesarrayจำเป็น
แต่ละรายการstring
fallback_localestring | nullจำเป็น
localization_policyobjectจำเป็น
อีเมลเส้นทางส่งเฉพาะภาษาของบุคคลนั้น รอคำแปลประมาณหนึ่งนาทีสำหรับใบเสร็จ รหัส และแจ้งความปลอดภัย และสูงสุดหนึ่งวันสำหรับอีเมลอื่น ไม่ส่งหากคำแปลยังไม่พร้อมเมื่อครบเวลา
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
manual_reviewboolean
default: false
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
source_messagesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
layout_idstring | nullจำเป็น
format: "uuid"
layout_revision_idstring | nullจำเป็น
format: "uuid"
samplesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
restored_from_revision_idstring | nullจำเป็น
format: "uuid"
translationsarrayจำเป็น
แต่ละรายการไม่ได้ระบุ
allOf 1object
source_revision_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
localestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
stringsobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provenancestringจำเป็น
enum: "supplied", "generated", "reviewed"
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "ready", "needs_review"
ละส่วนที่ซ้อนลึกกว่านี้
allOf 2object
strings_sha256stringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
translation_jobsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
source_revision_idstringจำเป็น
format: "uuid"
localestringจำเป็น
statusstringจำเป็น
attempt_countintegerจำเป็น
error_codestring | nullจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}/translations' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/managed-content/{contentId}/translations/{locale}/review
ต้องใช้ SHA-256 แค็ตตาล็อกจากข้อมูลอ่านกลับปัจจุบัน ข้อความแก้ไขไม่บังคับ การดำเนินการนี้ไม่เผยแพร่ต้นฉบับ
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_revision_idstringจำเป็น
format: "uuid"
expected_translation_sha256stringจำเป็น
pattern: "^[a-f0-9]{64}$"
stringsobject
พร็อพเพอร์ตีเพิ่มเติมstring
การตอบกลับสำเร็จ 200
แค็ตตาล็อกที่ตรวจทานและ SHA-256 ใหม่
application/json
valueobject
dataobjectจำเป็น
source_revision_idstringจำเป็น
format: "uuid"
localestringจำเป็น
stringsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
provenancestringจำเป็น
enum: "reviewed"
statusstringจำเป็น
enum: "ready"
strings_sha256stringจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}/translations/{locale}/review' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"source_revision_id": "00000000-0000-4000-8000-000000000001",
"expected_translation_sha256": "example",
"strings": {}
}'
GET/v1/workspaces/{workspaceId}/managed-content/{contentId}/versions
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
รายการเผยแพร่
application/json
valueobject
dataobjectจำเป็น
versionsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
revisionintegerจำเป็น
source_localestringจำเป็น
configured_localesarrayจำเป็น
แต่ละรายการstring
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
subjectstringจำเป็น
minLength: 1 · maxLength: 100000
preheaderstring
maxLength: 100000
body_textstring
รับเพื่อรองรับต้นฉบับ ข้อความล้วนที่เรนเดอร์ได้มาจาก HTML สุดท้าย
maxLength: 100000
body_htmlstringจำเป็น
minLength: 1 · maxLength: 100000
layoutstring
ต้องมีสล็อต {{ content }} หนึ่งแห่ง
maxLength: 100000
variantsobject
เวอร์ชันต้นฉบับที่ไม่บังคับ ทุกเวอร์ชันแปลอัตโนมัติในฉบับเดียวกัน
พร็อพเพอร์ตีเพิ่มเติมobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
variablesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมไม่ได้ระบุ
ตัวแปรระบุชนิดแบบเรียกซ้ำ ค่าเงินใช้ {amount_cents: integer, currency: ISO 4217 code} ค่า date เป็นวันที่ปฏิทิน ISO และค่า datetime เป็นเวลาประทับ ISO พร้อมออฟเซ็ต
ละส่วนที่ซ้อนลึกกว่านี้
source_messagesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
samplesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
restored_from_revision_idstring | nullจำเป็น
format: "uuid"
created_by_actor_idstringจำเป็น
created_atstringจำเป็น
format: "date-time"
publicationsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
source_revision_idstringจำเป็น
format: "uuid"
approval_idstring | nullจำเป็น
format: "uuid"
published_by_actor_idstringจำเป็น
published_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}/versions' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/managed-content/{contentId}/restore
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
source_revision_idstringจำเป็น
format: "uuid"
expected_versionintegerจำเป็น
minimum: 1
การตอบกลับสำเร็จ 200
สถานะฉบับร่างที่กู้คืน
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
minimum: 1
review_requiredbooleanจำเป็น
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translationsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
translation_jobsarray
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}/restore' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"source_revision_id": "00000000-0000-4000-8000-000000000001",
"expected_version": 1
}'
เลย์เอาต์ที่จัดการ
GET/v1/workspaces/{workspaceId}/managed-layouts
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
เลย์เอาต์ผลิตภัณฑ์
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
draft_revision_idstring | nullจำเป็น
format: "uuid"
published_revision_idstring | nullจำเป็น
format: "uuid"
published_publication_idstring | nullจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-layouts' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/managed-layouts
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
namestringจำเป็น
minLength: 1 · maxLength: 200
htmlstring
ต้องมีสล็อตเนื้อหาหนึ่งแห่งพอดี
source_localestring
source_messagesobject
พร็อพเพอร์ตีเพิ่มเติมstring
translationsobject
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
draft_revision_idstring | nullจำเป็น
format: "uuid"
published_revision_idstring | nullจำเป็น
format: "uuid"
published_publication_idstring | nullจำเป็น
format: "uuid"
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-layouts' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"html": "example",
"source_locale": "example",
"source_messages": {},
"translations": {}
}'
GET/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
เลย์เอาต์และฉบับร่าง
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
draft_revision_idstring | nullจำเป็น
format: "uuid"
published_revision_idstring | nullจำเป็น
format: "uuid"
published_publication_idstring | nullจำเป็น
format: "uuid"
draft_revisionไม่ได้ระบุจำเป็น
anyOf 1object
idstringจำเป็น
format: "uuid"
layout_idstring
format: "uuid"
revisionintegerจำเป็น
htmlstringจำเป็น
brand_snapshotobjectจำเป็น
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
source_localestringจำเป็น
source_messagesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
translationsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
ละส่วนที่ซ้อนลึกกว่านี้
restored_from_revision_idstring | nullจำเป็น
format: "uuid"
created_by_actor_idstring
created_atstring
format: "date-time"
anyOf 2null
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
PATCH/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
expected_versionintegerจำเป็น
minimum: 1
htmlstringจำเป็น
ต้องมีสล็อตเนื้อหาหนึ่งแห่งพอดี
source_localestring
source_messagesobject
พร็อพเพอร์ตีเพิ่มเติมstring
translationsobject
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
การตอบกลับสำเร็จ 200
ฉบับร่างใหม่
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
draft_revision_idstring | nullจำเป็น
format: "uuid"
published_revision_idstring | nullจำเป็น
format: "uuid"
published_publication_idstring | nullจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"expected_version": 1,
"html": "example",
"source_locale": "example",
"source_messages": {},
"translations": {}
}'
GET/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/versions
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ฉบับเลย์เอาต์
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
layout_idstring
format: "uuid"
revisionintegerจำเป็น
htmlstringจำเป็น
brand_snapshotobjectจำเป็น
company_namestring
maxLength: 160
logo_urlstring
ไอคอน: สัญลักษณ์เดี่ยว ใช้ขนาดเล็ก (ส่วนท้ายอีเมล แบบฟอร์มเลื่อนเข้า) และใช้เป็นส่วนหัวเมื่อไม่มีโลโก้ตัวอักษร
maxLength: 2000
wordmark_urlstring
โลโก้ตัวอักษร: ชื่อบริษัทตามที่ออกแบบ แสดงเดี่ยวที่ด้านบนของทุกอีเมล
maxLength: 2000
wordmark_inkstring
สีที่ใช้วาดโลโก้ตัวอักษร วัดจากภาพเมื่อบันทึก หากโลโก้อ่านไม่ชัดบนส่วนหัว จะมีแผ่นพื้นหลังรองไว้ ไม่มีค่านี้สำหรับภาพทึบแสง
maxLength: 7
logo_inkstring
สีที่ใช้วาดไอคอน วัดจากภาพเมื่อบันทึก
maxLength: 7
website_urlstring
maxLength: 2000
primary_colorstring
maxLength: 7
accent_colorstring
maxLength: 7
background_colorstring
maxLength: 7
surface_colorstring
maxLength: 7
text_colorstring
maxLength: 7
muted_text_colorstring
maxLength: 7
heading_font_familystring
maxLength: 200
body_font_familystring
maxLength: 200
tonestring
maxLength: 1000
footer_addressstring
maxLength: 500
email_stylestring
maxLength: 20
source_localestringจำเป็น
source_messagesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมstring
translationsobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมobject
พร็อพเพอร์ตีเพิ่มเติมstring
restored_from_revision_idstring | nullจำเป็น
format: "uuid"
created_by_actor_idstring
created_atstring
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/versions' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/impact
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ผลกระทบการพึ่งพาเลย์เอาต์
application/json
valueobject
dataobjectจำเป็น
layout_idstringจำเป็น
format: "uuid"
layout_revision_idstringจำเป็น
format: "uuid"
layout_versionintegerจำเป็น
affected_contentsarrayจำเป็น
แต่ละรายการobject
content_idstringจำเป็น
format: "uuid"
versionintegerจำเป็น
published_revision_idstringจำเป็น
format: "uuid"
active_journeysarrayจำเป็น
แต่ละรายการobject
journey_idstringจำเป็น
format: "uuid"
versionintegerจำเป็น
definition_sha256stringจำเป็น
manifest_sha256stringจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/impact' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/restore
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
layout_revision_idstringจำเป็น
format: "uuid"
expected_versionintegerจำเป็น
minimum: 1
การตอบกลับสำเร็จ 200
ฉบับร่างที่กู้คืน
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
namestringจำเป็น
versionintegerจำเป็น
draft_revision_idstring | nullจำเป็น
format: "uuid"
published_revision_idstring | nullจำเป็น
format: "uuid"
published_publication_idstring | nullจำเป็น
format: "uuid"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/restore' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"layout_revision_id": "00000000-0000-4000-8000-000000000001",
"expected_version": 1
}'
ช่องทางการส่ง
GET/v1/workspaces/{workspaceId}/sending-lanes
ช่องทางที่ตั้งและการกำหนดเส้นทางจริงของผู้ส่งเริ่มต้น ผลิตภัณฑ์และแคมเปญสืบทอดการเชื่อมต่อ Mail เริ่มต้นจนช่องทางแยกใช้งาน ช่องทางที่รอไม่แทนเส้นทางที่ทำงานอยู่
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ช่องทางตามข้อมูลหลัก เส้นทางที่สืบทอด และผู้ส่งเริ่มต้นที่มีอยู่
application/json
valueobject
dataobjectจำเป็น
domainsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
created_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
display_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
from_domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
mail_from_domainstring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
inbound_domainstring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
route_providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
inbound_providerstring | nullจำเป็น
enum: "banger", null
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
ละส่วนที่ซ้อนลึกกว่านี้
status_reasonstring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
desired_revisionintegerจำเป็น
minimum: 1
ละส่วนที่ซ้อนลึกกว่านี้
observed_revisionintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
dns_readybooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_readybooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
inbound_readybooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
outbound_readybooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
banger_transport_readybooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
banger_mail_from_domainstring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provisioning_job_idstring | nullจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
ละส่วนที่ซ้อนลึกกว่านี้
provisioning_error_codestring | null
ละส่วนที่ซ้อนลึกกว่านี้
provisioning_next_attempt_atstring | null
ละส่วนที่ซ้อนลึกกว่านี้
provisioning_last_checked_atstring | null
ละส่วนที่ซ้อนลึกกว่านี้
provider_identity_statusstring | null
ละส่วนที่ซ้อนลึกกว่านี้
provider_dkim_statusstring | null
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
routingobjectจำเป็น
mailboxobjectจำเป็น
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
lane_idstring | nullจำเป็น
domain_idstring | nullจำเป็น
from_domainstring | nullจำเป็น
sourcestringจำเป็น
enum: "dedicated", "default_mail", "unavailable"
readybooleanจำเป็น
pending_lanesarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
from_domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
productobjectจำเป็น
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
lane_idstring | nullจำเป็น
domain_idstring | nullจำเป็น
from_domainstring | nullจำเป็น
sourcestringจำเป็น
enum: "dedicated", "default_mail", "unavailable"
readybooleanจำเป็น
pending_lanesarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
from_domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
broadcastobjectจำเป็น
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
lane_idstring | nullจำเป็น
domain_idstring | nullจำเป็น
from_domainstring | nullจำเป็น
sourcestringจำเป็น
enum: "dedicated", "default_mail", "unavailable"
readybooleanจำเป็น
pending_lanesarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
from_domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
default_senderไม่ได้ระบุจำเป็น
oneOf 1object
idstringจำเป็น
format: "uuid"
workspace_idstringจำเป็น
format: "uuid"
product_idstring | null
ผลิตภัณฑ์ (โปรเจกต์) ที่กล่องจดหมายเป็นของ ไคลเอนต์ใช้จัดกลุ่มกล่องจดหมายและสร้างลิงก์เว็บแอป
format: "uuid"
domain_idstring | null
format: "uuid"
addressstringจำเป็น
ที่อยู่อีเมล หรือหมายเลขโทรศัพท์ในรูปแบบ E.164 (+15551234567) สำหรับกล่องจดหมายเข้า SMS
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp", "twilio"
channelstring
email; sms สำหรับกล่องจดหมายเข้า SMS บน Twilio; whatsapp สำหรับกล่องจดหมายเข้า WhatsApp ซึ่งเป็นผู้ส่ง WhatsApp บน Twilio สำหรับบัญชี WhatsApp Business ของธุรกิจ
enum: "email", "sms", "whatsapp"
sms_verificationobject | null
สำหรับหมายเลขจาก Banger เป็นคำตอบของผู้ให้บริการเครือข่ายต่อการยืนยันหมายเลขโทรฟรี ส่งได้เมื่ออนุมัติแล้ว เป็น null สำหรับกล่องจดหมายอื่นทั้งหมด
statusstring
enum: "pending_review", "in_review", "approved", "rejected"
reasonstring | null
เหตุผลของผู้ให้บริการเครือข่ายเมื่อปฏิเสธ
statusstringจำเป็น
enum: "pending", "active", "suspended", "reconnect_required", "disabled"
status_reasonstring | null
suspended_atstring | null
mailbox_kindstringจำเป็น
enum: "domain", "starter"
oneOf 2null
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-lanes' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/sending-lanes
เตรียมเฉพาะช่องทางที่ขอในชื่อโฮสต์ตรงตัว ตรวจความขัดแย้ง DNS อีกขณะล็อกโครงสร้างพื้นฐาน ใช้ช่องทางเดิมที่เหมือนกันซ้ำ ไม่ทับชื่อโฮสต์ที่มีผู้ใช้อยู่ ไม่เปลี่ยน DNS หรือสร้างช่องทางเพิ่ม
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domainstringจำเป็น
โดเมนบริษัทหลัก เช่น example.com
minLength: 3 · maxLength: 253
from_domainstringจำเป็น
โดเมนหลักหรือย่อยที่ต้องตั้งค่าตามจริง เช่น example.com หรือ news.example.com
minLength: 3 · maxLength: 253
lanestringจำเป็น
Mail คือกล่องจดหมาย ส่งและรับได้ ผลิตภัณฑ์และแคมเปญเป็นช่องทางส่งแยกที่ไม่บังคับ
enum: "mailbox", "product", "broadcast"
root_dmarc_confirmedboolean
ฟิลด์รองรับรุ่นเก่า การตั้งค่าคงนโยบายอีเมลเดิมและไม่ต้องยืนยัน
route_providersobject
productstring
enum: "banger", "resend"
broadcaststring
enum: "banger", "resend"
route_domainsobject
productstring
broadcaststring
การตอบกลับสำเร็จ 200
คืนช่องทางที่ตั้งค่าเดิมแบบ idempotent
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-lanes' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "example",
"from_domain": "example",
"lane": "mailbox",
"root_dmarc_confirmed": true,
"route_providers": {
"product": "banger",
"broadcast": "banger"
},
"route_domains": {
"product": "example",
"broadcast": "example"
}
}'
POST/v1/workspaces/{workspaceId}/sending-lanes/plan
ตรวจความพร้อมและ DNS ล่วงหน้าแบบอ่านอย่างเดียว ไม่สร้างทรัพยากร ระเบียนเว็บไซต์อย่างเดียวไม่ยึดชื่อโฮสต์อีเมล คืนการตั้งค่าเดิมและความขัดแย้งในชื่อที่ Banger ต้องเปลี่ยน เก็บการยืนยันส่งและนโยบาย DMARC เดิม
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domainstringจำเป็น
โดเมนบริษัทหลัก เช่น example.com
minLength: 3 · maxLength: 253
from_domainstringจำเป็น
โดเมนหลักหรือย่อยที่ต้องตั้งค่าตามจริง เช่น example.com หรือ news.example.com
minLength: 3 · maxLength: 253
lanestringจำเป็น
Mail คือกล่องจดหมาย ส่งและรับได้ ผลิตภัณฑ์และแคมเปญเป็นช่องทางส่งแยกที่ไม่บังคับ
enum: "mailbox", "product", "broadcast"
root_dmarc_confirmedboolean
ฟิลด์รองรับรุ่นเก่า การตั้งค่าคงนโยบายอีเมลเดิมและไม่ต้องยืนยัน
route_providersobject
productstring
enum: "banger", "resend"
broadcaststring
enum: "banger", "resend"
route_domainsobject
productstring
broadcaststring
การตอบกลับสำเร็จ 200
แผนตั้งค่าช่องทาง
application/json
valueobject
dataobjectจำเป็น
statusstringจำเป็น
enum: "available", "existing", "occupied", "migration_required"
from_domainstringจำเป็น
lanestringจำเป็น
enum: "mailbox", "product", "broadcast"
domain_idstring | nullจำเป็น
lane_idstring | nullจำเป็น
messagestringจำเป็น
requires_root_confirmationbooleanจำเป็น
เป็น false เสมอ เก็บนโยบายอีเมลเดิม
existing_dnsarrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
typestringจำเป็น
valuestringจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-lanes/plan' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "example",
"from_domain": "example",
"lane": "mailbox",
"root_dmarc_confirmed": true,
"route_providers": {
"product": "banger",
"broadcast": "banger"
},
"route_domains": {
"product": "example",
"broadcast": "example"
}
}'
POST/v1/workspaces/{workspaceId}/sending-lanes/migrations
ขอการตรวจทานย้ายระบบโดยคนที่มีอยู่สำหรับช่องทางนี้เท่านั้น เฉพาะผู้ดูแลที่เข้าสู่ระบบอนุญาตในส่วนการอนุมัติได้
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domainstringจำเป็น
โดเมนบริษัทหลัก เช่น example.com
minLength: 3 · maxLength: 253
from_domainstringจำเป็น
โดเมนหลักหรือย่อยที่ต้องตั้งค่าตามจริง เช่น example.com หรือ news.example.com
minLength: 3 · maxLength: 253
lanestringจำเป็น
Mail คือกล่องจดหมาย ส่งและรับได้ ผลิตภัณฑ์และแคมเปญเป็นช่องทางส่งแยกที่ไม่บังคับ
enum: "mailbox", "product", "broadcast"
root_dmarc_confirmedboolean
ฟิลด์รองรับรุ่นเก่า การตั้งค่าคงนโยบายอีเมลเดิมและไม่ต้องยืนยัน
route_providersobject
productstring
enum: "banger", "resend"
broadcaststring
enum: "banger", "resend"
route_domainsobject
productstring
broadcaststring
การตอบกลับสำเร็จ 200
คืนการตรวจทานย้ายระบบที่มีอยู่
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
requested_by_actor_idstringจำเป็น
action_kindstringจำเป็น
summarystringจำเป็น
capability_scopesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมarray
แต่ละรายการstring
payloadobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
payload_sha256stringจำเป็น
pattern: "^[0-9a-f]{64}$"
statusstringจำเป็น
enum: "pending", "approved", "rejected", "cancelled", "expired"
missedbooleanจำเป็น
expires_atstringจำเป็น
format: "date-time"
qa_automationobject | null
หลักฐานแหล่งที่มาของระบบอัตโนมัติ QA โดยเฉพาะที่เซิร์ฟเวอร์บันทึกไว้ ไม่ถือเป็นหลักฐานว่ามีคนตรวจทานเพย์โหลด ระบบจะตรวจสอบการทำงานและสิทธิ์อนุญาตส่วนกลางอีกครั้งขณะดำเนินการ
kindstring
enum: "dedicated_qa_automation"
authorization_referencestring
run_idstring
operation_keystring
recipientsarray
แต่ละรายการstring
format: "email"
approval_sha256string
resource_sha256string
decided_by_actor_idstring | null
decision_reasonstring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
decided_atstring | null
format: "date-time"
execution_job_idstring
format: "uuid"
reviewobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
dispositionstringจำเป็น
enum: "automatic", "human_required"
recipient_countinteger | nullจำเป็น
minimum: 0
reasonsarrayจำเป็น
แต่ละรายการstring
checksarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-lanes/migrations' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "example",
"from_domain": "example",
"lane": "mailbox",
"root_dmarc_confirmed": true,
"route_providers": {
"product": "banger",
"broadcast": "banger"
},
"route_domains": {
"product": "example",
"broadcast": "example"
}
}'
กฎ Triage
GET/v1/workspaces/{workspaceId}/triage-rules
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
mailbox_idstringจำเป็น
format: "uuid"
namestringจำเป็น
auto_set_for_label_idstring | nullจำเป็น
format: "uuid"
descriptionstring | nullจำเป็น
exact_conditionsobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
fromarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
toarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
subject_containsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
excludes_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_attachmentboolean
has_label_idsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
actionsarrayจำเป็น
แต่ละรายการobject
typestringจำเป็น
enum: "apply_label", "archive", "mark_read", "star"
label_idstring
format: "uuid"
enabledbooleanจำเป็น
versionintegerจำเป็น
error_codestring | nullจำเป็น
example_countintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/triage-rules?mailbox_id=00000000-0000-4000-8000-000000000001' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/triage-rules
สร้างกฎ Triage สำหรับจดหมายขาเข้า (ทุกแผน กฎที่เปิดนับในจำนวนแผน) When = description (Jev ประเมิน) และ/หรือ exact_conditions และ/หรือ has_label_ids; Then = actions
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueไม่ได้ระบุ
allOf 1object
namestring
maxLength: 120
descriptionstring | null
maxLength: 2000
exact_conditionsobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
fromarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
toarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
subject_containsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
excludes_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_attachmentboolean
has_label_idsarray
maxItems: 50
แต่ละรายการstring
format: "uuid"
actionsarray
minItems: 1 · maxItems: 8
แต่ละรายการobject
typestringจำเป็น
enum: "apply_label", "archive", "mark_read", "star"
label_idstring
format: "uuid"
enabledboolean
allOf 2object
mailbox_idstringจำเป็น
format: "uuid"
การตอบกลับสำเร็จ 201
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
mailbox_idstringจำเป็น
format: "uuid"
namestringจำเป็น
auto_set_for_label_idstring | nullจำเป็น
format: "uuid"
descriptionstring | nullจำเป็น
exact_conditionsobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
fromarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
toarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
subject_containsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
excludes_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_attachmentboolean
has_label_idsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
actionsarrayจำเป็น
แต่ละรายการobject
typestringจำเป็น
enum: "apply_label", "archive", "mark_read", "star"
label_idstring
format: "uuid"
enabledbooleanจำเป็น
versionintegerจำเป็น
error_codestring | nullจำเป็น
example_countintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/triage-rules' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"description": "example",
"exact_conditions": {
"from": [
"example"
],
"to": [
"example"
],
"subject_contains": [
"example"
],
"has_words": [
"example"
],
"excludes_words": [
"example"
],
"has_attachment": true
},
"has_label_ids": [
"00000000-0000-4000-8000-000000000001"
],
"actions": [
{
"type": "apply_label",
"label_id": "00000000-0000-4000-8000-000000000001"
}
],
"enabled": true,
"mailbox_id": "00000000-0000-4000-8000-000000000001"
}'
POST/v1/workspaces/{workspaceId}/triage-rules/preview
เธรดล่าสุดที่ When จะจับคู่ อ่านอย่างเดียว ไม่คืนคะแนน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
scannedintegerจำเป็น
matchesarrayจำเป็น
แต่ละรายการobject
thread_idstringจำเป็น
format: "uuid"
subjectstringจำเป็น
fromstring
received_atstring
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/triage-rules/preview' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"rule_id": "00000000-0000-4000-8000-000000000001",
"description": "example",
"exact_conditions": {
"from": [
"example"
],
"to": [
"example"
],
"subject_contains": [
"example"
],
"has_words": [
"example"
],
"excludes_words": [
"example"
],
"has_attachment": true
},
"has_label_ids": [
"00000000-0000-4000-8000-000000000001"
],
"limit": 1
}'
POST/v1/workspaces/{workspaceId}/triage-rules/run-past-mail
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 202
การตอบกลับสำเร็จ
application/json
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/triage-rules/run-past-mail' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"rule_ids": [
"00000000-0000-4000-8000-000000000001"
],
"days": 1,
"include_other_actions": true
}'
GET/v1/workspaces/{workspaceId}/triage-rules/{ruleId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
mailbox_idstringจำเป็น
format: "uuid"
namestringจำเป็น
auto_set_for_label_idstring | nullจำเป็น
format: "uuid"
descriptionstring | nullจำเป็น
exact_conditionsobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
fromarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
toarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
subject_containsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
excludes_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_attachmentboolean
has_label_idsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
actionsarrayจำเป็น
แต่ละรายการobject
typestringจำเป็น
enum: "apply_label", "archive", "mark_read", "star"
label_idstring
format: "uuid"
enabledbooleanจำเป็น
versionintegerจำเป็น
error_codestring | nullจำเป็น
example_countintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/triage-rules/{ruleId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
PATCH/v1/workspaces/{workspaceId}/triage-rules/{ruleId}
แก้กฎติดป้ายอัตโนมัติได้ผ่าน updateLabel เท่านั้น
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
namestring
maxLength: 120
descriptionstring | null
maxLength: 2000
exact_conditionsobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
fromarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
toarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
subject_containsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
excludes_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_attachmentboolean
has_label_idsarray
maxItems: 50
แต่ละรายการstring
format: "uuid"
actionsarray
minItems: 1 · maxItems: 8
แต่ละรายการobject
typestringจำเป็น
enum: "apply_label", "archive", "mark_read", "star"
label_idstring
format: "uuid"
enabledboolean
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
mailbox_idstringจำเป็น
format: "uuid"
namestringจำเป็น
auto_set_for_label_idstring | nullจำเป็น
format: "uuid"
descriptionstring | nullจำเป็น
exact_conditionsobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
fromarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
toarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
subject_containsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
excludes_wordsarray
maxItems: 50
แต่ละรายการstring
maxLength: 320
has_attachmentboolean
has_label_idsarrayจำเป็น
แต่ละรายการstring
format: "uuid"
actionsarrayจำเป็น
แต่ละรายการobject
typestringจำเป็น
enum: "apply_label", "archive", "mark_read", "star"
label_idstring
format: "uuid"
enabledbooleanจำเป็น
versionintegerจำเป็น
error_codestring | nullจำเป็น
example_countintegerจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/triage-rules/{ruleId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: example' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "example",
"description": "example",
"exact_conditions": {
"from": [
"example"
],
"to": [
"example"
],
"subject_contains": [
"example"
],
"has_words": [
"example"
],
"excludes_words": [
"example"
],
"has_attachment": true
},
"has_label_ids": [
"00000000-0000-4000-8000-000000000001"
],
"actions": [
{
"type": "apply_label",
"label_id": "00000000-0000-4000-8000-000000000001"
}
],
"enabled": true
}'
DELETE/v1/workspaces/{workspaceId}/triage-rules/{ruleId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
ลบกฎ Triage แล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/triage-rules/{ruleId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
การเชื่อมต่อ
GET/v1/workspaces/{workspaceId}/connections
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
เมทาดาทาและความสามารถการเชื่อมต่อ ไม่คืนข้อมูลรับรอง
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
adapter_keystringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
display_namestringจำเป็น
statusstringจำเป็น
enum: "pending_validation", "active", "error", "disabled"
auth_kindstringจำเป็น
enum: "api_key", "oauth2", "service_account", "none"
freshness_modestringจำเป็น
enum: "webhook", "poll", "on_demand", "hybrid"
capabilitiesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
การตั้งค่าอะแดปเตอร์ที่ไม่ลับ เช่น โฮสต์คลาวด์และ ID โปรเจกต์
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
active_credential_versioninteger | null
external_account_idstring | null
external_account_namestring | null
last_validated_atstring | null
format: "date-time"
last_success_atstring | null
format: "date-time"
last_error_codestring | null
disabled_atstring | null
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/connections/adapters/{adapterKey}
การเชื่อมต่อ Mailchimp เริ่มย้ายจาก Mailchimp ทันที (เหมือน startMailchimpMigration) และ
การตอบกลับมีรายงานแรกใน `mailchimp_migration` หากไม่มี display_name การเชื่อมต่อ Mailchimp
ใช้ชื่อบัญชี เช่น "Mailchimp (Acme Inc)" การเชื่อมบัญชี Mailchimp ที่เชื่อมแล้ว
คืน 409 `mailchimp_account_already_connected` พร้อม `error.details.connection_id`
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
api_keystringจำเป็น
คีย์ API หรือ JSON บัญชีบริการผู้ให้บริการ
minLength: 12 · maxLength: 10000
display_namestring
maxLength: 100
configobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
การเรียกซ้ำแบบ idempotent ของคำขอเชื่อมต่อที่มีอยู่
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
adapter_keystringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
display_namestringจำเป็น
statusstringจำเป็น
enum: "pending_validation", "active", "error", "disabled"
auth_kindstringจำเป็น
enum: "api_key", "oauth2", "service_account", "none"
freshness_modestringจำเป็น
enum: "webhook", "poll", "on_demand", "hybrid"
capabilitiesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
การตั้งค่าอะแดปเตอร์ที่ไม่ลับ เช่น โฮสต์คลาวด์และ ID โปรเจกต์
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
active_credential_versioninteger | null
external_account_idstring | null
external_account_namestring | null
last_validated_atstring | null
format: "date-time"
last_success_atstring | null
format: "date-time"
last_error_codestring | null
disabled_atstring | null
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
mailchimp_migrationobject
การย้ายจากหนึ่งการเชื่อมต่อ Mailchimp เข้าผลิตภัณฑ์ โพล GET /mailchimp-migration เพื่อติดตามสด:
`phase` ระบุขั้นตอนปัจจุบัน `counts`, `audiences`, `segments`, `templates` และ `campaigns` เพิ่มระหว่างดำเนินการ
migration_idstringจำเป็น
format: "uuid"
connection_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "importing", "completed"
phasestringจำเป็น
importing (กำลังอ่าน Mailchimp), copying_designs (แม่แบบและแคมเปญ), finishing, completed, needs_new_key (Mailchimp ปฏิเสธคีย์ API การย้ายหยุดชั่วคราวจนกว่าจะบันทึกคีย์ใหม่ด้วย rotateConnectionCredential) หรือ disconnected (นำการเชื่อมต่อออกแล้ว ข้อมูลทั้งหมดที่ย้ายมาแล้วยังคงอยู่ใน Banger และยังอ่านจำนวนได้)
enum: "importing", "copying_designs", "finishing", "completed", "needs_new_key", "disconnected"
started_atstringจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
connectionobjectจำเป็น
display_namestringจำเป็น
account_namestring | nullจำเป็น
statusstringจำเป็น
enum: "pending_validation", "active", "error", "disabled"
last_error_codestring | nullจำเป็น
needs_new_keybooleanจำเป็น
messagestring
มีค่านี้เมื่อเป็น needs_new_key หรือ disconnected พร้อมแสดงผล
progressobjectจำเป็น
import_streamsintegerจำเป็น
import_streams_doneintegerจำเป็น
failing_streamsarrayจำเป็น
แต่ละรายการobject
streamstringจำเป็น
refstringจำเป็น
error_codestring | nullจำเป็น
designs_waitingintegerจำเป็น
notestringจำเป็น
countsobjectจำเป็น
contactsintegerจำเป็น
subscribedintegerจำเป็น
unsubscribedintegerจำเป็น
bouncedintegerจำเป็น
contact_listsintegerจำเป็น
contact_fieldsintegerจำเป็น
segments_convertedintegerจำเป็น
segments_kept_as_listsintegerจำเป็น
templates_importedintegerจำเป็น
templates_to_rebuildintegerจำเป็น
campaigns_imported_as_designsintegerจำเป็น
automations_importedintegerจำเป็น
audiencesarrayจำเป็น
แต่ละรายการobject
mailchimp_idstringจำเป็น
namestringจำเป็น
list_idstring | nullจำเป็น
format: "uuid"
list_namestring | nullจำเป็น
members_in_bangerintegerจำเป็น
subscribedintegerจำเป็น
unsubscribedintegerจำเป็น
bouncedintegerจำเป็น
members_in_mailchimpintegerจำเป็น
contact_fieldsarrayจำเป็น
แต่ละรายการobject
mailchimp_tagstringจำเป็น
namestringจำเป็น
field_keystringจำเป็น
typestringจำเป็น
enum: "text", "number", "boolean", "date", "choice", "choices"
consentstringจำเป็น
segmentsarrayจำเป็น
แต่ละรายการobject
ผลลัพธ์ของหนึ่งกลุ่ม เทมเพลต หรือแคมเปญ Mailchimp
mailchimp_idstringจำเป็น
กลุ่ม: <audience id>:<segment id> เทมเพลตและแคมเปญ: id ของ Mailchimp
becamestringจำเป็น
enum: "segment", "contact_list", "template", "needs_rebuild"
idstring
กลุ่ม Banger
format: "uuid"
namestringจำเป็น
reasonstring
เหตุผลที่กลุ่มยังเป็นรายการคงที่
dropped_merge_tagsarray
แท็กผสาน Mailchimp ที่ไม่มีสิ่งเทียบเท่าใน Banger ซึ่งนำออกจากดีไซน์ (เงื่อนไขฟิลด์ผสานคงแขนงแรกและแสดงที่นี่)
แต่ละรายการstring
replaced_footerboolean
ส่วนท้าย Mailchimp (ดูในเบราว์เซอร์ การตั้งค่า ที่อยู่ ตราสัญลักษณ์) เปลี่ยนเป็นส่วนท้ายแบรนด์ผลิตภัณฑ์
removed_linksarray
ลิงก์นอกส่วนท้ายไปหน้าที่มีเฉพาะ Mailchimp (เช่น ดูในเบราว์เซอร์) ที่นำออก แสดงตามข้อความลิงก์
แต่ละรายการstring
links_to_fillarray
ลิงก์ที่ว่างใน Mailchimp แต่ละลิงก์เป็นสล็อต URL ของดีไซน์ที่ต้องเติมก่อนส่ง
แต่ละรายการobject
keystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
kept_editsboolean
การรันซ้ำพบดีไซน์ที่แก้ใน Banger จึงคงไว้ตามเดิม
templatesarrayจำเป็น
แต่ละรายการobject
ผลลัพธ์ของหนึ่งกลุ่ม เทมเพลต หรือแคมเปญ Mailchimp
mailchimp_idstringจำเป็น
กลุ่ม: <audience id>:<segment id> เทมเพลตและแคมเปญ: id ของ Mailchimp
becamestringจำเป็น
enum: "segment", "contact_list", "template", "needs_rebuild"
idstring
กลุ่ม Banger
format: "uuid"
namestringจำเป็น
reasonstring
เหตุผลที่กลุ่มยังเป็นรายการคงที่
dropped_merge_tagsarray
แท็กผสาน Mailchimp ที่ไม่มีสิ่งเทียบเท่าใน Banger ซึ่งนำออกจากดีไซน์ (เงื่อนไขฟิลด์ผสานคงแขนงแรกและแสดงที่นี่)
แต่ละรายการstring
replaced_footerboolean
ส่วนท้าย Mailchimp (ดูในเบราว์เซอร์ การตั้งค่า ที่อยู่ ตราสัญลักษณ์) เปลี่ยนเป็นส่วนท้ายแบรนด์ผลิตภัณฑ์
removed_linksarray
ลิงก์นอกส่วนท้ายไปหน้าที่มีเฉพาะ Mailchimp (เช่น ดูในเบราว์เซอร์) ที่นำออก แสดงตามข้อความลิงก์
แต่ละรายการstring
links_to_fillarray
ลิงก์ที่ว่างใน Mailchimp แต่ละลิงก์เป็นสล็อต URL ของดีไซน์ที่ต้องเติมก่อนส่ง
แต่ละรายการobject
keystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
kept_editsboolean
การรันซ้ำพบดีไซน์ที่แก้ใน Banger จึงคงไว้ตามเดิม
campaignsarrayจำเป็น
แต่ละรายการobject
ผลลัพธ์ของหนึ่งกลุ่ม เทมเพลต หรือแคมเปญ Mailchimp
mailchimp_idstringจำเป็น
กลุ่ม: <audience id>:<segment id> เทมเพลตและแคมเปญ: id ของ Mailchimp
becamestringจำเป็น
enum: "segment", "contact_list", "template", "needs_rebuild"
idstring
กลุ่ม Banger
format: "uuid"
namestringจำเป็น
reasonstring
เหตุผลที่กลุ่มยังเป็นรายการคงที่
dropped_merge_tagsarray
แท็กผสาน Mailchimp ที่ไม่มีสิ่งเทียบเท่าใน Banger ซึ่งนำออกจากดีไซน์ (เงื่อนไขฟิลด์ผสานคงแขนงแรกและแสดงที่นี่)
แต่ละรายการstring
replaced_footerboolean
ส่วนท้าย Mailchimp (ดูในเบราว์เซอร์ การตั้งค่า ที่อยู่ ตราสัญลักษณ์) เปลี่ยนเป็นส่วนท้ายแบรนด์ผลิตภัณฑ์
removed_linksarray
ลิงก์นอกส่วนท้ายไปหน้าที่มีเฉพาะ Mailchimp (เช่น ดูในเบราว์เซอร์) ที่นำออก แสดงตามข้อความลิงก์
แต่ละรายการstring
links_to_fillarray
ลิงก์ที่ว่างใน Mailchimp แต่ละลิงก์เป็นสล็อต URL ของดีไซน์ที่ต้องเติมก่อนส่ง
แต่ละรายการobject
keystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
kept_editsboolean
การรันซ้ำพบดีไซน์ที่แก้ใน Banger จึงคงไว้ตามเดิม
automationsobjectจำเป็น
importedbooleanจำเป็น
const: false
whystringจำเป็น
next_stepsarrayจำเป็น
แต่ละรายการstring
help_call_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/adapters/{adapterKey}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key": "examplexxxxx",
"display_name": "example",
"config": {}
}'
DELETE/v1/workspaces/{workspaceId}/connections/{connectionId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
เพิกถอนการเชื่อมต่อ ข้อมูลรับรอง สถานะซิงค์ และสิทธิ์แล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/{connectionId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx'
POST/v1/workspaces/{workspaceId}/connections/{connectionId}/validate
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ข้อมูลรับรองการเชื่อมต่อใช้ได้
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
adapter_keystringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
display_namestringจำเป็น
statusstringจำเป็น
enum: "pending_validation", "active", "error", "disabled"
auth_kindstringจำเป็น
enum: "api_key", "oauth2", "service_account", "none"
freshness_modestringจำเป็น
enum: "webhook", "poll", "on_demand", "hybrid"
capabilitiesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
การตั้งค่าอะแดปเตอร์ที่ไม่ลับ เช่น โฮสต์คลาวด์และ ID โปรเจกต์
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
active_credential_versioninteger | null
external_account_idstring | null
external_account_namestring | null
last_validated_atstring | null
format: "date-time"
last_success_atstring | null
format: "date-time"
last_error_codestring | null
disabled_atstring | null
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/{connectionId}/validate' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/connections/{connectionId}/credential
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
api_keystringจำเป็น
คีย์ API หรือ JSON บัญชีบริการผู้ให้บริการ
minLength: 12 · maxLength: 10000
display_namestring
maxLength: 100
configobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
การเรียกซ้ำแบบ idempotent ของการหมุนเวียนก่อนหน้า
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
adapter_keystringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
display_namestringจำเป็น
statusstringจำเป็น
enum: "pending_validation", "active", "error", "disabled"
auth_kindstringจำเป็น
enum: "api_key", "oauth2", "service_account", "none"
freshness_modestringจำเป็น
enum: "webhook", "poll", "on_demand", "hybrid"
capabilitiesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
configobjectจำเป็น
การตั้งค่าอะแดปเตอร์ที่ไม่ลับ เช่น โฮสต์คลาวด์และ ID โปรเจกต์
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
active_credential_versioninteger | null
external_account_idstring | null
external_account_namestring | null
last_validated_atstring | null
format: "date-time"
last_success_atstring | null
format: "date-time"
last_error_codestring | null
disabled_atstring | null
format: "date-time"
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/{connectionId}/credential' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key": "examplexxxxx",
"display_name": "example",
"config": {}
}'
POST/v1/workspaces/{workspaceId}/connections/{connectionId}/query
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
adapter_keystringจำเป็น
enum: "figma", "github", "google-analytics", "google-calendar", "hubspot", "linear", "mailchimp", "notion", "slack", "snowflake", "zendesk"
operationstringจำเป็น
enum: "audiences.list", "blocks.children.list", "campaigns.list", "changelog.brief", "channels.list", "comments.list", "commits.list", "companies.list", "contacts.list", "cohorts.list", "customer.brief", "customers.list", "deals.list", "events.list", "file.summary", "funnels.list", "images.render", "invoices.list", "issues.list", "launch.brief", "messages.history", "messages.search", "nodes.get", "notifications.list", "pages.retrieve", "payment_intents.list", "persons.list", "profiles.list", "queries.execute", "queries.list", "releases.list", "reports.list", "reports.run", "repositories.list", "search.list", "subscriptions.list"
parametersobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
การตอบกลับแบบระบุชนิดและยืนยันตัวตนจากแหล่งที่เชื่อมต่อ
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
adapter_keystringจำเป็น
enum: "figma", "github", "google-analytics", "google-calendar", "hubspot", "linear", "mailchimp", "notion", "slack", "snowflake", "zendesk"
operationstringจำเป็น
capabilitystringจำเป็น
sourceobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
external_account_idstringจำเป็น
external_account_namestringจำเป็น
fetched_atstringจำเป็น
format: "date-time"
freshnessstringจำเป็น
const: "live"
dataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/{connectionId}/query' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"adapter_key": "figma",
"operation": "audiences.list",
"parameters": {}
}'
GET/v1/workspaces/{workspaceId}/connections/{connectionId}/grants
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สิทธิ์ที่ใช้งานสำหรับการเชื่อมต่อ
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
connection_idstringจำเป็น
format: "uuid"
principal_kindstringจำเป็น
enum: "agent", "automation", "api_key"
principal_idstringจำเป็น
capabilitiesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
created_by_actor_idstringจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
expires_atstring | null
format: "date-time"
revoked_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/{connectionId}/grants' \
--header "Authorization: Bearer $BANGER_API_KEY"
PUT/v1/workspaces/{workspaceId}/connections/{connectionId}/grants/{principalKind}/{principalId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
capabilitiesarrayจำเป็น
minItems: 1 · uniqueItems: true
แต่ละรายการstring
resource_scopeobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
expires_atstring
format: "date-time"
การตอบกลับสำเร็จ 200
ให้หรือแทนสิทธิ์การเชื่อมต่อแล้ว
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
connection_idstringจำเป็น
format: "uuid"
principal_kindstringจำเป็น
enum: "agent", "automation", "api_key"
principal_idstringจำเป็น
capabilitiesarrayจำเป็น
แต่ละรายการstring
resource_scopeobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
created_by_actor_idstringจำเป็น
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
expires_atstring | null
format: "date-time"
revoked_atstring | null
format: "date-time"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/{connectionId}/grants/{principalKind}/{principalId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"capabilities": [
"example"
],
"resource_scope": {},
"expires_at": "2026-01-01T00:00:00Z"
}'
DELETE/v1/workspaces/{workspaceId}/connections/{connectionId}/grants/{principalKind}/{principalId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
เพิกถอนสิทธิ์การเชื่อมต่อแล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/connections/{connectionId}/grants/{principalKind}/{principalId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
โดเมนสำหรับส่ง
GET/v1/workspaces/{workspaceId}/sending-domains
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
โดเมนส่งบนระบบ Banger สำหรับพื้นที่ทำงาน
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/sending-domains
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domainstringจำเป็น
โดเมนหรือโดเมนย่อยของผลิตภัณฑ์ตามจริง โดยค่าเริ่มต้น Banger สร้างโดเมนย่อยสามช่องทางแยกกัน
minLength: 3 · maxLength: 253
setup_modestring
Simple จัดเตรียมระบบรับส่งกล่องจดหมายเดียวสำหรับรับและส่งจากที่อยู่กล่องที่เลือก รวมแคมเปญและเส้นทาง Advanced จัดเตรียมช่องทางส่งแยก
default: "advanced" · enum: "simple", "advanced"
mailbox_modestring
Simple ใช้โดเมนหลักเป็นค่าเริ่มต้นหากไม่ระบุคำนำหน้ากล่องจดหมาย advanced ใช้โดเมนย่อย Subdomain คงจดหมายโดเมนเดิม Migrate ขอกล่องจดหมายบนโดเมนตรงตัว โดเมนหรือช่องทางตรงตัวที่มีผู้ใช้อยู่ต้องส่งคำขอผ่าน sending-domain-migrations แล้วอนุญาตในแผงการอนุมัติ Banger ที่เข้าสู่ระบบ ข้อมูลรับรองเอเจนต์อนุญาตย้ายไม่ได้ ไม่นำเข้าข้อความเก่าและไม่เปลี่ยน DNS อัตโนมัติ
enum: "subdomain", "migrate"
root_dmarc_confirmedboolean
ฟิลด์รองรับรุ่นเก่า คงนโยบายเดิมและการตั้งค่าไม่ต้องยืนยัน
lane_prefixesobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
mailboxstring
minLength: 1 · maxLength: 63 · default: "mail"
productstring
minLength: 1 · maxLength: 63 · default: "tx"
broadcaststring
minLength: 1 · maxLength: 63 · default: "broadcast"
route_providersobject
รับ Resend เฉพาะเมื่อ Banger ตรวจพบใน DNS โดเมนนี้แล้วและผลิตภัณฑ์ที่เลือกมีการเชื่อมต่อใช้งาน ไคลเอนต์ห้ามเสนอในกรณีอื่น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
productstring
default: "banger" · enum: "banger", "resend"
broadcaststring
default: "banger" · enum: "banger", "resend"
route_domainsobject
โดเมนที่ยืนยันตามจริงซึ่งซิงค์จาก Resend จำเป็นสำหรับทุกช่องทางที่ยังใช้ Resend
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
productstring
minLength: 3 · maxLength: 253
broadcaststring
minLength: 3 · maxLength: 253
การตอบกลับสำเร็จ 200
การเรียกซ้ำแบบ idempotent ของคำขอโดเมนส่งบนระบบ Banger
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Idempotency-Key: examplexxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "example",
"setup_mode": "advanced",
"mailbox_mode": "subdomain",
"root_dmarc_confirmed": true,
"lane_prefixes": {
"mailbox": "mail",
"product": "tx",
"broadcast": "broadcast"
},
"route_providers": {
"product": "banger",
"broadcast": "banger"
},
"route_domains": {
"product": "example",
"broadcast": "example"
}
}'
GET/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สถานะโดเมน สตรีม การจัดเตรียม และ DNS ที่จำเป็นในปัจจุบัน
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
DELETE/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
confirm_domainstringจำเป็น
ต้องตรงทุกตัวอักษรกับโดเมนหลักที่จะลบ
minLength: 3 · maxLength: 253
การตอบกลับสำเร็จ 202
หยุดส่งและรับแล้ว และเข้าคิวรื้อถอนผู้ให้บริการแบบ idempotent เก็บประวัติอีเมลและรายการตรวจสอบ
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"confirm_domain": "example"
}'
DELETE/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
confirm_domainstringจำเป็น
โดเมนย่อยที่ตรงตามจริงของช่องทางที่เลือก
การตอบกลับสำเร็จ 202
หยุดและเข้าคิวลบเฉพาะช่องทางที่เลือก เก็บช่องทางอื่นและประวัติข้อความ
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"confirm_domain": "example"
}'
POST/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}/pause
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
หยุดช่องทางที่เลือกชั่วคราวโดยไม่เปลี่ยน DNS หรือช่องทางอื่น
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}/pause' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}/resume
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ช่องทางที่เลือกกลับมาทำงานเมื่อ DNS ที่บันทึกและสถานะผู้ให้บริการพร้อม
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}/resume' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/verify
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ตรวจสอบตัวตน Banger และการยืนยัน DNS อีกครั้งอย่างปลอดภัยแล้ว
application/json
valueobject
dataobjectจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domain_idstringจำเป็น
format: "uuid"
product_idstringจำเป็น
format: "uuid"
root_domainstringจำเป็น
parent_domainstring
โดเมนบริษัทที่เก็บไว้เมื่อช่องทางใช้โดเมนย่อย
setup_modestring
enum: "simple", "advanced"
domain_statusstringจำเป็น
enum: "pending", "verified", "failed", "disabled", "deleting", "deleted"
lanesarrayจำเป็น
minItems: 1 · maxItems: 3
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
created_atstring
format: "date-time"
kindstringจำเป็น
enum: "mailbox", "product", "broadcast"
display_namestringจำเป็น
from_domainstringจำเป็น
mail_from_domainstring | nullจำเป็น
inbound_domainstring | nullจำเป็น
route_providerstringจำเป็น
enum: "banger", "resend"
selected_provider_connection_idstring | nullจำเป็น
format: "uuid"
inbound_providerstring | nullจำเป็น
enum: "banger", null
statusstringจำเป็น
enum: "pending", "active", "paused", "deleting", "deleted"
status_reasonstring | nullจำเป็น
desired_revisionintegerจำเป็น
minimum: 1
observed_revisionintegerจำเป็น
minimum: 0
dns_readybooleanจำเป็น
provider_readybooleanจำเป็น
inbound_readybooleanจำเป็น
outbound_readybooleanจำเป็น
banger_transport_readybooleanจำเป็น
banger_mail_from_domainstring | nullจำเป็น
provisioning_job_idstring | nullจำเป็น
format: "uuid"
provisioning_statusstringจำเป็น
enum: "pending", "provisioning", "waiting_dns", "active", "failed", "deleting", "deleted", "not_required"
provisioning_error_codestring | null
provisioning_next_attempt_atstring | null
provisioning_last_checked_atstring | null
provider_identity_statusstring | null
provider_dkim_statusstring | null
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
deletionobject | nullจำเป็น
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
job_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "pending", "processing", "waiting_provider", "completed", "failed"
last_error_codestring | nullจำเป็น
cleanup_recordsarrayจำเป็น
ระเบียน DNS ที่ผู้ใช้ลบได้ตามจริงหลังรื้อถอนเสร็จ
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
lane_idstringจำเป็น
format: "uuid"
providerstringจำเป็น
enum: "banger", "resend"
purposestringจำเป็น
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
namestringจำเป็น
valuestringจำเป็น
priorityinteger | nullจำเป็น
requiredbooleanจำเป็น
statusstringจำเป็น
enum: "pending", "verified", "error"
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
first_observed_atstring | nullจำเป็น
format: "date-time"
last_checked_atstring | nullจำเป็น
format: "date-time"
errorobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
provider_referencestring | nullจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/verify' \
--header "Authorization: Bearer $BANGER_API_KEY"
เว็บฮุก
GET/v1/workspaces/{workspaceId}/webhooks
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
เอนด์พอยต์เว็บฮุกพื้นที่ทำงาน
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
kindstringจำเป็น
enum: "outbound", "inbound"
source_keystringจำเป็น
pattern: "^[a-z0-9][a-z0-9_-]{0,62}$"
namestringจำเป็น
endpoint_urlstring | null
format: "uri"
statusstringจำเป็น
enum: "active", "disabled", "error"
event_typesarrayจำเป็น
แต่ละรายการstring
connection_idstring | null
format: "uuid"
delivered_countintegerจำเป็น
minimum: 0
failed_countintegerจำเป็น
minimum: 0
last_delivered_atstring | null
format: "date-time"
last_received_atstring | null
format: "date-time"
last_error_codestring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/webhooks' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/webhooks
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "outbound", "inbound"
namestringจำเป็น
minLength: 1 · maxLength: 120
source_keystring
banger_api สงวนสำหรับเว็บฮุกที่ POST /events สร้าง
pattern: "^[a-z0-9][a-z0-9_-]{0,62}$" · default: "custom"
source_configobject
การประเมินเหตุการณ์และแมปการส่งถึงที่กำหนดแน่นอนตามแหล่ง รองรับ Zendesk และ Supabase Auth
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
vip_tagsarray
minItems: 1 · maxItems: 20 · uniqueItems: true
แต่ละรายการstring
pattern: "^[a-z0-9][a-z0-9_-]{0,63}$"
sla_warning_minutesinteger
minimum: 1 · maximum: 10080
project_urlstring
URL โปรเจกต์ Supabase
format: "uri"
mailbox_idstring
ที่อยู่ส่ง Banger ที่ใช้งานสำหรับอีเมล Supabase Auth
format: "uuid"
template_idsobject
เทมเพลต Banger ที่เลือกสำหรับแต่ละการดำเนินการอีเมล Supabase Auth
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
signupstringจำเป็น
format: "uuid"
invitestringจำเป็น
format: "uuid"
magiclinkstringจำเป็น
format: "uuid"
recoverystringจำเป็น
format: "uuid"
email_changestringจำเป็น
format: "uuid"
reauthenticationstringจำเป็น
format: "uuid"
password_changed_notificationstringจำเป็น
format: "uuid"
email_changed_notificationstringจำเป็น
format: "uuid"
phone_changed_notificationstringจำเป็น
format: "uuid"
identity_linked_notificationstringจำเป็น
format: "uuid"
identity_unlinked_notificationstringจำเป็น
format: "uuid"
mfa_factor_enrolled_notificationstringจำเป็น
format: "uuid"
mfa_factor_unenrolled_notificationstringจำเป็น
format: "uuid"
signing_secretstring
ความลับ Supabase Send Email Hook รับเฉพาะแหล่ง Supabase ขาเข้าและเข้ารหัสเมื่อจัดเก็บ
minLength: 20 · maxLength: 500
endpoint_urlstring
จำเป็นเฉพาะปลายทางขาออก
format: "uri"
event_typesarray
เหตุการณ์ที่จะส่ง หากไม่ระบุเอนด์พอยต์ขาออกได้เหตุการณ์กิจกรรมเริ่มต้น เหตุการณ์เฉพาะ (mail.received, mail.sent, send.*, journey.*) ส่งเฉพาะเมื่อระบุ * ส่งทั้งหมดรวม send.delivered ที่มีปริมาณมาก
minItems: 1 · maxItems: 100 · uniqueItems: true
แต่ละรายการstring
enum: "*", "mail.changed", "send.changed", "campaign.changed", "audience.changed", "approval.changed", "automation.changed", "domain.changed", "sending.warning", "sending.lane_paused", "sending.domain_paused", "sending.mailbox_paused", "sending.workspace_frozen", "sending.resumed", "mail.received", "mail.sent", "send.delivered", "send.bounced", "send.complained", "journey.enrolled", "journey.completed", "journey.exited", "custom"
การตอบกลับสำเร็จ 201
สร้างเว็บฮุกแล้ว แสดงความลับลงลายเซ็นขาออกครั้งเดียว ผู้เรียกที่อนุญาตเปิดตัวเลือกข้อมูลรับรองขาเข้าอีกได้
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
idstringจำเป็น
format: "uuid"
kindstringจำเป็น
enum: "outbound", "inbound"
source_keystringจำเป็น
pattern: "^[a-z0-9][a-z0-9_-]{0,62}$"
namestringจำเป็น
endpoint_urlstring | null
format: "uri"
statusstringจำเป็น
enum: "active", "disabled", "error"
event_typesarrayจำเป็น
แต่ละรายการstring
connection_idstring | null
format: "uuid"
delivered_countintegerจำเป็น
minimum: 0
failed_countintegerจำเป็น
minimum: 0
last_delivered_atstring | null
format: "date-time"
last_received_atstring | null
format: "date-time"
last_error_codestring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
allOf 2object
signing_secretstring
ความลับลงลายเซ็นคำขอขาออก
source_urlstring
URL เหตุการณ์ขาเข้าที่มีความลับซึ่งเดาไม่ได้
format: "uri"
webhook_urlstring
URL ขาเข้าสาธารณะสำหรับใช้กับส่วนหัว Authorization
format: "uri"
bearer_tokenstring
โทเค็นเอนด์พอยต์ลับสำหรับส่งเป็น Authorization Bearer
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/webhooks' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"kind": "outbound",
"name": "example",
"source_key": "custom",
"source_config": {
"vip_tags": [
"example"
],
"sla_warning_minutes": 1,
"project_url": "https://example.com",
"mailbox_id": "00000000-0000-4000-8000-000000000001",
"template_ids": {
"signup": "00000000-0000-4000-8000-000000000001",
"invite": "00000000-0000-4000-8000-000000000001",
"magiclink": "00000000-0000-4000-8000-000000000001",
"recovery": "00000000-0000-4000-8000-000000000001",
"email_change": "00000000-0000-4000-8000-000000000001",
"reauthentication": "00000000-0000-4000-8000-000000000001",
"password_changed_notification": "00000000-0000-4000-8000-000000000001",
"email_changed_notification": "00000000-0000-4000-8000-000000000001",
"phone_changed_notification": "00000000-0000-4000-8000-000000000001",
"identity_linked_notification": "00000000-0000-4000-8000-000000000001",
"identity_unlinked_notification": "00000000-0000-4000-8000-000000000001",
"mfa_factor_enrolled_notification": "00000000-0000-4000-8000-000000000001",
"mfa_factor_unenrolled_notification": "00000000-0000-4000-8000-000000000001"
}
},
"signing_secret": "examplexxxxxxxxxxxxx",
"endpoint_url": "https://example.com",
"event_types": [
"*"
]
}'
PATCH/v1/workspaces/{workspaceId}/webhooks/{endpointId}
การปิดหยุดการส่งถึงหรือเหตุการณ์อัตโนมัติขาเข้า และเก็บเว็บฮุก ชื่อ และประวัติ การปิดเว็บฮุกขาเข้าปิดการเชื่อมต่อด้วย เส้นทางที่ทริกเกอร์จึงหยุดรับเหตุการณ์จนเปิดอีก ลบเว็บฮุกเพื่อนำออกถาวร
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
เปิดเว็บฮุกอีกครั้งหรือปิดแล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
kindstringจำเป็น
enum: "outbound", "inbound"
source_keystringจำเป็น
pattern: "^[a-z0-9][a-z0-9_-]{0,62}$"
namestringจำเป็น
endpoint_urlstring | null
format: "uri"
statusstringจำเป็น
enum: "active", "disabled", "error"
event_typesarrayจำเป็น
แต่ละรายการstring
connection_idstring | null
format: "uuid"
delivered_countintegerจำเป็น
minimum: 0
failed_countintegerจำเป็น
minimum: 0
last_delivered_atstring | null
format: "date-time"
last_received_atstring | null
format: "date-time"
last_error_codestring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request PATCH --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/webhooks/{endpointId}' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"status": "active"
}'
DELETE/v1/workspaces/{workspaceId}/webhooks/{endpointId}
ลบเอนด์พอยต์ขาออกพร้อมประวัติส่งถึง ลบเว็บฮุกขาเข้าพร้อมการเชื่อมต่อ และได้เฉพาะเมื่อไม่มีเส้นทางรวมที่เก็บถาวรใช้การเชื่อมต่อนั้นเป็นทริกเกอร์หรือเป้าหมาย หากต้องการหยุดและเก็บเว็บฮุก ให้ PATCH สถานะเป็น disabled แทน
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 204
ลบเว็บฮุกแล้ว
ไม่มีเนื้อหาการตอบกลับ
ตัวอย่าง curl
curl --request DELETE --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/webhooks/{endpointId}' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/webhooks/{endpointId}/credentials
ต้องมี automation:execute คืนความลับเดิมโดยไม่สร้างหรือหมุนเวียนทรัพยากร ห้ามแคชหรือบันทึกการตอบกลับนี้
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
URL แหล่งข้อมูลส่วนตัว URL เว็บฮุกสาธารณะ และโทเค็น bearer แยก
application/json
valueobject
dataไม่ได้ระบุ
allOf 1object
idstringจำเป็น
format: "uuid"
kindstringจำเป็น
enum: "outbound", "inbound"
source_keystringจำเป็น
pattern: "^[a-z0-9][a-z0-9_-]{0,62}$"
namestringจำเป็น
endpoint_urlstring | null
format: "uri"
statusstringจำเป็น
enum: "active", "disabled", "error"
event_typesarrayจำเป็น
แต่ละรายการstring
connection_idstring | null
format: "uuid"
delivered_countintegerจำเป็น
minimum: 0
failed_countintegerจำเป็น
minimum: 0
last_delivered_atstring | null
format: "date-time"
last_received_atstring | null
format: "date-time"
last_error_codestring | null
created_atstringจำเป็น
format: "date-time"
updated_atstringจำเป็น
format: "date-time"
allOf 2object
signing_secretstring
ความลับลงลายเซ็นคำขอขาออก
source_urlstring
URL เหตุการณ์ขาเข้าที่มีความลับซึ่งเดาไม่ได้
format: "uri"
webhook_urlstring
URL ขาเข้าสาธารณะสำหรับใช้กับส่วนหัว Authorization
format: "uri"
bearer_tokenstring
โทเค็นเอนด์พอยต์ลับสำหรับส่งเป็น Authorization Bearer
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/webhooks/{endpointId}/credentials' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'x-banger-product-id: 00000000-0000-4000-8000-000000000001'
GET/v1/workspaces/{workspaceId}/webhooks/{endpointId}/deliveries
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ความพยายามส่งถึงล่าสุด
application/json
valueobject
dataarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
format: "uuid"
event_typestringจำเป็น
statusstringจำเป็น
enum: "pending", "delivering", "delivered", "failed"
attempt_countintegerจำเป็น
minimum: 0
http_statusinteger | null
minimum: 100 · maximum: 599
last_error_codestring | null
delivered_atstring | null
format: "date-time"
created_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/webhooks/{endpointId}/deliveries' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/webhooks/{endpointId}/test
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 202
เข้าคิวเหตุการณ์ทดสอบที่ลงลายเซ็นแล้ว
application/json
valueobject
dataobjectจำเป็น
idstringจำเป็น
format: "uuid"
statusstringจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/webhooks/{endpointId}/test' \
--header "Authorization: Bearer $BANGER_API_KEY"
การเริ่มต้นใช้งาน
PUT/v1/workspaces/{workspaceId}/onboarding/path
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
pathstringจำเป็น
enum: "starter_identity", "company_domain", "resend_gateway", "banger_native_sending", "work_mailbox", "gmail", "native_mailbox", "existing_provider"
การตอบกลับสำเร็จ 200
เลือกขั้นตอนเริ่มต้นที่เซิร์ฟเวอร์กำหนดแล้ว
application/json
valueobject
dataobjectจำเป็น
pathstringจำเป็น
enum: "starter_identity", "company_domain", "resend_gateway", "banger_native_sending", "work_mailbox", "gmail", "native_mailbox", "existing_provider"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/path' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"path": "starter_identity"
}'
GET/v1/workspaces/{workspaceId}/onboarding/guided
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ความคืบหน้าที่บันทึกและความสามารถที่ตรวจสอบแยกต่างหาก
application/json
valueobject
dataobjectจำเป็น
product_idstringจำเป็น
format: "uuid"
lessonobject
stepstringจำเป็น
purposestringจำเป็น
setupstringจำเป็น
boundarystringจำเป็น
example_requeststringจำเป็น
resultstringจำเป็น
choicestringจำเป็น
skipstring | nullจำเป็น
guidancestring
current_stepstringจำเป็น
enum: "connect", "business", "identity", "sending"
completed_countintegerจำเป็น
total_stepsintegerจำเป็น
enum: 4
setupobject
ด่านตั้งค่าบนเว็บและแบนเนอร์ทำการตั้งค่าให้เสร็จ แต่ละส่วนเป็น complete, verifying (เพิ่มระเบียนโดเมนแล้ว ยังตรวจ DNS), skipped หรือ missing
connectstringจำเป็น
enum: "complete", "skipped", "missing"
brandstringจำเป็น
enum: "complete", "skipped", "missing"
domainstringจำเป็น
enum: "complete", "verifying", "skipped", "missing"
gate_openbooleanจำเป็น
True ขณะที่แบรนด์หรือโดเมนยังไม่เสร็จและยังไม่ข้าม
missingarrayจำเป็น
ส่วนที่ข้ามหรือยังไม่เคยทำเสร็จ
แต่ละรายการstring
enum: "connect", "brand", "domain"
unlock_video_dueboolean
True ตั้งแต่ยืนยันโดเมนจนพื้นที่ทำงานดูวิดีโอ "สิ่งที่ทำได้ตอนนี้" แล้ว
agent_client_namestring | null
แอป AI ที่เชื่อมต่อ
completebooleanจำเป็น
shared_education_completeboolean
outcomestringจำเป็น
enum: "in_progress", "production_deferred", "production_ready"
recommended_actionstringจำเป็น
readinessobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมboolean
progressobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
titlestringจำเป็น
explanationstring
statusstringจำเป็น
enum: "not_started", "in_progress", "waiting", "needs_attention", "complete", "skipped"
blocking_dependencystring | null
recommended_actionstring
actionsarrayจำเป็น
แต่ละรายการstring
resource_idsarrayจำเป็น
แต่ละรายการstring
evidenceobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/guided?details=1' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'x-banger-product-id: 00000000-0000-4000-8000-000000000001'
POST/v1/workspaces/{workspaceId}/onboarding/guided
ส่งเฉพาะที่อยู่สมัครที่ยืนยันแล้วของผู้ใช้ที่อนุญาต เส้นทางยังไม่ใช้งานและแคมเปญยังไม่ส่ง ใช้ขอบเขตการอนุมัติย้ายระบบเดิม
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
actionstringจำเป็น
enum: "begin_guidance", "save_business", "discover_brand", "skip_business", "choose_identity", "defer_identity", "skip_domain", "choose_delivery", "setup_receiving", "defer_receiving", "setup_sending", "dns_applied", "verify_dns", "continue_domain", "add_inboxes", "skip_inboxes", "finish_for_now", "finish"
dataobject
ฟิลด์ธุรกิจ company_name, primary_goal, website_url และ brand ฟิลด์ฉบับร่าง name, subject, preview_text, body_text และ edit ฟิลด์ตัวตน domain และ local_part ไม่รับข้อมูลผู้รับ
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
สถานะหลักที่รีเฟรชหลังการดำเนินการที่ขอ
application/json
valueobject
dataobjectจำเป็น
product_idstringจำเป็น
format: "uuid"
lessonobject
stepstringจำเป็น
purposestringจำเป็น
setupstringจำเป็น
boundarystringจำเป็น
example_requeststringจำเป็น
resultstringจำเป็น
choicestringจำเป็น
skipstring | nullจำเป็น
guidancestring
current_stepstringจำเป็น
enum: "connect", "business", "identity", "sending"
completed_countintegerจำเป็น
total_stepsintegerจำเป็น
enum: 4
setupobject
ด่านตั้งค่าบนเว็บและแบนเนอร์ทำการตั้งค่าให้เสร็จ แต่ละส่วนเป็น complete, verifying (เพิ่มระเบียนโดเมนแล้ว ยังตรวจ DNS), skipped หรือ missing
connectstringจำเป็น
enum: "complete", "skipped", "missing"
brandstringจำเป็น
enum: "complete", "skipped", "missing"
domainstringจำเป็น
enum: "complete", "verifying", "skipped", "missing"
gate_openbooleanจำเป็น
True ขณะที่แบรนด์หรือโดเมนยังไม่เสร็จและยังไม่ข้าม
missingarrayจำเป็น
ส่วนที่ข้ามหรือยังไม่เคยทำเสร็จ
แต่ละรายการstring
enum: "connect", "brand", "domain"
unlock_video_dueboolean
True ตั้งแต่ยืนยันโดเมนจนพื้นที่ทำงานดูวิดีโอ "สิ่งที่ทำได้ตอนนี้" แล้ว
agent_client_namestring | null
แอป AI ที่เชื่อมต่อ
completebooleanจำเป็น
shared_education_completeboolean
outcomestringจำเป็น
enum: "in_progress", "production_deferred", "production_ready"
recommended_actionstringจำเป็น
readinessobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมboolean
progressobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
stepsarrayจำเป็น
แต่ละรายการobject
idstringจำเป็น
titlestringจำเป็น
explanationstring
statusstringจำเป็น
enum: "not_started", "in_progress", "waiting", "needs_attention", "complete", "skipped"
blocking_dependencystring | null
recommended_actionstring
actionsarrayจำเป็น
แต่ละรายการstring
resource_idsarrayจำเป็น
แต่ละรายการstring
evidenceobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/guided' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'x-banger-product-id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "begin_guidance",
"data": {}
}'
GET/v1/workspaces/{workspaceId}/onboarding/agent-state
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สถานะเริ่มต้นปัจจุบันที่เซิร์ฟเวอร์ดูแล
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
limitationsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
oneOf 2null
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
prioritystringจำเป็น
enum: "required", "recommended"
reasonstringจำเป็น
sourcestringจำเป็น
enum: "dns", "business_context", "opportunity_plan", "banger_recommendation"
setup_modestringจำเป็น
enum: "oauth", "secure_credentials"
availablebooleanจำเป็น
provider_keystring
evidencearrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
domain_bundleobject | nullจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
growthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
activationobjectจำเป็น
modestringจำเป็น
enum: "hosted", "company_domain", "starter"
statusstringจำเป็น
enum: "hosted_mailbox_required", "hosted_mailbox_proving", "hosted_mailbox_ready", "needs_context", "needs_provisioning", "provisioning", "dns_required", "ready_for_proof", "proving", "activated", "starter_required", "starter_proving", "starter_ready"
domainstring | nullจำเป็น
sending_domain_idstring | nullจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
mailbox_addressstring | nullจำเป็น
format: "email"
exact_dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checkpointsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "domain", "provider", "infrastructure", "dns", "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
lanesobjectจำเป็น
mailboxobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactionalobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketingobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
proofไม่ได้ระบุจำเป็น
oneOf 1object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
command_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
round_trip_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_body_textstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
received_message_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_thread_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
received_body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
received_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
agent_labelstring
ละส่วนที่ซ้อนลึกกว่านี้
agent_suggested_actionstring
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
native_domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
marketing_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "receiving", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactional_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3null
overall_readybooleanจำเป็น
production_readybooleanจำเป็น
completedbooleanจำเป็น
pendingbooleanจำเป็น
next_actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
action_requiredobjectจำเป็น
typestringจำเป็น
requiredbooleanจำเป็น
actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
urlstring | nullจำเป็น
format: "uri"
instructionsstring | nullจำเป็น
secure_urlstring | nullจำเป็น
format: "uri"
mcp_urlstringจำเป็น
format: "uri"
dashboard_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/start
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
entry_surfacestringจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser"
client_namestring
minLength: 1 · maxLength: 100
การตอบกลับสำเร็จ 200
เริ่มหรือดำเนินเส้นทางต่อแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
limitationsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
oneOf 2null
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
prioritystringจำเป็น
enum: "required", "recommended"
reasonstringจำเป็น
sourcestringจำเป็น
enum: "dns", "business_context", "opportunity_plan", "banger_recommendation"
setup_modestringจำเป็น
enum: "oauth", "secure_credentials"
availablebooleanจำเป็น
provider_keystring
evidencearrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
domain_bundleobject | nullจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
growthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
activationobjectจำเป็น
modestringจำเป็น
enum: "hosted", "company_domain", "starter"
statusstringจำเป็น
enum: "hosted_mailbox_required", "hosted_mailbox_proving", "hosted_mailbox_ready", "needs_context", "needs_provisioning", "provisioning", "dns_required", "ready_for_proof", "proving", "activated", "starter_required", "starter_proving", "starter_ready"
domainstring | nullจำเป็น
sending_domain_idstring | nullจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
mailbox_addressstring | nullจำเป็น
format: "email"
exact_dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checkpointsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "domain", "provider", "infrastructure", "dns", "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
lanesobjectจำเป็น
mailboxobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactionalobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketingobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
proofไม่ได้ระบุจำเป็น
oneOf 1object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
command_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
round_trip_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_body_textstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
received_message_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_thread_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
received_body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
received_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
agent_labelstring
ละส่วนที่ซ้อนลึกกว่านี้
agent_suggested_actionstring
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
native_domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
marketing_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "receiving", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactional_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3null
overall_readybooleanจำเป็น
production_readybooleanจำเป็น
completedbooleanจำเป็น
pendingbooleanจำเป็น
next_actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
action_requiredobjectจำเป็น
typestringจำเป็น
requiredbooleanจำเป็น
actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
urlstring | nullจำเป็น
format: "uri"
instructionsstring | nullจำเป็น
secure_urlstring | nullจำเป็น
format: "uri"
mcp_urlstringจำเป็น
format: "uri"
dashboard_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/start' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"entry_surface": "codex",
"client_name": "example"
}'
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/aha-one
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ดำเนินกล่องจดหมายที่โฮสต์และหลักฐานเดิมต่อแล้ว
application/json
valueobject
dataobjectจำเป็น
proof_idstringจำเป็น
format: "uuid"
mailbox_idstringจำเป็น
format: "uuid"
mailbox_addressstringจำเป็น
format: "email"
command_idstringจำเป็น
format: "uuid"
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
send_completebooleanจำเป็น
receive_completebooleanจำเป็น
round_trip_check_completebooleanจำเป็น
agent_check_completebooleanจำเป็น
completebooleanจำเป็น
expected_subjectstringจำเป็น
expected_body_textstringจำเป็น
received_message_idstring
format: "uuid"
received_thread_idstring
format: "uuid"
received_subjectstring
received_body_textstring
received_atstring
format: "date-time"
agent_labelstring
agent_suggested_actionstring
error_codestring
replayedbooleanจำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/aha-one' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/agent-proof
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สิทธิ์ OAuth เดิมเรียกหลักฐานซ้ำหรือทำเสร็จแล้ว
application/json
valueobject
dataobjectจำเป็น
statusstringจำเป็น
enum: "pending", "verified"
attempt_idstringจำเป็น
format: "uuid"
oauth_grant_idstringจำเป็น
oauth_client_idstring | nullจำเป็น
client_namestring | nullจำเป็น
mailbox_idstringจำเป็น
format: "uuid"
mailbox_addressstringจำเป็น
format: "email"
expected_subjectstringจำเป็น
initiated_atstringจำเป็น
format: "date-time"
command_idstring
format: "uuid"
send_statusstring
dispatch_statusstring
enum: "completed", "already-running", "already-settled"
replayedboolean
message_idstring
format: "uuid"
thread_idstring
format: "uuid"
received_atstring
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/agent-proof' \
--header "Authorization: Bearer $BANGER_API_KEY"
PUT/v1/workspaces/{workspaceId}/onboarding/agent-state/decision
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
decisionstringจำเป็น
enum: "agent_connection_skipped", "goals_chosen", "domain_bundle_approved", "dns_computer_use_authorized", "dns_manual_selected", "dns_records_applied", "services_reviewed", "persistent_mcp_acknowledged", "autopilot_proposed", "autopilot_skipped", "autopilot_activated", "intro_video_seen", "unlock_video_seen"
detailsobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
บันทึกตัวเลือกในเส้นทางหลักแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
limitationsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
oneOf 2null
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
prioritystringจำเป็น
enum: "required", "recommended"
reasonstringจำเป็น
sourcestringจำเป็น
enum: "dns", "business_context", "opportunity_plan", "banger_recommendation"
setup_modestringจำเป็น
enum: "oauth", "secure_credentials"
availablebooleanจำเป็น
provider_keystring
evidencearrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
domain_bundleobject | nullจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
growthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
activationobjectจำเป็น
modestringจำเป็น
enum: "hosted", "company_domain", "starter"
statusstringจำเป็น
enum: "hosted_mailbox_required", "hosted_mailbox_proving", "hosted_mailbox_ready", "needs_context", "needs_provisioning", "provisioning", "dns_required", "ready_for_proof", "proving", "activated", "starter_required", "starter_proving", "starter_ready"
domainstring | nullจำเป็น
sending_domain_idstring | nullจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
mailbox_addressstring | nullจำเป็น
format: "email"
exact_dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checkpointsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "domain", "provider", "infrastructure", "dns", "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
lanesobjectจำเป็น
mailboxobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactionalobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketingobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
proofไม่ได้ระบุจำเป็น
oneOf 1object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
command_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
round_trip_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_body_textstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
received_message_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_thread_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
received_body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
received_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
agent_labelstring
ละส่วนที่ซ้อนลึกกว่านี้
agent_suggested_actionstring
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
native_domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
marketing_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "receiving", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactional_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3null
overall_readybooleanจำเป็น
production_readybooleanจำเป็น
completedbooleanจำเป็น
pendingbooleanจำเป็น
next_actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
action_requiredobjectจำเป็น
typestringจำเป็น
requiredbooleanจำเป็น
actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
urlstring | nullจำเป็น
format: "uri"
instructionsstring | nullจำเป็น
secure_urlstring | nullจำเป็น
format: "uri"
mcp_urlstringจำเป็น
format: "uri"
dashboard_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/decision' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"decision": "agent_connection_skipped",
"details": {}
}'
PUT/v1/workspaces/{workspaceId}/onboarding/agent-state/domain-choice
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
choicestringจำเป็น
enum: "company_domain", "no_domain"
domainstring
minLength: 3 · maxLength: 253
การตอบกลับสำเร็จ 200
บันทึกการตัดสินใจโดเมนและดำเนินเส้นทางต่อแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
limitationsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
oneOf 2null
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
prioritystringจำเป็น
enum: "required", "recommended"
reasonstringจำเป็น
sourcestringจำเป็น
enum: "dns", "business_context", "opportunity_plan", "banger_recommendation"
setup_modestringจำเป็น
enum: "oauth", "secure_credentials"
availablebooleanจำเป็น
provider_keystring
evidencearrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
domain_bundleobject | nullจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
growthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
activationobjectจำเป็น
modestringจำเป็น
enum: "hosted", "company_domain", "starter"
statusstringจำเป็น
enum: "hosted_mailbox_required", "hosted_mailbox_proving", "hosted_mailbox_ready", "needs_context", "needs_provisioning", "provisioning", "dns_required", "ready_for_proof", "proving", "activated", "starter_required", "starter_proving", "starter_ready"
domainstring | nullจำเป็น
sending_domain_idstring | nullจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
mailbox_addressstring | nullจำเป็น
format: "email"
exact_dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checkpointsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "domain", "provider", "infrastructure", "dns", "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
lanesobjectจำเป็น
mailboxobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactionalobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketingobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
proofไม่ได้ระบุจำเป็น
oneOf 1object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
command_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
round_trip_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_body_textstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
received_message_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_thread_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
received_body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
received_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
agent_labelstring
ละส่วนที่ซ้อนลึกกว่านี้
agent_suggested_actionstring
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
native_domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
marketing_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "receiving", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactional_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3null
overall_readybooleanจำเป็น
production_readybooleanจำเป็น
completedbooleanจำเป็น
pendingbooleanจำเป็น
next_actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
action_requiredobjectจำเป็น
typestringจำเป็น
requiredbooleanจำเป็น
actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
urlstring | nullจำเป็น
format: "uri"
instructionsstring | nullจำเป็น
secure_urlstring | nullจำเป็น
format: "uri"
mcp_urlstringจำเป็น
format: "uri"
dashboard_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/domain-choice' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"choice": "company_domain",
"domain": "example"
}'
PUT/v1/workspaces/{workspaceId}/onboarding/agent-state/context
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
company_domainstring
สะพานรองรับตัวเชื่อมต่อที่แคชไว้ก่อน chooseAgentOnboardingDomain เอเจนต์ยังต้องถามผู้ใช้ก่อน
minLength: 3 · maxLength: 253
client_namestring
minLength: 1 · maxLength: 100
การตอบกลับสำเร็จ 200
รับบริบทแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
limitationsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
oneOf 2null
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
prioritystringจำเป็น
enum: "required", "recommended"
reasonstringจำเป็น
sourcestringจำเป็น
enum: "dns", "business_context", "opportunity_plan", "banger_recommendation"
setup_modestringจำเป็น
enum: "oauth", "secure_credentials"
availablebooleanจำเป็น
provider_keystring
evidencearrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
domain_bundleobject | nullจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
growthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
activationobjectจำเป็น
modestringจำเป็น
enum: "hosted", "company_domain", "starter"
statusstringจำเป็น
enum: "hosted_mailbox_required", "hosted_mailbox_proving", "hosted_mailbox_ready", "needs_context", "needs_provisioning", "provisioning", "dns_required", "ready_for_proof", "proving", "activated", "starter_required", "starter_proving", "starter_ready"
domainstring | nullจำเป็น
sending_domain_idstring | nullจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
mailbox_addressstring | nullจำเป็น
format: "email"
exact_dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checkpointsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "domain", "provider", "infrastructure", "dns", "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
lanesobjectจำเป็น
mailboxobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactionalobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketingobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
proofไม่ได้ระบุจำเป็น
oneOf 1object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
command_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
round_trip_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_body_textstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
received_message_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_thread_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
received_body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
received_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
agent_labelstring
ละส่วนที่ซ้อนลึกกว่านี้
agent_suggested_actionstring
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
native_domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
marketing_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "receiving", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactional_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3null
overall_readybooleanจำเป็น
production_readybooleanจำเป็น
completedbooleanจำเป็น
pendingbooleanจำเป็น
next_actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
action_requiredobjectจำเป็น
typestringจำเป็น
requiredbooleanจำเป็น
actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
urlstring | nullจำเป็น
format: "uri"
instructionsstring | nullจำเป็น
secure_urlstring | nullจำเป็น
format: "uri"
mcp_urlstringจำเป็น
format: "uri"
dashboard_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/context' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"context": {},
"company_domain": "example",
"client_name": "example"
}'
PUT/v1/workspaces/{workspaceId}/onboarding/agent-state/plan
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
opportunitiesarrayจำเป็น
minItems: 1 · maxItems: 100
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 200
รับแผนโอกาสแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
limitationsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
oneOf 2null
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
prioritystringจำเป็น
enum: "required", "recommended"
reasonstringจำเป็น
sourcestringจำเป็น
enum: "dns", "business_context", "opportunity_plan", "banger_recommendation"
setup_modestringจำเป็น
enum: "oauth", "secure_credentials"
availablebooleanจำเป็น
provider_keystring
evidencearrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
domain_bundleobject | nullจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
growthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
activationobjectจำเป็น
modestringจำเป็น
enum: "hosted", "company_domain", "starter"
statusstringจำเป็น
enum: "hosted_mailbox_required", "hosted_mailbox_proving", "hosted_mailbox_ready", "needs_context", "needs_provisioning", "provisioning", "dns_required", "ready_for_proof", "proving", "activated", "starter_required", "starter_proving", "starter_ready"
domainstring | nullจำเป็น
sending_domain_idstring | nullจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
mailbox_addressstring | nullจำเป็น
format: "email"
exact_dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checkpointsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "domain", "provider", "infrastructure", "dns", "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
lanesobjectจำเป็น
mailboxobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactionalobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketingobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
proofไม่ได้ระบุจำเป็น
oneOf 1object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
command_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
round_trip_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_body_textstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
received_message_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_thread_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
received_body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
received_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
agent_labelstring
ละส่วนที่ซ้อนลึกกว่านี้
agent_suggested_actionstring
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
native_domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
marketing_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "receiving", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactional_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3null
overall_readybooleanจำเป็น
production_readybooleanจำเป็น
completedbooleanจำเป็น
pendingbooleanจำเป็น
next_actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
action_requiredobjectจำเป็น
typestringจำเป็น
requiredbooleanจำเป็น
actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
urlstring | nullจำเป็น
format: "uri"
instructionsstring | nullจำเป็น
secure_urlstring | nullจำเป็น
format: "uri"
mcp_urlstringจำเป็น
format: "uri"
dashboard_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/plan' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"opportunities": [
{}
]
}'
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/apply
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
บันทึกสรุปการนำไปใช้แล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
limitationsarrayจำเป็น
แต่ละรายการstring
ละส่วนที่ซ้อนลึกกว่านี้
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
oneOf 2null
recommended_connectionsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
categorystringจำเป็น
enum: "email", "customer", "product", "work", "data"
prioritystringจำเป็น
enum: "required", "recommended"
reasonstringจำเป็น
sourcestringจำเป็น
enum: "dns", "business_context", "opportunity_plan", "banger_recommendation"
setup_modestringจำเป็น
enum: "oauth", "secure_credentials"
availablebooleanจำเป็น
provider_keystring
evidencearrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
domain_bundleobject | nullจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
growthobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
activationobjectจำเป็น
modestringจำเป็น
enum: "hosted", "company_domain", "starter"
statusstringจำเป็น
enum: "hosted_mailbox_required", "hosted_mailbox_proving", "hosted_mailbox_ready", "needs_context", "needs_provisioning", "provisioning", "dns_required", "ready_for_proof", "proving", "activated", "starter_required", "starter_proving", "starter_ready"
domainstring | nullจำเป็น
sending_domain_idstring | nullจำเป็น
format: "uuid"
mailbox_idstring | nullจำเป็น
format: "uuid"
mailbox_addressstring | nullจำเป็น
format: "email"
exact_dns_recordsarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
lane_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
providerstringจำเป็น
enum: "banger", "resend"
ละส่วนที่ซ้อนลึกกว่านี้
purposestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "TXT", "MX", "CNAME"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
priorityinteger | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
requiredbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "verified", "error"
ละส่วนที่ซ้อนลึกกว่านี้
provider_statusstringจำเป็น
enum: "pending", "verified", "error", "not_applicable"
ละส่วนที่ซ้อนลึกกว่านี้
first_observed_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
last_checked_atstring | nullจำเป็น
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
errorobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
provider_referencestring | nullจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
checkpointsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
enum: "domain", "provider", "infrastructure", "dns", "mailbox", "product", "broadcast"
ละส่วนที่ซ้อนลึกกว่านี้
labelstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
lanesobjectจำเป็น
mailboxobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactionalobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketingobjectจำเป็น
statusstringจำเป็น
enum: "pending", "working", "action_required", "verified"
ละส่วนที่ซ้อนลึกกว่านี้
detailstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
proofไม่ได้ระบุจำเป็น
oneOf 1object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
command_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "sent", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
round_trip_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
expected_body_textstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
received_message_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_thread_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
received_subjectstring
ละส่วนที่ซ้อนลึกกว่านี้
received_body_textstring
ละส่วนที่ซ้อนลึกกว่านี้
received_atstring
format: "date-time"
ละส่วนที่ซ้อนลึกกว่านี้
agent_labelstring
ละส่วนที่ซ้อนลึกกว่านี้
agent_suggested_actionstring
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2object
proof_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
native_domain_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_idstringจำเป็น
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
mailbox_addressstringจำเป็น
format: "email"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
marketing_send_intent_idstring
format: "uuid"
ละส่วนที่ซ้อนลึกกว่านี้
transactional_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_subjectstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
phasestringจำเป็น
enum: "sending", "receiving", "received", "checked", "failed"
ละส่วนที่ซ้อนลึกกว่านี้
send_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
transactional_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
marketing_receivedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
receive_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
agent_check_completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
completebooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
error_codestring
ละส่วนที่ซ้อนลึกกว่านี้
replayedbooleanจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 3null
overall_readybooleanจำเป็น
production_readybooleanจำเป็น
completedbooleanจำเป็น
pendingbooleanจำเป็น
next_actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
action_requiredobjectจำเป็น
typestringจำเป็น
requiredbooleanจำเป็น
actionstringจำเป็น
enum: "choose_agent", "provision_hosted_mailbox", "send_aha_1", "wait_for_aha_1", "offer_custom_domain", "review_domain_bundle", "provision_domain_bundle", "wait_for_dns_records", "ask_computer_use_permission", "configure_dns_with_computer_use", "present_manual_dns_instructions", "wait_for_dns_propagation", "send_aha_2", "wait_for_aha_2", "create_starter_mailbox", "run_starter_proof", "wait_for_starter_proof", "collect_business_context", "build_lifecycle_map", "review_growth_system", "connect_required_services", "explain_persistent_mcp", "offer_autopilot", "activate_autopilot", "validate", "complete", "open_dashboard"
urlstring | nullจำเป็น
format: "uri"
instructionsstring | nullจำเป็น
secure_urlstring | nullจำเป็น
format: "uri"
mcp_urlstringจำเป็น
format: "uri"
dashboard_urlstringจำเป็น
format: "uri"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/apply' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"summary": {}
}'
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/plan/approve
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
ผู้ดูแลพื้นที่ทำงานที่ยืนยันตัวตนอนุมัติแผนโอกาสแล้ว
application/json
valueobject
dataไม่ได้ระบุจำเป็น
allOf 1object
workspace_idstringจำเป็น
format: "uuid"
statusstringจำเป็น
enum: "choose_agent", "discovering", "planning", "implementing", "validating", "ready", "complete"
entry_surfacestring | nullจำเป็น
enum: "codex", "chatgpt", "claude", "grok", "other_agent", "browser", null
agent_statusstringจำเป็น
enum: "not_connected", "connecting", "connected", "browser_only"
agent_client_namestring | nullจำเป็น
domain_choicestringจำเป็น
enum: "undecided", "company_domain", "no_domain"
company_domainstring | nullจำเป็น
domain_chosen_atstring | nullจำเป็น
format: "date-time"
business_contextobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
opportunity_planarrayจำเป็น
แต่ละรายการobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
implementation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
validation_summaryobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
journey_metadataobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
context_reviewed_atstring | nullจำเป็น
format: "date-time"
plan_proposed_atstring | nullจำเป็น
format: "date-time"
plan_approved_atstring | nullจำเป็น
format: "date-time"
completed_atstring | nullจำเป็น
format: "date-time"
versionintegerจำเป็น
format: "int64" · minimum: 1
updated_atstringจำเป็น
format: "date-time"
allOf 2object
domain_discoveryไม่ได้ระบุจำเป็น
oneOf 1object
domainstringจำเป็น
scan_statusstringจำเป็น
enum: "complete", "partial", "failed"
companyobjectจำเป็น
domainstringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
website_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
website_statusstringจำเป็น
enum: "available", "missing", "blocked", "error"
ละส่วนที่ซ้อนลึกกว่านี้
company_namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
summarystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
audiencestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
offeringsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
logo_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
favicon_urlstring | nullจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
visual_identityobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
source_snapshotobjectจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
dns_signalsarrayจำเป็น
แต่ละรายการobject
ละส่วนที่ซ้อนลึกกว่านี้
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
ละส่วนที่ซ้อนลึกกว่านี้
provider_detectionsarrayจำเป็น