How to Create Docusign envelop using service Now rest Message

Community Alums
Not applicable

Hi,

i want to create docusign envelope from servicenow rest message.i'am attaching file to the rest message and sending request.below is my request.

--AAA

Content-Type: application/json

Content-Disposition: form-data

{

  "emailBlurb": "Email Blurb",

  "emailSubject": "Please sign",

  "documents": [

      {

          "name": "Mutual_NDA.pdf",

          "documentId": "1"

      }

  ],

  "recipients": {

      "signers": [

          {

              "deliveryMethod": "Email",

              "routingOrder": "1",

              "recipientId": "1",

              "name": "Rajenddra Prasad Darshanam",

              "email": "xxxxxxxxxxxx@gmail.com"

          }

      ]

  },

  "status": "sent",

  "messageLock": "true"

}

--AAA

Content-Type: application/pdf

Content-Disposition: file; documentId="1"

<documents removed>

--AAA--

1 ACCEPTED SOLUTION

Community Alums
Not applicable

HI all,


        fixed the issue by providing   file as base64 bits as base64 formart.


View solution in original post

23 REPLIES 23

Hi Rajendra



When I am creating a rest message what is the endpoint that should be specified.



Because when i am specifying https://demo.docusign.net/restapi/v2/accounts/3562733 as end pint it is only getting adefault get as HHTP methoid and I am not getting any post methods.  



Am I doing something wrong



Thanks


Vijay


Kumar96
Kilo Contributor

I am using Oauth2 and I am able to get the token


Hi Ankur,

 

Can you share me the steps how you integrated with DocuSign. My requirement is same as yours i.e Call API once user clicks on UI Action. All the documents will be sent over via API call.

 

Regards,

Bhavin

Hey Bhavin, do you still need help with the DocuSign integration? I was able to setup mine using their REST API to create envelopes. 

Hi Igomez,

can you help me on Docusign Integration., if you are interested to hep me kindly share doc to me: Chanikya.karthik@gmail.com