Buttondown Documentation
Notes consist of two things:
model_type
and a model_id
. Model types are as follows:model_type | Description | Related model |
---|---|---|
automation | An automation workflow | Automation |
email | Email message | |
external_feed | External feed (e.g., RSS source) | ExternalFeed |
stripe_customer | Stripe customer record | StripeCustomer |
subscriber | A subscriber to your newsletter | Subscriber |
survey | A survey | Survey |
tag | Subscriber tag | SubscriberTag |
By creating a note programmatically, you can unlock a lot of interesting use cases and functionality. Here are some examples:
These sample requests are autogenerated by the OpenAPI spec.
The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
All parameters are optional unless explicitly specified.
The text content of the note.
"This subscriber upgraded to a paid plan."
The type of object this note is attached to (e.g., 'email', 'subscriber').
"email"
The ID of the object this note is attached to.
"13121cd6-0dfc-424c-bb12-988b0a32fcb3"
A structured key-value blob that you can use to store arbitrary data on the object. (You can read more about metadata.)