The Rocket.Chat REST API will generate success and error responses to an API request and provide further details to fix the errors. Here is a summary to help you understand some of the responses and how you can fix the errors.
Status codes | Description |
---|---|
| The API request is successfully processed. |
| In most cases, the request cannot be processed due to missing mandatory parameters or incorrect formats. Ensure you enter the values for all the required parameters in the correct format. |
| The request cannot be authenticated as the user ID or authentication token is invalid. Use the authentication endpoint to generate the token. |
| The user is not authorized to perform the action. Make sure that you assign the required permissions to the users. |