API documentation for LegalOn services
- Delete a matter message
List statuses
List matter custom attribute definitions
Search matters
Create a matter
Get a matter
Update a matter
Delete a matter
List timeline items
Create a matter message
Update a matter message
Link existing files to a matter
List files related to a matter
Unlink a file from a matter
Delete a matter message
LegalOn API (1.3.1)
Languages
Servers
The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1
Bodyapplication/jsonrequired
Matter message content update request.
Structured message content. Blocks are displayed in order as paragraphs.
The total number of characters across all text and mention user IDs must be between 1 and 4000.
Ordered paragraph blocks. An empty inlines array represents a blank line.
Ordered inline content in this paragraph. Specify an empty array to represent a blank line.
Text to display. Required when type is text and omitted when type is mention.
LegalOn-generated ID of the user to mention. Required when type is mention and omitted when type is text.
- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/matters/{matter_id}/messages/{message_id}
- cURL
- JavaScript
- Python
- Java
- Go
curl -i -X PATCH \
'https://{api_base_url_without_scheme}/rest/v1/matters/{matter_id}/messages/{message_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"content": {
"blocks": [
{
"inlines": [
{
"type": "text",
"text": "Please review the revised draft with ",
"marks": [
"underline"
]
},
{
"type": "mention",
"user_id": "00000000-0000-0000-0000-000000000001"
}
]
}
]
}
}'- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/matters/{matter_id}/messages/{message_id}
- cURL
- JavaScript
- Python
- Java
- Go
curl -i -X DELETE \
'https://{api_base_url_without_scheme}/rest/v1/matters/{matter_id}/messages/{message_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'