What is a env_name?



I might be asking a very silly question, but is env_name same as “Dev environment label” at https://developer.twitter.com/en/account/environments ?
In the document, when registering a webhook, $ curl --request POST
–url ‘https://api.twitter.com/1.1/account_activity/all/:ENV_NAME/webhooks.json?url=https%3A%2F%2Fyour_domain.com%2Fwebhook%2Ftwitter…’, I’m not sure what to put in as the “:ENV_NAME”


Hi @AdapterTest. No such thing as a silly question here.

You are correct! On the dev environments page you’ll need to name your environment, and where it shows ENV_NAME in the sample URL you’ll want to replace that with whatever you’ve named your environment as.

For example, I use prod as my dev environment name, so my URL looks something like this:





Thank you so much for the clarification!