User Login CURL Unauthorized

Description

trying to login using restful api
/api/v1/login

but get HTTP/1.1 401 Unauthorized
{“status”:“error”,“message”:"Match error: Unknown key in field “user”}

sending data exactly in format recommended in doc

-d "user=my@email.com&password=mypassword"

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information