Get automatic seeding settings
/v1/email/inbox-insights/automatic-seeding// Requires inbox_insights:read permission in the target workspace.
const settings = await bird.email.seeding.settings.get();
console.log(settings.enabled, settings.revision, settings.trigger_address);# Requires inbox_insights:read permission in the target workspace.
settings = client.email.seeding.settings.get()
print(settings.model_dump_json())// Requires inbox_insights:read permission in the target workspace.
client, err := bird.NewClient(option.WithAPIKey(os.Getenv("BIRD_API_KEY")))
if err != nil {
log.Fatal(err)
}
ctx := context.Background()
settings, err := client.Email.Seeding.Settings.Get(ctx)
if err != nil {
log.Fatal(err)
}
fmt.Println(settings)// Requires inbox_insights:read permission in the target workspace.
$settings = $bird->email->seeding->settings->get();
var_dump($settings);bird email seeding settings getcurl -X GET "https://us1.platform.bird.com/v1/email/inbox-insights/automatic-seeding" \
-H "Authorization: Bearer $TOKEN"{
"revision": 3,
"trigger_address": "4f9a2c7e1b8d4a60935ce7f2b1d0a8c3@seeds.bird.com",
"enabled": true,
"list_type": "private",
"engagement_profile": "all",
"regions": [
"North America - US"
]
}
Read settings and the trigger address for this workspace. Requires Inbox Insights read permission. Before initial setup, the revision is zero and the trigger address is absent.
Antwort-Payload
revisionCurrent settings revision. Supply it when updating settings. Initialize settings before rotating the trigger address.
trigger_addressWorkspace trigger address for seeding examples. Absent before the first settings update. Using it requires authenticated sending access to this workspace; the address itself grants no access.
enabledSaved automatic-seeding preference.
list_typeWhich pool of seed addresses a test uses. Which pools an account can use depends on what has been provisioned for it, so read the usable set from the seed-test options rather than assuming these are the only values.
Possible values (may grow over time): private, public, exclusive
engagement_profileWhich engagement behaviour the seed addresses simulate. all mixes engaged and dormant seeds, which is what makes an engagement split measurable; single-cohort profiles exist too, and the usable set comes from the seed-test options rather than from this list.
Possible values (may grow over time): all, engaging, non_engaging
regionsSaved regions to place seeds in, as regions[].value names from GET /v1/email/inbox-insights/seed-tests/configuration. They are not checked against that list when saved.
Verwandte Ressourcen
Weiter mit der Dokumentation, Anleitungen und Beispielen zu diesem Thema.