{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"b9cfab6b-7fe8-4023-b631-d95aaf9bcbe4","name":"Rocket Lawyer API","description":"Using the **Rocket Lawyer REST API**, you can build legal applications by creating as well as customizing legal documents and getting them signed by relevant stakeholders.\n\nYou can see the example implementation of Rocket Lawyer API [here](https://partner-demo-app.ip.cicdv2.sandbox.rocketlawyer.com/partners/logo-ipsum).\n\n## **Rocket Lawyer offers the following APIs:**\n\n1. **Authentication API**\n    \n2. **RocketDocument API**\n    \n3. **RocketSign and Binders API**\n    \n4. **RocketCopilot API**\n    \n5. **Events API**\n    \n\nYou can also access the OpenAPI specification for these APIs in our [developer portal](https://developer.rocketlawyer.com/apis).\n\n### **Authentication API**\n\nRocket Lawyer API uses the credentials from your approved App to authenticate API requests.\n\n### **RocketDocument API**\n\nRocketDocument API lets you create and customize legal documents that are vetted by lawyers and legal staff, so your customers can use them with confidence.\n\nRocketDocument API makes it easy for the users (i.e. document owners) to fill the documents using an “interview” process. With the interview process, documents are made using a simple question-and-answer interview style where users provide information that is used to automatically build their document.\n\n### **RocketSign and Binders API**\n\nRocketSign & Binders API enables your customers to sign documents and invite others to sign. It also acts as a complement to the RocketDocument API by keeping track of completed documents and enabling document-related tasks such as printing and exporting.\n\nIn addition to signing, this API enables your customers to initial documents, date them, or add a text box for any additional information they may want to record. RocketSign & Binders API also supports management operations related to signing like adding or removing signers, repositioning sign boxes, and sending reminders to other signers.\n\nWhen used in complement with the RocketDocument API, this API also enables your customers to edit their document, rename it, share it, view its history, print it, and export it.\n\nRocketSign & Binders API can also be used on its own if you have your documents that you want signed.\n\n### RocketCopilot API\n\nRocketCopilot API lets you bring Rocket Lawyer–powered legal guidance into your own application, so your customers can get help with documents and legal questions without leaving your product.\n\nRocketCopilot API makes it easy for your customers to use conversational assistance and access to legal professionals—backed by Rocket Lawyer—while the experience stays embedded in your site or app.\n\n**Events API**\n\nEvents API includes the Rocket Lawyer Events that can be subscribed to, and that can be pulled using the Events API.\n\n# Getting Started\n\n## Step 1: Sign up\n\nBefore you get started with the RocketLawyer API, you will need to create a developer account at [Developer Portal](https://developer.rocketlawyer.com).\n\nTo create an account, click on the Developer Account in the top right corner of the page and then use your **company name** and **business email** to sign up.\n\nYou will be able to log in after **confirming your email address.**\n\nYou can also **create a team** if your colleagues will be working with you on the application.\n\n## Step 2: Create an app\n\nSimply create an app by going to the Apps section and clicking the `+NEW APP` button. Give your new app a name and append `-sandbox` for your testing app. Make sure to request permissions to the APIs that you plan to use. When you're all set, you can repeat the process and create a production app with `-production` in the name.\n\n**Once your App and API requests are approved**, you will be able to start using Rocket Lawyer APIs. Please note that some APIs are automatically approved but you still need your App to be approved internally before you start using them.\n\nPlease reach out to us if your app hasn’t been approved: [api@rocketlawyer.com](https://mailto:api@rocketlawyer.com)\n\n**Sandbox URL for the APIs**: [https://api-sandbox.rocketlawyer.com](https://api-sandbox.rocketlawyer.com)  \n**Production URL for the APIs:** [https://api.rocketlawyer.com](https://api.rocketlawyer.com)\n\n## Step 3: Authenticate\n\nTo call any Rocket Lawyer APIs that require authorization, it’s necessary to first authenticate your app through a request and the creation of an access token (bearer). **You will be have to approved** on the platform before you can call the Authentication API.\n\nAuthentication requests will be rejected if your App is not approved.\n\nRequests to authenticated APIs that do not include a valid access token will be rejected.\n\nGet your API key and secret by going to the App that you have created.\n\nThe header should include content-type application/JSON.\n\n## Step 4: Create a document and/or embed a sign\n\nAfter authenticating, you will be able to make calls to the core APIs and do one of the following:\n\n1. Create a document.\n    \n2. Create a document and embed signatures.\n    \n3. Use your document and embed signatures.\n    \n\nYou can see the example implementation [here](https://partner-demo-app.ip.cicdv2.sandbox.rocketlawyer.com/partners/logo-ipsum)\n\n## Postman Collection\n\nYou can copy the entire collection into your Postman Workspace by clicking `Run in Postman` located in the top right corner of this page. This collection includes a pre-configured Environment, you will need to set up your app's `api_key` and `api_secret` in the following variables to start using the APIs.\n\n## Environment Variables\n\n| Name | Description |\n| --- | --- |\n| `api_key` | The Api Key from your app. |\n| `api_secret` | The Api Secret from your app. |\n| `url` | The base url for the apis. Defaults to the sandbox url. |\n| `access_token` | The Access Token is generated from the Auth Request. Will be set automatically by the Authentication request. |\n| `service_token` | A scoped access token with purpose and restricted access. |\n| `upid` | Universal Party Identifier - Required for Binders (Sign API) not for other purposes |\n\nMore details about the `service_token` and the `upid` on the [Authentication API](#authentication-api) section.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"34830964","team":6191126,"collectionId":"b9cfab6b-7fe8-4023-b631-d95aaf9bcbe4","publishedId":"2sAXxV7WEc","public":true,"publicUrl":"https://docs.rocketlawyer.net","privateUrl":"https://go.postman.co/documentation/34830964-b9cfab6b-7fe8-4023-b631-d95aaf9bcbe4","customColor":{"top-bar":"990000","right-sidebar":"303030","highlight":"990000"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Unlock Efficient Legal Processes with RocketDocument and RocketSign APIs. Create and Customize Documents vetted by Lawyers and Legal Staff through the Interview Process with RocketDocument API. Seamlessly Sign, Initial, and Manage Documents using RocketSign and Binders API. Enhance Document Workflow and Signing."},{"name":"title","value":"Rocket Lawyer REST API: Effortlessly Build Legal Apps: Create, Customize and Sign Documents confidently."}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/17a5854c-3ff2-480e-80d9-fb067048a64d/cmwtbG9nby5wbmc=","colors":{"top-bar":"990000","right-sidebar":"303030","highlight":"ff0000"}},{"name":"light","logo":"https://content.pstmn.io/4c5b2c84-2e18-4a88-8c36-adfac5c567b3/cmwtbG9nby5wbmc=","colors":{"top-bar":"990000","right-sidebar":"303030","highlight":"990000"}}]}},"version":"8.10.1","publishDate":"2024-10-24T09:24:48.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Rocket Lawyer REST API: Effortlessly Build Legal Apps: Create, Customize and Sign Documents confidently.","description":"Unlock Efficient Legal Processes with RocketDocument and RocketSign APIs. Create and Customize Documents vetted by Lawyers and Legal Staff through the Interview Process with RocketDocument API. Seamlessly Sign, Initial, and Manage Documents using RocketSign and Binders API. Enhance Document Workflow and Signing."},"logos":{"logoLight":"https://content.pstmn.io/4c5b2c84-2e18-4a88-8c36-adfac5c567b3/cmwtbG9nby5wbmc=","logoDark":"https://content.pstmn.io/17a5854c-3ff2-480e-80d9-fb067048a64d/cmwtbG9nby5wbmc="}},"statusCode":200},"environments":[{"name":"(Public) Docs and Sign - Sandbox","id":"06db4531-0af9-4943-8faf-9bb39fec4cb6","owner":"34830964","values":[{"key":"url","value":"https://api-sandbox.rocketlawyer.com","enabled":true,"type":"default"},{"key":"api_key","value":"","enabled":true,"type":"secret"},{"key":"api_secret","value":"ADD YOUR API SECRET HERE","enabled":true,"type":"secret"},{"key":"access_token","value":"ACCESS TOKEN - GENERATED FROM AUTH REQUEST","enabled":true,"type":"secret"},{"key":"service_token","value":"SERVICE TOKEN - GENERATED FROM REQUEST WITH PURPOSE","enabled":true,"type":"secret"},{"key":"upid","value":"Universal Party Identifier - Required depending on the purpose.","enabled":true,"type":"default"},{"key":"template_id","value":"04d9d0ba-3113-40d3-9a4e-e7b226a72154","enabled":true,"type":"default"},{"key":"interview_id","value":"","enabled":true,"type":"default"},{"key":"template_cursor","value":"","enabled":true,"type":"any"},{"key":"answers_payload","value":"","enabled":true,"type":"any"},{"key":"scoped_access_token","value":"","enabled":true,"type":"secret"},{"key":"front_end_client_id","value":"ADD YOUR FRONT END CREDENTIALS","enabled":true,"type":"default"},{"key":"front_end_client_secret","value":"ADD YOUR FRONT END CREDENTIALS","enabled":true,"type":"default"},{"key":"binder_id","value":"","enabled":true,"type":"any"},{"key":"document_id","value":"","enabled":true,"type":"any"},{"key":"page_id","value":"","enabled":true,"type":"any"},{"key":"conversation_id","value":"","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/80d79fc72d7e9e524a6ae5620c6c305ab587525b275a7463b11a598a7305d881","favicon":"https://rocketlawyer.net/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"(Public) Docs and Sign - Sandbox","value":"34830964-06db4531-0af9-4943-8faf-9bb39fec4cb6"}],"canonicalUrl":"https://docs.rocketlawyer.net/view/metadata/2sAXxV7WEc"}