You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Incident creation using REST API - mailbox issue

Received Response
edited Jun 8, 2022 8:55AM in Agent Desktop 1 comment


Hi All,

I am creating an incident using Rest api in right now  . When  my incident gets created the mail box value is null. But i have set [email protected] as my default mailbox in right now. So whenever i create a incident manually it gets assigned to default mailbox.

please find by request body below:

Now whether i want to add mailbox details also to request body while creating an incident.


Service cloud

Code Snippet

   "primaryContact": {
   "subject": "JSON test",
   "customFields": {
	 "c": {
      "reservation_num": "123",
      "lang": "English"
   "category": {
	   "lookupName": "Fares"
   "threads": {
     "contentType": {
       "lookupName": "text/plain"

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!