Sample requests These sample requests are autogenerated by the OpenAPI spec. This endpoint requires one or more parameters in the URL: those are offset in curly-braces.
import requests
url = "https://api.buttondown.com/v1/emails/ {id} /history"
headers = {
"accept" : "application/json" ,
"authorization" : "Token $BUTTONDOWN_API_KEY"
}
response = requests.get(url, headers =headers)
print (response.text)
Sample responses The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
OK (200)
Forbidden (403)
Not Found (404)
Conflict (409)
{
"results" : [
{
"history_id" : 123 ,
"creation_date" : "2000-01-01T00:00:00+00:00" ,
"value" : "I really hope you enjoy it!" ,
"user_id" : null ,
"user" : null
}
],
"count" : 1
}
Path parameters Consult the Filtering documentation for more information on how to filter and sort your requests.
expand Type
array
Description
If provided, expand the given field.
field Type
string · required