ผลิตภัณฑ์
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
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จำเป็น
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
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จำเป็น
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
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จำเป็น
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
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
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จำเป็น
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
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จำเป็น
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จำเป็น
format: "email"
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp"
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จำเป็น
format: "email"
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp"
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"
}'
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จำเป็น
format: "email"
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp"
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จำเป็น
format: "email"
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp"
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จำเป็น
format: "email"
display_namestringจำเป็น
providerstringจำเป็น
enum: "gmail", "smtp"
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"
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}/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
จำเป็นเมื่อแถวที่นำเข้าใดสมัครรับข่าวสาร
rowsarrayจำเป็น
minItems: 1 · maxItems: 5000
แต่ละรายการobject
emailstringจำเป็น
format: "email"
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,
"rows": [
{
"email": "person@example.com",
"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
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
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
dataobjectจำเป็น
validbooleanจำเป็น
total_rowsintegerจำเป็น
valid_rowsintegerจำเป็น
errorsarrayจำเป็น
แต่ละรายการobject
rowintegerจำเป็น
codestringจำเป็น
messagestringจำเป็น
ตัวอย่าง 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",
"display_name": "example",
"attributes": {},
"status": "subscribed",
"consent_evidence": {
"source": "example",
"reference": "example",
"observed_at": "2026-01-01T00:00:00Z",
"statement": "example"
}
}
],
"consent_confirmed": true
}'
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", "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
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"
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"
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
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
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
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",
"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
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",
"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
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
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
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",
"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
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",
"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}/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
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"
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
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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
ละส่วนที่ซ้อนลึกกว่านี้
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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",
"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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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",
"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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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"
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"
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}/simulate
จำลองแบบอ่านอย่างเดียว ไม่ระบุ enrollment เพื่อดูตัวอย่างหลังเข้าร่วม หรือส่งสถานการณ์ทริกเกอร์ชัดเจนเพื่อตรวจคุณสมบัติรายชื่อติดต่อที่บันทึกปัจจุบัน หากมี enrollment จะได้ scope from_trigger และรายการไทม์ไลน์แรกมี kind enrollment ผู้รับที่ไม่ผ่านข้ามขั้นตอนเส้นทาง แต่แคมเปญอิสระที่เป็นไปได้ดำเนินต่อ assume_active จำลองการเปิดสมมติ ไม่ใช่การอนุมัติควบคุม ไม่จำลองการรับ/ตัดซ้ำเหตุการณ์ผู้ให้บริการ การส่งถึงและเวลาแฝงผู้ให้บริการ สถานะผู้รับในอดีต ทริกเกอร์ตั้งเวลาและอีเมลขาเข้า เส้นทาง API ที่ค้นพบใช้กระบวนการ upsert เริ่มต้นพิเศษ การระงับส่งภายหลังแยกต่างหาก เส้นทาง API ที่ใช้งานตรวจผู้รับที่บันทึกก่อน upsert รายชื่อติดต่อ จำลองลำดับนี้โดยไม่เขียน ผู้รับ API ที่ระงับจึงอาจมีรายการ enrollment ที่ผ่าน ตามด้วย exit/suppress โดยไม่มีการส่งที่เรนเดอร์ แคมเปญที่รอถูกยกเลิก
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
atstringจำเป็น
format: "date-time"
enrollment_idstring
content_statestring
default: "draft" · enum: "draft", "published"
localestring
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
communication_historyarray
การส่งหรือการจองก่อนหน้าสำหรับผู้รับจำลองนี้
maxItems: 10000
แต่ละรายการstring
format: "date-time"
contactobjectจำเป็น
emailstringจำเป็น
format: "email"
display_namestringจำเป็น
attributesobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
enrollmentobject
ความพยายามทริกเกอร์ที่ไม่บังคับ ณ เวลาประทับ at ระดับบนสุด รายชื่อติดต่อที่บันทึกใช้การสมัคร การระงับ และสมาชิกผู้รับปัจจุบัน รายชื่อติดต่อ API/เหตุการณ์สมมติต้องมีสถานะ subscribed และ suppressed=false ชัดเจน และผู้รับ all_subscribed
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
kindstringจำเป็น
enum: "manual", "api", "contact_created", "audience_joined", "event"
eventstring
maxLength: 200
assume_activeboolean
default: false
contact_statusstring
enum: "subscribed", "unsubscribed"
suppressedboolean
eventsarray
maxItems: 1000
แต่ละรายการobject
atstringจำเป็น
format: "date-time"
kindstringจำเป็น
enum: "attributes", "reply", "unsubscribe", "suppress", "goal"
attributesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
broadcastsarray
แคมเปญที่บันทึกและตั้งเวลา หรือรายการเนื้อหาที่จัดการซึ่งระบุชัด ประเมินบนไทม์ไลน์ผู้รับเดียวกัน
maxItems: 20
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
idstring
maxLength: 100
atstring
format: "date-time"
expires_atstring
format: "date-time"
campaign_idstring
format: "uuid"
content_idstring
format: "uuid"
source_revision_idstring
format: "uuid"
localestring
variablesobject
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
oneOf 1ไม่ได้ระบุ
oneOf 2ไม่ได้ระบุ
การตอบกลับสำเร็จ 200
ไทม์ไลน์เรียงลำดับ รายละเอียดอีเมลที่เรนเดอร์ ขอบเขต และคำเตือนจำลอง ผลเข้าร่วมมี eligible, eligible_assuming_activation, trigger_mismatch, event_mismatch, journey_not_active_or_reviewed, contact_unsubscribed, recipient_hash_missing, contact_suppressed, outside_journey_audience, already_enrolled, contact_predates_enrollment_scan, saved_contact_required, contact_state_unverified และ audience_unverified รายละเอียดระบุทริกเกอร์และแหล่งสถานะรายชื่อติดต่อ และอาจบอกว่ารันไทม์ปัจจุบันไม่ประเมินเงื่อนไขทริกเกอร์ที่บันทึก ผู้รับแคมเปญที่บันทึกและเข้าคิวส่งแล้วได้ already_queued ส่วน already_sent สงวนสำหรับการส่งที่รับแล้ว
application/json
valueobject
dataobjectจำเป็น
journey_idstringจำเป็น
format: "uuid"
journey_versionintegerจำเป็น
content_statestringจำเป็น
enum: "draft", "published"
scopestringจำเป็น
enum: "from_trigger", "after_enrollment"
communication_policy_versionintegerจำเป็น
timelinearrayจำเป็น
แต่ละรายการobject
atstringจำเป็น
format: "date-time"
step_idstring
format: "uuid"
kindstringจำเป็น
outcomestringจำเป็น
detailsไม่ได้ระบุ
หลักฐานจำลองเฉพาะผลลัพธ์
emailsarrayจำเป็น
แต่ละรายการobject
step_idstring | nullจำเป็น
format: "uuid"
namestringจำเป็น
armobject
split_step_idstring
format: "uuid"
keystringจำเป็น
labelstringจำเป็น
sourcestringจำเป็น
enum: "managed", "design", "inline", "empty"
statusstringจำเป็น
enum: "rendered", "blocked"
subjectstring
previewstring
codestring
messagestring
warningsarrayจำเป็น
แต่ละรายการstring
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/journeys/{journeyId}/simulate' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"at": "2026-01-01T00:00:00Z",
"enrollment_id": "example",
"content_state": "draft",
"locale": "example",
"variables": {},
"communication_history": [
"2026-01-01T00:00:00Z"
],
"contact": {
"email": "person@example.com",
"display_name": "example",
"attributes": {}
},
"enrollment": {
"kind": "manual",
"event": "example",
"assume_active": false,
"contact_status": "subscribed",
"suppressed": true
},
"events": [
{
"at": "2026-01-01T00:00:00Z",
"kind": "attributes",
"attributes": {}
}
],
"broadcasts": [
"example"
]
}'
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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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"
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
ส่งหนึ่งอีเมลผ่านเส้นทาง 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
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
การตอบกลับสำเร็จ 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
}'
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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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", "api"
connection_idstring
format: "uuid"
configobject
eventstring
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", "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 การเปิดใช้งานปฏิเสธการอ้างอิงที่ยังไม่เผยแพร่ ขั้นตอนอีเมลตั้ง 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
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"
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"
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"
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"
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"
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"
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"
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"
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}/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
}'
กฎ 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 (reading Mailchimp), copying_designs (templates and campaigns), finishing, completed, needs_new_key (Mailchimp rejected the API key; the move is paused until a new key is saved with rotateConnectionCredential), or disconnected (the connection was removed; everything already moved stays in Banger and the counts stay readable).
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
Present when needs_new_key or disconnected, ready to show.
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จำเป็น
แต่ละรายการ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/plan/approve' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/validate
การยืนยันตัวตน: คีย์ 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/validate' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"summary": {}
}'
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/complete
การยืนยันตัวตน: คีย์ 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 POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/complete' \
--header "Authorization: Bearer $BANGER_API_KEY"
GET/v1/workspaces/{workspaceId}/onboarding/starter-proof
การยืนยันตัวตน: คีย์ 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 GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/starter-proof?mailbox_id=00000000-0000-4000-8000-000000000001' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/onboarding/starter-proof
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 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/starter-proof' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"mailbox_id": "00000000-0000-4000-8000-000000000001"
}'
GET/v1/workspaces/{workspaceId}/onboarding/domain-proof
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
สถานะหลักฐานปัจจุบัน
application/json
valueobject
dataobjectจำเป็น
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จำเป็น
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/domain-proof' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/onboarding/domain-proof
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
การตอบกลับสำเร็จ 200
ดำเนินหลักฐานที่มีอยู่ต่อแล้ว
application/json
valueobject
dataobjectจำเป็น
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จำเป็น
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/domain-proof' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"native_domain_id": "00000000-0000-4000-8000-000000000001"
}'
PUT/v1/workspaces/{workspaceId}/onboarding/goal
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
goalstringจำเป็น
enum: "work_inbox", "product_email", "campaign", "company_workflow"
การตอบกลับสำเร็จ 200
เลือกผลลัพธ์แรกแล้ว และการทำงานแบบแนะนำอาจเปิดในโครงแอปผลิตภัณฑ์
application/json
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/goal' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"goal": "work_inbox"
}'
GET/v1/workspaces/{workspaceId}/onboarding/discovery
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การค้นหาบริษัทและระบบอีเมลปัจจุบัน
application/json
valueobject
dataobjectจำเป็น
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จำเป็น
แต่ละรายการstring
logo_urlstring | nullจำเป็น
format: "uri"
favicon_urlstring | nullจำเป็น
format: "uri"
visual_identityobjectจำเป็น
colorsarrayจำเป็น
maxItems: 6
แต่ละรายการstring
fontsarrayจำเป็น
maxItems: 6
แต่ละรายการstring
tonearrayจำเป็น
maxItems: 6
แต่ละรายการstring
source_confidencestringจำเป็น
enum: "high", "medium", "low"
hero_image_urlstring
format: "uri"
palettearrayจำเป็น
maxItems: 6
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
rolestringจำเป็น
enum: "primary", "accent", "background", "surface", "text", "other"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typographyarrayจำเป็น
maxItems: 6
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
familystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
rolestringจำเป็น
enum: "heading", "body", "mono", "other"
ละส่วนที่ซ้อนลึกกว่านี้
weightsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
assetsarrayจำเป็น
maxItems: 8
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
urlstringจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
kindstringจำเป็น
enum: "logo", "wordmark", "favicon", "hero"
ละส่วนที่ซ้อนลึกกว่านี้
sourcestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
brand_summarystringจำเป็น
imagery_stylearrayจำเป็น
maxItems: 6
แต่ละรายการstring
source_snapshotobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
dns_signalsarrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
valuestringจำเป็น
ttlintegerจำเป็น
minimum: 0
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
confidencestringจำเป็น
enum: "high", "medium", "low"
dashboard_urlstringจำเป็น
format: "uri"
evidencearrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
provider_detectionsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
namestringจำเป็น
categoriesarrayจำเป็น
แต่ละรายการstring
enum: "work_mailbox", "transactional", "marketing", "deliverability"
confidencestringจำเป็น
enum: "high", "medium", "low"
evidencearrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
kindstringจำเป็น
enum: "work_mailbox", "transactional", "marketing", "deliverability"
labelstringจำเป็น
statusstringจำเป็น
enum: "detected", "missing", "needs_review"
provider_keysarrayจำเป็น
แต่ละรายการstring
recommendationstringจำเป็น
enum: "connect", "setup_banger", "review"
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
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
capabilitystringจำเป็น
enum: "work_mailbox", "transactional", "marketing", "deliverability"
provider_keystring
actionstringจำเป็น
enum: "connect", "setup_banger", "review"
domainstring
minLength: 3 · maxLength: 253
limitationsarrayจำเป็น
แต่ละรายการstring
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request GET --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/discovery' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/onboarding/discovery
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
domainstringจำเป็น
minLength: 3 · maxLength: 253
stream_kindstring
default: "default" · enum: "default", "transactional", "marketing"
การตอบกลับสำเร็จ 201
ค้นหา DNS สาธารณะและเว็บไซต์เสร็จและบันทึกแล้ว
application/json
valueobject
dataobjectจำเป็น
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จำเป็น
แต่ละรายการstring
logo_urlstring | nullจำเป็น
format: "uri"
favicon_urlstring | nullจำเป็น
format: "uri"
visual_identityobjectจำเป็น
colorsarrayจำเป็น
maxItems: 6
แต่ละรายการstring
fontsarrayจำเป็น
maxItems: 6
แต่ละรายการstring
tonearrayจำเป็น
maxItems: 6
แต่ละรายการstring
source_confidencestringจำเป็น
enum: "high", "medium", "low"
hero_image_urlstring
format: "uri"
palettearrayจำเป็น
maxItems: 6
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
rolestringจำเป็น
enum: "primary", "accent", "background", "surface", "text", "other"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typographyarrayจำเป็น
maxItems: 6
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
familystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
rolestringจำเป็น
enum: "heading", "body", "mono", "other"
ละส่วนที่ซ้อนลึกกว่านี้
weightsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
assetsarrayจำเป็น
maxItems: 8
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
urlstringจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
kindstringจำเป็น
enum: "logo", "wordmark", "favicon", "hero"
ละส่วนที่ซ้อนลึกกว่านี้
sourcestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
brand_summarystringจำเป็น
imagery_stylearrayจำเป็น
maxItems: 6
แต่ละรายการstring
source_snapshotobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
dns_signalsarrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
valuestringจำเป็น
ttlintegerจำเป็น
minimum: 0
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
confidencestringจำเป็น
enum: "high", "medium", "low"
dashboard_urlstringจำเป็น
format: "uri"
evidencearrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
provider_detectionsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
namestringจำเป็น
categoriesarrayจำเป็น
แต่ละรายการstring
enum: "work_mailbox", "transactional", "marketing", "deliverability"
confidencestringจำเป็น
enum: "high", "medium", "low"
evidencearrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
kindstringจำเป็น
enum: "work_mailbox", "transactional", "marketing", "deliverability"
labelstringจำเป็น
statusstringจำเป็น
enum: "detected", "missing", "needs_review"
provider_keysarrayจำเป็น
แต่ละรายการstring
recommendationstringจำเป็น
enum: "connect", "setup_banger", "review"
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
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
capabilitystringจำเป็น
enum: "work_mailbox", "transactional", "marketing", "deliverability"
provider_keystring
actionstringจำเป็น
enum: "connect", "setup_banger", "review"
domainstring
minLength: 3 · maxLength: 253
limitationsarrayจำเป็น
แต่ละรายการstring
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/discovery' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "example",
"stream_kind": "default"
}'
PUT/v1/workspaces/{workspaceId}/onboarding/discovery
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ จำเป็น
application/json
valueobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
company_namestringจำเป็น
minLength: 1 · maxLength: 200
summarystringจำเป็น
minLength: 1 · maxLength: 4000
audiencestring
maxLength: 2000
offeringsarray
maxItems: 8
แต่ละรายการstring
maxLength: 120
website_urlstring | null
format: "uri"
connection_planarrayจำเป็น
maxItems: 30
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
capabilitystringจำเป็น
enum: "work_mailbox", "transactional", "marketing", "deliverability"
provider_keystring
actionstringจำเป็น
enum: "connect", "setup_banger", "review"
domainstring
minLength: 3 · maxLength: 253
การตอบกลับสำเร็จ 200
ยืนยันบริบทบริษัทและแผนเชื่อมต่อที่เสนอแล้ว
application/json
valueobject
dataobjectจำเป็น
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จำเป็น
แต่ละรายการstring
logo_urlstring | nullจำเป็น
format: "uri"
favicon_urlstring | nullจำเป็น
format: "uri"
visual_identityobjectจำเป็น
colorsarrayจำเป็น
maxItems: 6
แต่ละรายการstring
fontsarrayจำเป็น
maxItems: 6
แต่ละรายการstring
tonearrayจำเป็น
maxItems: 6
แต่ละรายการstring
source_confidencestringจำเป็น
enum: "high", "medium", "low"
hero_image_urlstring
format: "uri"
palettearrayจำเป็น
maxItems: 6
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
rolestringจำเป็น
enum: "primary", "accent", "background", "surface", "text", "other"
ละส่วนที่ซ้อนลึกกว่านี้
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typographyarrayจำเป็น
maxItems: 6
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
familystringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
rolestringจำเป็น
enum: "heading", "body", "mono", "other"
ละส่วนที่ซ้อนลึกกว่านี้
weightsarrayจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
assetsarrayจำเป็น
maxItems: 8
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
urlstringจำเป็น
format: "uri"
ละส่วนที่ซ้อนลึกกว่านี้
kindstringจำเป็น
enum: "logo", "wordmark", "favicon", "hero"
ละส่วนที่ซ้อนลึกกว่านี้
sourcestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
brand_summarystringจำเป็น
imagery_stylearrayจำเป็น
maxItems: 6
แต่ละรายการstring
source_snapshotobjectจำเป็น
พร็อพเพอร์ตีเพิ่มเติมค่าใดก็ได้
dns_signalsarrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
valuestringจำเป็น
ttlintegerจำเป็น
minimum: 0
dns_providerไม่ได้ระบุจำเป็น
oneOf 1object
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
keystringจำเป็น
namestringจำเป็น
confidencestringจำเป็น
enum: "high", "medium", "low"
dashboard_urlstringจำเป็น
format: "uri"
evidencearrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
oneOf 2null
provider_detectionsarrayจำเป็น
แต่ละรายการobject
keystringจำเป็น
namestringจำเป็น
categoriesarrayจำเป็น
แต่ละรายการstring
enum: "work_mailbox", "transactional", "marketing", "deliverability"
confidencestringจำเป็น
enum: "high", "medium", "low"
evidencearrayจำเป็น
แต่ละรายการobject
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
capability_summaryarrayจำเป็น
แต่ละรายการobject
kindstringจำเป็น
enum: "work_mailbox", "transactional", "marketing", "deliverability"
labelstringจำเป็น
statusstringจำเป็น
enum: "detected", "missing", "needs_review"
provider_keysarrayจำเป็น
แต่ละรายการstring
recommendationstringจำเป็น
enum: "connect", "setup_banger", "review"
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
namestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
typestringจำเป็น
enum: "MX", "TXT", "CNAME", "NS"
ละส่วนที่ซ้อนลึกกว่านี้
valuestringจำเป็น
ละส่วนที่ซ้อนลึกกว่านี้
ttlintegerจำเป็น
minimum: 0
ละส่วนที่ซ้อนลึกกว่านี้
connection_planarrayจำเป็น
แต่ละรายการobject
ไม่มีพร็อพเพอร์ตีเพิ่มเติม
capabilitystringจำเป็น
enum: "work_mailbox", "transactional", "marketing", "deliverability"
provider_keystring
actionstringจำเป็น
enum: "connect", "setup_banger", "review"
domainstring
minLength: 3 · maxLength: 253
limitationsarrayจำเป็น
แต่ละรายการstring
scanned_atstringจำเป็น
format: "date-time"
confirmed_atstring | nullจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request PUT --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/discovery' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"company_name": "example",
"summary": "example",
"audience": "example",
"offerings": [
"example"
],
"website_url": "https://example.com",
"connection_plan": [
{
"capability": "work_mailbox",
"provider_key": "example",
"action": "connect",
"domain": "example"
}
]
}'
POST/v1/workspaces/{workspaceId}/onboarding/agent-state/confirm-connection
ต้องมีข้อมูลรับรอง OAuth ที่ติดตั้งในไคลเอนต์เอเจนต์ปัจจุบันและขอบเขต automation:read
การยืนยันตัวตน: คีย์ API พื้นที่ทำงานแบบ Bearer
พารามิเตอร์
เนื้อหาคำขอ
สัญญาไม่ได้ระบุเนื้อหาคำขอ
การตอบกลับสำเร็จ 200
การตอบกลับสำเร็จ
application/json
valueobject
dataobjectจำเป็น
statusstringจำเป็น
enum: "connected"
messagestringจำเป็น
workspace_idstringจำเป็น
format: "uuid"
client_namestringจำเป็น
confirmed_atstringจำเป็น
format: "date-time"
ตัวอย่าง curl
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/confirm-connection' \
--header "Authorization: Bearer $BANGER_API_KEY"