Comment
Comments are a way for subscribers to interact with newsletters. They're a way to provide feedback, ask questions, and generally engage with the content of an email. Comments exist in a tree structure; comments that reply to other comments are considered "children" of the parent comment.
Basic comment
{"creation_date": "2019-08-24T14:15:22Z","id": "497f6eca-6276-4993-bfeb-53cbbbba6f08","subscriber_id": "497f6eca-6276-4993-bfeb-53cbbbba6f08","email_id": "497f6eca-6276-4993-bfeb-53cbbbba6f08","body": "I really liked this email!","parent_id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}
field | type | description |
---|---|---|
id | string | |
email_id | string | |
subscriber_id | string | |
parent_id | string | |
text | string | |
creation_date | string | |
subscriber | Subscriber |
List Comments
curl
python
ruby
typescript
Copy to clipboard
import requestsheaders = {"Authorization": f"Token {BUTTONDOWN_API_KEY}",}BASE_URL = "https://api.buttondown.email"ENDPOINT = "/v1/comments"response = requests.get(f"{BASE_URL}{ENDPOINT}", headers=headers)
Parameters
parameter | type | description | optional |
---|---|---|---|
email_id | string | If provided, only return comments for the given email. | |
subscriber_id | string | If provided, only return comments for the given subscriber. | |
expand | string | If provided, expand the given field. (Only supported field: 'subscriber'). | |
ordering | unknown |
Responses
Status | Description | Sample Response |
---|---|---|
200 | OK |
|
403 | Forbidden |
|
409 | Conflict |
|