I can successfully use twurl to make requests that require authorization (twurl /1.1/account/verify_credentials.json works), but trying to get the Bearer token fails with
{“errors”:[{“code”:99,“message”:“Unable to verify your credentials”,“label”:“authenticity_token_error”}]}
The command I’m using is
twurl -d 'grant_type=client_credentials' /oauth2/token
The example at the end of the API documentation is weirdly formatted and doesn’t give any details on the authentication used.