Import a list of recipients
Adds up to 500 people to the address book of the key's team in one step, all or nothing, without mailing anyone. Add only: a row that matches someone already in the address book is counted as `existing` and that person is left unchanged (use the Note Composer's CSV import to merge). Rows missing a name or a full address are skipped and listed. Send `dry_run: true` first to see what would happen. The key's member needs a role that can change recipients, and the team's new recipients stay within 1000 in any 24 hours: a batch that would pass that adds nobody. The body may be up to 256 KB.
Adds up to 500 people to the address book of the key's team in one step, all or nothing, without mailing anyone. Add only: a row that matches someone already in the address book is counted as existing and that person is left unchanged (use the Note Composer's CSV import to merge). Rows missing a name or a full address are skipped and listed. Send dry_run: true first to see what would happen. The key's member needs a role that can change recipients, and the team's new recipients stay within 1000 in any 24 hours: a batch that would pass that adds nobody. The body may be up to 256 KB.
ApiKeyAuthAuthorizationBearer <API key (sg_live_...)>An API key from Settings.
application/json- body
rows*array<>1 <= items <= 500dry_run?booleanAnswer what would happen and add nobody.
falseA dry run, or nobody new to add.
application/json- response
data*curl -X POST 'https://composer.stylograph.ai/api/v1/recipients/import' \ -H 'Content-Type: application/json' \ -d '{ "rows": [ { "first_name": "string", "last_name": "string", "address_line1": "string", "city": "string", "state": "string", "zip": "string" } ]}'{ "data": { "dry_run": true, "added": 0, "existing": 0, "skipped": [ { "row": 0, "recipient": "string", "errors": { "property1": "string", "property2": "string" } } ], "recipient_ids": [ "bfa6ab48-642a-4965-a829-f20c353d1c93" ] }}One note, with its history and delivery estimate GET
Scope: `notes:read`. Someone else's note and an unknown id both answer 404.
The card backs a note can carry GET
The account's card backs that aren't archived, newest first, each with a preview signed for an hour. `is_default` marks the one a send gets when it leaves out `card_back_id`. Empty when card backs are off for the account. Scope: `notes:send`.