Skip to docs content
Browse and search
On this page

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-settings

Authorization

  • AuthorizationstringheaderrequiredBearer authentication with your TweetStream API key: Bearer <key>.

Body

  • accountstringrequired
  • discordWebhookstring | nulloptionalA https://discord.com/api/webhooks/... or https://discordapp.com/api/webhooks/... URL, or null to use the global webhook.
  • keywordsstring[]optionalSkip this account's posts whose text contains any of these words.

Response fields

  • accountstringrequired
  • discordWebhookstring | nullrequired
  • keywordsstring[]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