How to eFile to courts using REST API in TX, CA, IL, IN and MD
1. Request a clienttoken for staging environment by emailing efile@uslegalpro.com
2. API documentation can be found @ https://api.uslegalpro.com
3. Create a program to do the following:
Note: This article gives you a high level overview of APIs that are needed, at the minimum, to integrate with the court’s system. For example code visit link.
This is the first step before efiling
End Point (POST) | https://{{HOST}}/v2/{{STATE}}/user/authenticate |
Header | {clienttoken: XXXXX} |
Payload | { |
Response | { |
Use the auth token from step 3.1 to invoke this API. You can use conditions in the payload, so you do not have to store the filing codes. However, you still have the option to store codes locally if you want to.
End Point (POST) | {{HOST}}/v2/{{STATE}}/efile |
Header | { |
Payload | { |
Response | { |
Once filing is accepted, you will get a stamped document attributed in the JSON from which you can download the stamped content.
End Point (GET) | {{HOST}}/v2/{{STATE}}/filing/22a46ad1-5cc3-47ff-98de-e3bcd98d04fa |
Header | { |