Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in unsubscribes API example for getting a single unsubscribe #652

Open
provinzkraut opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@provinzkraut
Copy link
Contributor

provinzkraut commented Jul 7, 2023

The example response to view a single unsubscribes contains the tag field, holding a single string, whereas the API actually returns this data as the tags field, as an array of strings.

Example:

{
  "address": "[email protected]",
  "tag": "*",
  "created_at": "Fri, 21 Oct 2011 11:02:55 GMT"
}

What the API actually returns:

{
  "address": "[email protected]",
  "tags": ["*"],
  "created_at": "Fri, 21 Oct 2011 11:02:55 GMT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant