Change an account's Discord webhook and keyword filters
Change the Discord webhook and keyword filters for one tracked account. Omitted fields keep their saved value.
PATCH
/api/account-settingsAuthorization
AuthorizationstringheaderrequiredBearer authentication with your TweetStream API key:Bearer <key>.
Body
accountstringrequireddiscordWebhookstring | nulloptionalAhttps://discord.com/api/webhooks/...orhttps://discordapp.com/api/webhooks/...URL, ornullto use the global webhook.keywordsstring[]optionalSkip this account's posts whose text contains any of these words.
Response fields
accountstringrequireddiscordWebhookstring | nullrequiredkeywordsstring[]required
Responses
- 200Success
- 400Invalid request
- 401Missing or invalid API key
- 403The authenticated account cannot use this capability
- 404The requested resource was not found
- 500The request could not be completed