REST API
The REST API allows you to control and extend Rocket.Chat with ease.
If you are an end-user and not a dev or a tester, create a New Feature Request to request new APIs -- and consider making a donation to the project.
All API calls in the documentation are made using curl. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.

Production Security Concerns

When calling a production Rocket.Chat server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login API over HTTPS. Also, few things to note:
    Only call via HTTPS
    Implement a timed authorization token expiration strategy
    Ensure the calling user only has permissions for what they are calling and no more

Language-specific wrappers

Language
Wrapper
PHP
Python
Ruby
Clojure
Golang
Last modified 1mo ago