We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

What is the default limit for request body for inbout and outbound?

shabbir5
Tera Guru

Hi All,

 

can you please help me on blow quries

 

1) What is the default and maximum size limit of request body for outbound and inbound rest API

 

2)maximum size limit for attachment getting attached in servicenow

 

@Ankur Bawiskar  , please provide your inputs

 

Regards,

Shabbir Shaik

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

https://www.servicenow.com/docs/r/xanadu/api-reference/rest-api-explorer/r_ControllingMaxRequestSize...

The attachment size can be changed via properties.

 

ServiceNow attachment properties, found under System Properties > Security, control file upload limits, allowed file types, and security settings across the platform. Key properties include com.snc.attachment.max_size (max size in MB), glide.attachment.extensions (comma-separated allowed extensions), and glide.attachment.role for access control

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Tanushree Maiti
Giga Sage

Hi @shabbir5 

 

As per this Servicenow KB Article ,

Inbound content size depends on glide.rest.max_content_length property

   which is defaulted at 10MB, min is 1MB, max is 25MB

 

Screenshot 2026-02-26 215148.jpg

 

com.glide.attachment.max_size" sets the maximum size of an attachment in an Outbound API request ( ref:https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0747638)

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@shabbir5 

For attachment, check these links

-> com.glide.attachment.max_size -> tells max file size you can attach in MB

How to change the maximum attachment size for records 

Configure attachment system properties 

For outbound and inbound check this

-> as such no hard-coded maximum body size for outbound REST/SOAP requests

Controlling maximum request size -> for inbound

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader