2018-04-17 00:41:30 +02:00
|
|
|
# The Zulip REST API
|
|
|
|
|
|
|
|
The Zulip REST API powers the Zulip web and mobile apps, so anything
|
|
|
|
you can do in Zulip, you can do with Zulip's REST API. To use this API:
|
|
|
|
|
|
|
|
* You'll need to [get an API key](/api/api-keys). You will likely
|
2018-09-26 04:28:29 +02:00
|
|
|
want to [create a bot](/help/add-a-bot-or-integration), unless you're
|
|
|
|
using the API to interact with
|
2024-07-04 12:14:37 +02:00
|
|
|
your own account (e.g., exporting your personal message history).
|
2018-04-17 00:41:30 +02:00
|
|
|
* Choose what language you'd like to use. You can download the
|
2019-11-19 18:21:24 +01:00
|
|
|
[Python or JavaScript bindings](/api/installation-instructions), projects in
|
|
|
|
[other languages](/api/client-libraries), or
|
2022-01-24 16:55:05 +01:00
|
|
|
just make HTTP requests with your favorite programming language.
|
|
|
|
* If you're making your own HTTP requests, you'll want to send the
|
|
|
|
appropriate [HTTP basic authentication headers](/api/http-headers).
|
2018-04-17 00:41:30 +02:00
|
|
|
* The Zulip API has a standard
|
2018-05-05 23:25:02 +02:00
|
|
|
[system for reporting errors](/api/rest-error-handling).
|
2018-04-17 00:41:30 +02:00
|
|
|
|
|
|
|
Most other details are covered in the documentation for the individual
|
|
|
|
endpoints:
|
|
|
|
|
2019-01-22 03:23:26 +01:00
|
|
|
!!! tip ""
|
2021-09-10 00:44:29 +02:00
|
|
|
|
2019-01-22 03:23:26 +01:00
|
|
|
You may use the `client.call_endpoint` method of our Python API
|
|
|
|
bindings to call an endpoint that isn't documented here. For an
|
|
|
|
example, see [Upload a custom emoji](/api/upload-custom-emoji).
|
|
|
|
|
2018-05-14 15:40:24 +02:00
|
|
|
{!rest-endpoints.md!}
|
2018-04-17 00:41:30 +02:00
|
|
|
|
|
|
|
Since Zulip is open source, you can also consult the
|
|
|
|
[Zulip server source code](https://github.com/zulip/zulip/) as a
|
|
|
|
workaround for how to do anything not documented here.
|