このページはAIにより自動翻訳されており、不正確な内容が含まれている可能性があります。翻訳の誤りを報告するには、ページ右側の目次の下にあるフィードバックをご利用ください。
2020年5月
Google Tag Manager
Google Tag Managerを使用したBrazeのAndroid SDKのデプロイと管理方法に関するドキュメントと例を追加しました。
新しいブラックリストメールAPIエンドポイント
Braze API経由でメールアドレスをブラックリスト化できるようになりました。メールアドレスをブラックリストに登録すると、そのユーザーはメールの配信停止となり、ハードバウンスとしてマークされます。
Braze APIエンドポイントのAPIキー変更
2020年5月より、BrazeはAPIキーの読み取り方法をより安全なものに変更しました。APIキーはリクエストヘッダーとして渡す必要があります。例は、各エンドポイントページのリクエスト例セクション、およびAPIキーの説明で確認できます。
Brazeは、リクエストボディおよびURLパラメータで渡されるapi_keyを引き続きサポートしますが、最終的には廃止される予定です(時期未定)。APIコールを適宜更新してください。これらの変更はPostman内で更新されています。
API Key Explanation
この例では、/email/hard_bouncesエンドポイントを使用しています。
導入前:リクエストボディのAPIキー
1
curl --location --request GET 'https://rest.iad-01.braze.com/email/hard_bounces?api_key={YOUR_REST_API_KEY}&start_date=2019-01-01&end_date=2019-02-01&limit=100&offset=1&[email protected]' \
現在:ヘッダーのAPIキー
1
2
curl --location --request GET 'https://rest.iad-01.braze.com/email/hard_bounces?start_date=2019-01-01&end_date=2019-02-01&limit=100&offset=1&[email protected]' \
--header 'Authorization: Bearer YOUR-REST-API-KEY'
この例では、/user/trackエンドポイントを使用しています。
導入前:リクエストボディのAPIキー
1
2
3
4
5
6
7
8
9
10
11
12
13
14
curl --location --request POST 'https://rest.iad-01.braze.com/users/track' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key": YOUR-API-KEY-HERE ,
"attributes": [
{
"external_id":"user_id",
"string_attribute": "sherman",
"boolean_attribute_1": true,
"integer_attribute": 25,
"array_attribute": ["banana", "apple"]
}
]
}'
現在:ヘッダーのAPIキー
1
2
3
4
5
6
7
8
9
10
11
12
13
14
curl --location --request POST 'https://rest.iad-01.braze.com/users/track' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR-REST-API-KEY' \
--data-raw '{
"attributes": [
{
"external_id":"user_id",
"string_attribute": "sherman",
"boolean_attribute_1": true,
"integer_attribute": 25,
"array_attribute": ["banana", "apple"]
}
]
}'
New Stuff!