プロダクト
GET/v1/workspaces/{workspaceId}/products
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 202
プロダクトは利用停止中で、事前に復元しなければdelete_afterに完全削除されます。冪等な再実行では同じ結果を返します。
application/json
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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}/drafts
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
成功レスポンス。
application/json
valueobject
dataarray必須
各項目object
idstring必須
format: "uuid"
mailbox_idstring必須
format: "uuid"
thread_idstring | null必須
format: "uuid"
versioninteger必須
toarray必須
各項目object
emailstring必須
namestring
ccarray必須
各項目object
emailstring必須
namestring
bccarray必須
各項目object
emailstring必須
namestring
subjectstring必須
body_textstring必須
statusstring必須
created_atstring必須
format: "date-time"
updated_atstring必須
format: "date-time"
attachmentsarray必須
各項目object
idstring必須
format: "uuid"
filenamestring必須
content_typestring必須
size_bytesinteger必須
sha256string
created_atstring
format: "date-time"
body_html_urlstring
format: "uri"
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
mailbox_idstring必須
format: "uuid"
thread_idstring
format: "uuid"
toarray
maxItems: 500
各項目object
namestring
emailstring必須
format: "email"
ccarray
maxItems: 500
各項目object
namestring
emailstring必須
format: "email"
bccarray
maxItems: 500
各項目object
namestring
emailstring必須
format: "email"
subjectstring
maxLength: 10000
body_textstring
maxLength: 2000000
body_htmlstring
maxLength: 2000000
成功レスポンス 201
成功レスポンス。
application/json
valueobject
dataobject必須
idstring必須
format: "uuid"
mailbox_idstring必須
format: "uuid"
thread_idstring | null必須
format: "uuid"
versioninteger必須
toarray必須
各項目object
emailstring必須
namestring
ccarray必須
各項目object
emailstring必須
namestring
bccarray必須
各項目object
emailstring必須
namestring
subjectstring必須
body_textstring必須
statusstring必須
created_atstring必須
format: "date-time"
updated_atstring必須
format: "date-time"
attachmentsarray必須
各項目object
idstring必須
format: "uuid"
filenamestring必須
content_typestring必須
size_bytesinteger必須
sha256string
created_atstring
format: "date-time"
body_html_urlstring
format: "uri"
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の到達率実績、健全性、インシデント。
application/json
valueobject
dataobject必須
idstring必須
format: "uuid"
mailbox_idstring必須
format: "uuid"
thread_idstring | null必須
format: "uuid"
versioninteger必須
toarray必須
各項目object
emailstring必須
namestring
ccarray必須
各項目object
emailstring必須
namestring
bccarray必須
各項目object
emailstring必須
namestring
subjectstring必須
body_textstring必須
statusstring必須
created_atstring必須
format: "date-time"
updated_atstring必須
format: "date-time"
attachmentsarray必須
各項目object
idstring必須
format: "uuid"
filenamestring必須
content_typestring必須
size_bytesinteger必須
sha256string
created_atstring
format: "date-time"
body_html_urlstring
format: "uri"
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
value未指定
allOf 1object
追加プロパティなし
mailbox_idstring必須
format: "uuid"
thread_idstring
format: "uuid"
toarray
maxItems: 500
各項目object
namestring
emailstring必須
format: "email"
ccarray
maxItems: 500
各項目object
namestring
emailstring必須
format: "email"
bccarray
maxItems: 500
各項目object
namestring
emailstring必須
format: "email"
subjectstring
maxLength: 10000
body_textstring
maxLength: 2000000
body_htmlstring
maxLength: 2000000
allOf 2object
versioninteger必須
minimum: 1
成功レスポンス 200
成功レスポンス。
application/json
valueobject
dataobject必須
idstring必須
format: "uuid"
mailbox_idstring必須
format: "uuid"
thread_idstring | null必須
format: "uuid"
versioninteger必須
toarray必須
各項目object
emailstring必須
namestring
ccarray必須
各項目object
emailstring必須
namestring
bccarray必須
各項目object
emailstring必須
namestring
subjectstring必須
body_textstring必須
statusstring必須
created_atstring必須
format: "date-time"
updated_atstring必須
format: "date-time"
attachmentsarray必須
各項目object
idstring必須
format: "uuid"
filenamestring必須
content_typestring必須
size_bytesinteger必須
sha256string
created_atstring
format: "date-time"
body_html_urlstring
format: "uri"
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
呼び出し元がアクセスできるメールボックスから下書きを送信します。送信に承認が必要な呼び出し元には、代わりに承認待ちを返します。下書きを直接送信できる人が判断します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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ではありません。購読、送信抑止、ID、ソース履歴は変更しません。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
attributesobject必須
追加プロパティ任意の値
成功レスポンス 200
現在の連絡先の読み戻し。この変更が適用済みの場合、replayedはtrueです。
application/json
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
}
]
}'
オーディエンス
POST/v1/workspaces/{workspaceId}/audience/lists
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
contact_idsarray必須
maxItems: 1000
各項目string
format: "uuid"
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
contact_idsarray必須
maxItems: 1000
各項目string
format: "uuid"
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
namestring必須
minLength: 1 · maxLength: 200
filterobject必須
追加プロパティなし
statusstring
enum: "subscribed", "unsubscribed", "bounced", "complained"
attributesobject
追加プロパティ任意の値
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
選択式質問には選択肢が必要です。他の質問型では選択肢を指定できません。キーは一意で、予約フォームフィールドを使えません。省略キーはラベルから生成します。
追加プロパティなし
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
未保存のデザインをサンプル値またはオーディエンス値でレンダリングし、プレースホルダーの不足を報告します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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}
1つのデザインとインラインHTML、差し込みコンテンツ、有効なスロット。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
保存デザインをサンプル値またはオーディエンス値でレンダリングし、プレースホルダーの不足を報告します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
一斉配信を保存する前に確認する、オーディエンスが埋められない必須プレースホルダー。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 200
成功レスポンス。
application/json
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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のリストを少なくとも1つ選択します。
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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のリストを少なくとも1つ選択します。
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
成功レスポンス。
application/json
valueobject
dataarray必須
各項目object
idstring必須
typestring必須
occurred_atstring必須
format: "date-time"
actor_idstring | null必須
detailobject必須
追加プロパティ任意の値
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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のリストを少なくとも1つ選択します。
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を返します。ワークスペースの受信者閾値を適用するため、キャンペーンレビューのエンドポイントを使ってください。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス
契約に成功レスポンスの指定はありません。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
namestring必須
minLength: 1 · maxLength: 200
mailbox_idstring必須
format: "uuid"
audienceobject必須
全購読連絡先、または空でないcontact_ids、list_ids、segment_idsのリストを少なくとも1つ選択します。
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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
予約日時からこの秒数後に未送信受信者を破棄します。既定は7日です。
minimum: 1 · maximum: 604800
content_overridesobject
追加プロパティstring
maxLength: 20000
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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のリストを少なくとも1つ選択します。
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のリストを少なくとも1つ選択します。
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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のリストを少なくとも1つ選択します。
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のリストを少なくとも1つ選択します。
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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のリストを少なくとも1つ選択します。
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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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"
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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のリストを少なくとも1つ選択します。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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のリストを少なくとも1つ選択します。
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
翻訳中のオーディエンス言語が一斉配信を止めることはありません。該当読者には翻訳完成時に送信し、送信から1日以内に完成しなければスキップします(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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正規の読み戻し、または冪等な受領情報。プロバイダー受付はsentです。deliveredには配信イベントが必要で、受信トレイへの到達を証明するものではありません。
application/json
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
さらに深い入れ子は省略
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
さらに深い入れ子は省略
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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オブジェクトは1階層統合し、stepsは指定ツリーを置換します。古い編集を拒否するにはexpected_versionを含めます。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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}
アーカイブにより既定リストからジャーニーを除き、有効な登録を停止します。送信履歴は保持します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
一方向の変換です。メールステップが1つのジャーニーはcontractを指定します。分岐を含む複数メールでは、各メールに正確に1つの保存済みstep_idと準備済みHTML/Liquid契約を持つstep_contentsを指定します。変換は原子的で、ジャーニーを下書きにします。各新管理コンテンツ版には個別の管理下公開レビューがあります。変換中にメールは送信・公開しません。Bangerはソースコードをインポートも実行もしません。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
同じ変換の冪等な再実行。
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を指定します。選択した下書きまたは公開済みの不変コンテンツ版を使います。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 200
レンダリングした件名、HTML、プレーンテキスト、ロケール、リビジョンID、抽出警告。
application/json
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となり、送信はレンダリングされず、保留中の一斉配信は取り消されます。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
順序付きタイムライン、レンダリングしたメール詳細、scope、シミュレーション警告。登録結果には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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
action_kind sequence.enroll、payload {sequence_id, contact_ids, sequence_version?, sequence_definition_sha256?}を使うPOST /approvalsの別名。同じIdempotency-Keyを使うため、同じキーはどちらのルートでも同じ承認を返します。campaigns:sendとプロダクトが必要です。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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未指定
受信者がこのメールを受け取った言語、またはtranslating中に待っている言語。
さらに深い入れ子は省略
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
ジャーニーを通じて1通送信します。reply_toの既定はジャーニーのメールボックスで、空のリストも既定を意味します。拒否(4xx)では受信者用の凍結データは残らず、新しい冪等キーで修正して呼び出すと送信されます。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
to未指定
to、cc、bcc、reply_toの受信者: アドレス("a@example.com"または"Pat <a@example.com>")、{ email, name }オブジェクト、または両方を混在させたリスト。Bangerはメールを小文字にした{ email, name }オブジェクトとして保存します。冪等ハッシュは送信時の本文を対象とするため、同じ形式で再試行してください。
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 }オブジェクトとして保存します。冪等ハッシュは送信時の本文を対象とするため、同じ形式で再試行してください。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
各人は1回だけ参加します。完了後の再参加を許可するには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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
メールステップの型付きソース契約と下書き・公開リビジョンID。
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)を設定すると、元の開始からその時間後に延期送信を破棄します。既定は7日です。
追加プロパティ任意の値
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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}
不変リビジョンから再構築し、両ソースハッシュを承認スナップショットと照合します。ロケールの上書きは受け付けません。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
ハッシュ検証済みの完全な変更前後の件名、HTML、プレーンテキスト。
application/json
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キーによる保存デザイン、固定管理リビジョン)からサンプル個人設定でレンダリングし、稼働中ジャーニーは使いません。スナップショットが参照するオーディエンスリスト、セグメント、トリガー・ゴール接続の名前も示します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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とpayload {content_id, expected_version}を使います。ソース版・ハッシュを紐付け、必要に応じて人のレビューを必須にします。汎用承認種別は常に保留で、summary、capabilities、resourcesが必要です。mail.draftとtransactional.sendのpayloadではto、cc、bcc、reply_toは任意のRecipientInput形式を受け付け、{ email, name }オブジェクトとして保存します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
プロダクト限定の未決承認数。
application/json
valueobject
dataobject必須
追加プロパティなし
pendinginteger必須
minimum: 0
missedinteger必須
minimum: 0
totalinteger必須
minimum: 0
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
正確な承認リクエストと紐付く操作payload。
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キーは承認を判断できません。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
decisionstring必須
enum: "approved", "rejected"
reasonstring
maxLength: 500
expected_payload_sha256string
レビュアーに表示した正確な承認payloadのハッシュ。不一致は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
保留中の承認を実行せず取り消します。人のブラウザーセッションのみ。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
reasonstring
maxLength: 500
成功レスポンス 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
判断期限を逃した承認を閉じます。人のブラウザーセッションのみ。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
期限を逃した承認を新しい判断期間で複製し、旧リクエストを取り消します。人のブラウザーセッションのみ。
認証: Bearerワークスペース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/{approvalId}/rerequest' \
--header "Authorization: Bearer $BANGER_API_KEY"
POST/v1/workspaces/{workspaceId}/approvals/{approvalId}/revise
保留中の管理下Banger操作を、新たに正規化した承認に置換します。旧リクエストは取消として履歴に残ります。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
payloadobject必須
追加プロパティ任意の値
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
送信・公開はしません。翻訳準備には言語ごとの料金はありません。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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必須
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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に変更してから、ジャーニーをレビュー・有効化、または一斉配信を予約します。既存の受付済み送信と予約一斉配信受信者は固定版を保持します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 200
決定的な件名、プリヘッダー、HTML、派生プレーンテキスト、ロケール、方向。
application/json
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
翻訳再試行をキューに入れました。
application/json
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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必須
ジャーニーメールは受信者自身の言語でのみ送信します。領収書、コード、セキュリティ通知は約1分、他のメールは最大1日翻訳を待ち、その時点で未完成なら送信しません。
追加プロパティなし
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 }}スロットを1つ含む必要があります。
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が必要です。修正文は任意です。この操作ではソースを公開しません。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
source_revision_idstring必須
format: "uuid"
expected_translation_sha256string必須
pattern: "^[a-f0-9]{64}$"
stringsobject
追加プロパティstring
成功レスポンス 200
レビュー済みカタログと新しいSHA-256。
application/json
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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 }}スロットを1つ含む必要があります。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 200
復元済み下書き状態。
application/json
valueobject
dataobject必須
idstring必須
format: "uuid"
namestring必須
versioninteger必須
minimum: 1
review_requiredboolean必須
draft_revision_idstring | null
format: "uuid"
submitted_revision_idstring | null
format: "uuid"
approved_revision_idstring | null
format: "uuid"
published_revision_idstring | null
format: "uuid"
published_publication_idstring | null
format: "uuid"
source_revisionobject
追加プロパティ任意の値
translationsarray
各項目object
追加プロパティ任意の値
translation_jobsarray
各項目object
追加プロパティ任意の値
curlの例
curl --request POST --globoff 'https://api.bangermail.com/v1/workspaces/{workspaceId}/managed-content/{contentId}/restore' \
--header "Authorization: Bearer $BANGER_API_KEY" \
--header 'X-Banger-Product-Id: 00000000-0000-4000-8000-000000000001' \
--header 'Content-Type: application/json' \
--data-raw '{
"source_revision_id": "00000000-0000-4000-8000-000000000001",
"expected_version": 1
}'
トリアージルール
GET/v1/workspaces/{workspaceId}/triage-rules
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
受信メールのトリアージルールを作成します(全プラン。有効ルールはプラン枠に算入)。When = description(Jevが判断)および/またはexact_conditionsおよび/またはhas_label_ids、Then = actions。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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に一致する最近のスレッド。読み取り専用でスコアは返しません。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 202
成功レスポンス。
application/json
valueobject
dataobject必須
queued_threadsinteger必須
daysinteger必須
labels_onlyboolean必須
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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でのみ編集できます。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 204
トリアージルールを削除しました。
レスポンス本文なし。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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の接続は即座に移行を開始します(startMailchimpMigrationと同様)。レスポンスは
最初のレポートを`mailchimp_migration`に含みます。display_nameがなければ、Mailchimp接続は
"Mailchimp (Acme Inc)"などアカウント名で命名されます。すでに接続済みのMailchimpアカウントを
接続すると409 `mailchimp_account_already_connected`と`error.details.connection_id`を返します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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"
mailchimp_migrationobject
1つの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のセグメント、テンプレート、キャンペーン1件の移行先。
mailchimp_idstring必須
セグメント: <audience id>:<segment id>。テンプレートとキャンペーン: Mailchimpのid。
becamestring必須
enum: "segment", "contact_list", "template", "needs_rebuild"
idstring
Bangerのセグメント
format: "uuid"
namestring必須
reasonstring
セグメントが静的リストのままになった理由
dropped_merge_tagsarray
Bangerに相当するものがなくデザインから除いたMailchimp差し込みタグ(差し込みフィールド条件は最初の分岐を保持し、ここに列挙します)。
各項目string
replaced_footerboolean
Mailchimpのフッター部分(ブラウザー表示、設定、住所、バッジ)はプロダクトのブランドフッターになりました。
removed_linksarray
フッター外のMailchimp専用ページ(ブラウザー表示など)への削除済みリンクを、その文言で表示。
各項目string
links_to_fillarray
Mailchimpで空だったリンク。各リンクはデザインのURLスロットとなり、送信前に入力が必要です。
各項目object
keystring必須
さらに深い入れ子は省略
labelstring必須
さらに深い入れ子は省略
kept_editsboolean
再実行時にBangerでの編集を検出し、デザインをそのまま残しました。
templatesarray必須
各項目object
Mailchimpのセグメント、テンプレート、キャンペーン1件の移行先。
mailchimp_idstring必須
セグメント: <audience id>:<segment id>。テンプレートとキャンペーン: Mailchimpのid。
becamestring必須
enum: "segment", "contact_list", "template", "needs_rebuild"
idstring
Bangerのセグメント
format: "uuid"
namestring必須
reasonstring
セグメントが静的リストのままになった理由
dropped_merge_tagsarray
Bangerに相当するものがなくデザインから除いたMailchimp差し込みタグ(差し込みフィールド条件は最初の分岐を保持し、ここに列挙します)。
各項目string
replaced_footerboolean
Mailchimpのフッター部分(ブラウザー表示、設定、住所、バッジ)はプロダクトのブランドフッターになりました。
removed_linksarray
フッター外のMailchimp専用ページ(ブラウザー表示など)への削除済みリンクを、その文言で表示。
各項目string
links_to_fillarray
Mailchimpで空だったリンク。各リンクはデザインのURLスロットとなり、送信前に入力が必要です。
各項目object
keystring必須
さらに深い入れ子は省略
labelstring必須
さらに深い入れ子は省略
kept_editsboolean
再実行時にBangerでの編集を検出し、デザインをそのまま残しました。
campaignsarray必須
各項目object
Mailchimpのセグメント、テンプレート、キャンペーン1件の移行先。
mailchimp_idstring必須
セグメント: <audience id>:<segment id>。テンプレートとキャンペーン: Mailchimpのid。
becamestring必須
enum: "segment", "contact_list", "template", "needs_rebuild"
idstring
Bangerのセグメント
format: "uuid"
namestring必須
reasonstring
セグメントが静的リストのままになった理由
dropped_merge_tagsarray
Bangerに相当するものがなくデザインから除いたMailchimp差し込みタグ(差し込みフィールド条件は最初の分岐を保持し、ここに列挙します)。
各項目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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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}/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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
domainstring必須
プロダクトの正確なドメインまたはサブドメイン。既定ではBangerが3つの独立したレーンサブドメインを生成します。
minLength: 3 · maxLength: 253
setup_modestring
シンプル設定は、選択メールボックスアドレスでの送受信に1つのメールボックス転送を用意し、一斉配信とジャーニーも含みます。詳細設定は独立した送信レーンを用意します。
default: "advanced" · enum: "simple", "advanced"
mailbox_modestring
シンプル設定はメールボックス接頭辞がなければルート、詳細設定はサブドメインが既定です。サブドメインは既存ドメインメールを保持します。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
BangerがこのドメインのDNSでResendを検出済みで、選択プロダクトに有効接続がある場合のみ受け付けます。それ以外ではクライアントは表示してはいけません。
追加プロパティなし
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
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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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}' \
--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}
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
Banger IDと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"
Webhook
GET/v1/workspaces/{workspaceId}/webhooks
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
ワークスペースのWebhookエンドポイント。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
kindstring必須
enum: "outbound", "inbound"
namestring必須
minLength: 1 · maxLength: 120
source_keystring
banger_apiはPOST /eventsが作成するWebhook用に予約されています。
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
SupabaseプロジェクトURL。
format: "uri"
mailbox_idstring
Supabase Authメールに使う有効なBanger送信アドレス。
format: "uuid"
template_idsobject
各Supabase Authメール操作に選択するBangerテンプレート。
追加プロパティなし
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
Webhookを作成しました。送信署名シークレットは一度表示します。受信認証情報の選択肢は認可された呼び出し元が再表示できます。
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
Authorizationヘッダーと併用する公開受信URL。
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}
無効化は配信または受信自動化イベントを止め、Webhook、名前、履歴を保持します。受信Webhookの無効化は接続も無効にするため、それをトリガーとするジャーニーは再有効化までイベントを受け取りません。完全に除去するには削除してください。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 200
Webhookを再有効化または無効化しました。
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}
送信エンドポイントは配信履歴ごと削除します。受信Webhookは接続ごと削除し、アーカイブ済みを含む全ジャーニーがその接続をトリガー・ゴールに使っていない場合のみ可能です。残したまま停止するには、代わりにstatusをdisabledにPATCHします。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 204
Webhookを削除しました。
レスポンス本文なし。
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が必要です。リソースを作成・ローテーションせず、同じシークレットを返します。このレスポンスをキャッシュやログに保存しないでください。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 200
非公開ソースURL、公開Webhook 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
Authorizationヘッダーと併用する公開受信URL。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
Web設定ゲートと設定完了バナー。各部分は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
送信先は認可ユーザーの検証済み登録アドレスのみです。ジャーニーは無効、一斉配信は未送信のままです。既存の移行承認境界を適用します。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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、IDフィールドは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
Web設定ゲートと設定完了バナー。各部分は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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
summaryobject必須
追加プロパティ任意の値
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
summaryobject
追加プロパティ任意の値
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
mailbox_idstring必須
format: "uuid"
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
native_domain_idstring必須
format: "uuid"
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
application/json
valueobject
追加プロパティなし
domainstring必須
minLength: 3 · maxLength: 253
stream_kindstring
default: "default" · enum: "default", "transactional", "marketing"
成功レスポンス 201
公開DNSとWebサイトの検出を完了し、保存しました。
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
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文 必須
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スコープが必要です。
認証: BearerワークスペースAPIキー。
パラメーター
リクエスト本文
契約にリクエスト本文の指定はありません。
成功レスポンス 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"