A single API request is limited to 50KB of text which equals 50K characters including spaces. If you plan to have larger requests, please consider splitting such requests in smaller chunks.

If you are holder of the Server solution, you can increase this limit using the AppServer parameter (AppServer parameters#MaxApiRequestSize).