Retrieves the body of a specific email's historical entry.
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/body/ {history_id} "
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)
{
"history_id" : 123 ,
"creation_date" : "2000-01-01T00:00:00+00:00" ,
"value" : "I really hope you enjoy it!" ,
"user_id" : null ,
"user" : null
}
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.