Drone api return environemnt value

Hello,

Is possible to an api endpoint return an environment value? For example, I want drone build number inside the returning payload that I’m receiving (inside $.params). Or there is a workaround to make this happen?

$ http POST "https://drone.ci/api/repos/test/repo/builds?STATUS_URL=https://drone.ci/api/repos/test/repo/builds/$DRONE_BUILD_NUMBER" 
HTTP/1.1 200 OK
{
    "action": "",
    "author_email": "test@gmail.com",
    "author_login": "test",
    "author_name": "test",
    "params": {
        "STATUS_URL": "https://drone.ci/api/repos/test/repo/builds/"
    },
    "ref": "refs/heads/master",
    "source_repo": "",
    "trigger": "test",
}

Thanks!