- Clio takes the availability and stability of our API seriously; please report any degradations or breakages to Clio's API Support team at api@clio.com.
- For business and partnership inquiries, contact our API Partnerships team at api.partnerships@clio.com.
- For best practices and tips from the Clio development community, join the conversation in the Clio Developer Slack Channel.
A community-driven Clio Developers Stack Overflow Group also exists where you can connect and ask questions from other Clio API users.
Note: The API is available in four distinct data regions: Australia (au.app.clio.com), Canada (ca.app.clio.com), EU (eu.app.clio.com) and US (app.clio.com).
Likewise, the developer portal is available at region-specific links for the Australia, Canada, EU, and US regions.
This document assumes the US region is being used (app.clio.com). If you're building in one of the other regions, you should adapt the links and examples as necessary.
To start building on the Clio API, you’ll need a Clio account – you can review our Developer Handbook and follow the steps to sign up for an account.
Once you have an account, you can create a developer application from the Developer Portal and start building!
See our Authorization documentation →
See our Permissions documentation →
See our Fields documentation →
See our Rate Limits documentation →
See our Pagination documentation →
See our ETags documentation →
API v4 supports multiple minor versions. Versions are of the form '4.X.Y'. To request a specific version, you can use an X-API-VERSION
header in your request, with the header value set to the API version you're requesting. If this header is omitted, it will be treated as a request for the default API version. If the header is present but invalid, it will return a 410 Gone
response. If the header is present and valid, but it is no longer supported, it will return a 410 Gone
response.
An X-API-VERSION
will be included in all successful responses, with the value being set to the API version used.
You can find our API Versioning Policy and Guidelines in our documentation hub.
The API Changelog explains each version's changes in further detail.
4.0.4
Update
quantity
field to return values in seconds rather than hours for Activities4.0.5
- Remove
matter_balances
field from Bills - Standardize status/state enum values
- Add a Document association to completed DocumentAutomations
- Add rate visibility handling for Activity's price and total
- Remove
4.0.6
Remove
document_versions
collection field from Documents4.0.7
Change secure link format
4.0.8
Activity
hours are redacted in the response based on the activity hours visibility setting for the user- Add
quantity_redacted
field to activities
4.0.9
This is the default version
Contacts are filtered and redacted in the response based on the new 'Contacts Visibility' user permission setting.
4.0.10
Fixed validation of
type
query parameter when querying Notes
In Clio, applications can create custom actions in our interface. Links are unique across an application, user, location in the UI (ui_reference
) and label. When the user clicks on a custom action, Clio will open a new browser tab at the target_url
.
Clio will add a few URL parameters to the target_url
, including the custom action ID, the ID of the user who clicked the link and the URL of the object(s) which the link was clicked on. The third party application must then look up the relevant OAuth token associated with the user and custom action, and make an authenticated request to the subject_url
. This request both lets you validate the request was made by who you expected, that they have access to the record and lets you pull down any extra information you may need.
Currently supported for: Activities, Contacts, Documents and Matters
Confirming a User's Action
As custom actions require an unauthorized GET request, which can be faked, Clio has provided a way to validate that a user has actually performed an action.
When a request is sent to the URL specified on the custom action, we will include a custom_action_nonce
parameter. If you send us back the custom_action_nonce
in your next request to the API, Clio will use it to validate that the user who clicked the custom action matches your oauth token request. If no match is made, an error will be returned.
Return the data for all CustomActions
Outlines the parameters, optional and required, used when requesting the data for all CustomActions
query Parameters
created_since | string <date-time> Filter CustomAction records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter CustomAction records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of CustomAction records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter CustomAction records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "target_url": "string",
- "ui_reference": "activities/show"
}
]
}
Create a new CustomAction
Outlines the parameters and data fields used when creating a new CustomAction
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Custom Actions
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "label": "string",
- "target_url": "string",
- "ui_reference": "activities/show"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "target_url": "string",
- "ui_reference": "activities/show"
}
}
Return the data for a single CustomAction
Outlines the parameters, optional and required, used when requesting the data for a single CustomAction
path Parameters
id required | integer <int64> The unique identifier for the CustomAction. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "target_url": "string",
- "ui_reference": "activities/show"
}
}
Update a single CustomAction
Outlines the parameters and data fields used when updating a single CustomAction
path Parameters
id required | integer <int64> The unique identifier for the CustomAction. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Custom Actions
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "label": "string",
- "target_url": "string",
- "ui_reference": "activities/show"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "target_url": "string",
- "ui_reference": "activities/show"
}
}
Delete a single CustomAction
Outlines the parameters, optional and required, used when deleting the record for a single CustomAction
path Parameters
id required | integer <int64> The unique identifier for the CustomAction. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Webhooks are a way of detecting events in Clio without the need for polling.
A webhook can be subscribed to a number of events
on a model. Some events will be different depending on the chosen model, but (with one exception) all models support the following events:
created
updated
deleted
To subscribe to any or all events for a model, create a webhook record with the URL that you want webhooks to be sent to, a model, and the list of events
you care about. Whenever an event happens on that model in Clio that the user is authorized to see, an HTTP request will be made to the supplied URL with details about the event. A webhook will automatically expire after a set period of time. If no expires_at
parameter is provided, the webhook will expire after 3 days. The maximum duration you can set a webhook to expire after is 31 days. If you require longer than that, you can manually extend it by updating the expires_at
field.
Your application needs to have the corresponding model OAuth scope when creating or updating a webhook. For example, when creating/updating a folder webhook you need the document Oauth Scope and the webhook Oauth Scope. The list of models supported by webhooks with their corresponding string identifier and ID is presented in the following table:
Name | String Identifier | ID | Oauth Scope |
---|---|---|---|
Matter | matter | 1 | Matters |
Activity | activity | 2 | Activities |
Bill | bill | 3 | Billing |
Calendar Entry | calendar_entry | 4 | Calendars |
Communication | communication | 5 | Communications |
Contact | contact | 6 | Contacts |
Task | task | 7 | Tasks |
Document | document | 8 | Documents |
Folder | folder | 9 | Documents |
Clio Payments payment | clio_payments_payment | 10 | Clio Payments |
Please note that all webhooks MUST be using a url with the https
scheme. All other schemes, including http
, will be rejected.
When a webhook is sent, the payload will not include the entire object for the record. To select specific fields from the record, you can use the fields parameter when creating the webhook. For example: when creating a webhook listening for new Activity records being created, you can pass the value “id,etag,quantity,price” into the fields parameter. When an Activity is created, the id, etag, quantity, and price fields of the new Activity will be included in the webhook's payload.
For update
webhooks, the fields parameter is also used to specify fields that will be “watched” by the webhook. Clio will only send a webhook when at least one of the selected fields has changed on a record.
An important note If you have never received a webhook for an object before, you will receive a webhook for that object if any fields have changed on that object, including fields you haven't subscribed to. For example: if you create a webhook that subscribes to updates to Activities and provide "price" as the field parameter value, the first time an Activity is updated after the Webhook is live will trigger a webhook event – even if the price hasn't changed. Subsequent webhook events for that Activity will only be sent when the price field changes.
Note that there is a hard limit to the size of the fields
parameter. Any request containing a fields
size over 1000 characters will be rejected.
Tip: Use the minimum set of fields to reduce how frequently your endpoint is hit.
As mentioned previously, almost all models support the created, updated, and deleted events. Some models also support events specific to their life cycle.
Clio Payments payments
created
is fired whenever a payment is createdupdated
is fired whenever a payment is updated
All other Models
created
is fired whenever a model is createdupdated
is fired whenever a model is updateddeleted
is fired whenever a model is deleted
Matters
matter_opened
is fired whenever a matter's status changes to "Open"matter_pended
is fired whenever a matter's status changes to "Pending"matter_closed
is fired whenever a matter's status changes to "Close"
More model-specific events will be coming soon.
A response status code of 2xx
, 3xx
, or 410 GONE
indicate that the action was successfully processed. When a 410 GONE
response is received, the webhook subscription will be disabled. All other responses will be considered unsuccessful, and they will be retried using an exponential backoff strategy.
Timeouts
Clio will wait a short period of time before the request will timeout. We will consider it an unsuccessful response and retry using an exponential backoff strategy. It is important to respond quickly. Failure to do so repeatedly may result in your webhook being disabled. If you need to do lengthy processing with the webhook, it is recommended that you defer the processing until after you have sent a response back to Clio.
Identity Confirmation
To ensure that a URL actually intends to receive webhooks from Clio, and to ensure that the payloads are actually from Clio, we will share a secret in the initial handshake.
A POST request will be made immediately after a webhook is setup, or whenever the URL changes. This request will have a unique secret in a X-Hook-Secret
header along with the id of the webhook that was just created. There are two ways of confirming the webhook using this secret:
Option 1: Immediate
Upon initially receiving this secret, the endpoint can return a 200 OK
response and include the same secret in a X-Hook-Secret
header.
Option 2: Delayed
After receiving the secret, make a PUT request to /api/v4/webhooks/:webhook_id/activate
with the secret in a X-Hook-Secret
header.
Note that a webhook will not be enabled until this handshake is successful.
Confirming Hook Legitimacy
To prove that Clio is sending all subsequent messages, Clio will sign all of the requests.
Clio will compute an HMAC-SHA256 signature based on the shared secret and the request body. That signature will then be placed in a X-Hook-Signature
header. The endpoint can then verify the signature to know if the message is authentic. Verification is as simple as computing an HMAC-SHA256 signature using the shared secret as the key and the request body as the message, and comparing it to the X-Hook-Signature
header.
A Webhook can be created for the Activities model, to trigger on any events and return the id and etag fields:
{
"data":{
"url":"https://my/callback/url",
"fields":"id,etag",
"model":"activity",
"events":["created","deleted","updated"]
}
}
This webhook would have the following responses for different actions. It would trigger on any events for the model, and return the id and etag fields for that model, and the event type.
Notes:
- The
model
field accepts both the string identifier of the model as in the example, or its ID. In the latter case, you would have provided the ID parameter:"model":2
. Refer to the table listing the models supported by webhooks for matching the model name with its ID.
Create
In the event of an Activity being created, your URL would receive the following JSON:
{
"data":{
"id":152,
"etag":"\"9a103be2201ae758992733a91f02903f\""
},
"meta":{
"event":"created",
"webhook_id":1234
}
}
Update
In the event of an Activity being updated, your URL would receive the following JSON:
{
"data":{
"id":152,
"etag":"\"9d9ef9fb42a505976d90d564c1596f11\""
},
"meta":{
"event":"updated",
"webhook_id":1234
}
}
Delete
In the event of an Activity being deleted, your URL would receive the following JSON:
{
"data":{
"id":152,
"etag":"\"3cc31bfbd6cfc16d3d7123423e437079\""
},
"meta":{
"event":"deleted",
"webhook_id":1234
}
}
Return the data for all Webhooks
Outlines the parameters, optional and required, used when requesting the data for all Webhooks
query Parameters
created_since | string <date-time> Filter Webhook records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter Webhook records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Webhook records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "id(asc)" "id(desc)" Orders the Webhook records by the given field. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter Webhook records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "url": "string",
- "fields": "string",
- "shared_secret": "string",
- "model": "activity",
- "status": "pending",
- "events": [
- "created"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Create a new Webhook
Outlines the parameters and data fields used when creating a new Webhook
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Webhooks
required | object | ||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "events": [
- "created"
], - "expires_at": "2019-08-24T14:15:22Z",
- "fields": "string",
- "model": "activity",
- "url": "string"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "url": "string",
- "fields": "string",
- "shared_secret": "string",
- "model": "activity",
- "status": "pending",
- "events": [
- "created"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Return the data for a single Webhook
Outlines the parameters, optional and required, used when requesting the data for a single Webhook
path Parameters
id required | integer <int64> The unique identifier for the Webhook. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "url": "string",
- "fields": "string",
- "shared_secret": "string",
- "model": "activity",
- "status": "pending",
- "events": [
- "created"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Update a single Webhook
Outlines the parameters and data fields used when updating a single Webhook
path Parameters
id required | integer <int64> The unique identifier for the Webhook. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Webhooks
required | object | ||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "events": [
- "created"
], - "expires_at": "2019-08-24T14:15:22Z",
- "fields": "string",
- "model": "activity",
- "url": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "url": "string",
- "fields": "string",
- "shared_secret": "string",
- "model": "activity",
- "status": "pending",
- "events": [
- "created"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Delete a single Webhook
Outlines the parameters, optional and required, used when deleting the record for a single Webhook
path Parameters
id required | integer <int64> The unique identifier for the Webhook. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Activities (Time Entries and Expense Entries) track work done at a firm. Activities are recorded in Clio and then posted on bills to clients.
Time Entries can be either be hourly-billable or flat-rate. An hourly-billable Time Entry is valued at the billing rate multiplied by the time entered. Examples could be a phone call, or a research session. A flat-rate Time Entry has a set value. Examples could be a visa application, or a contract review.
Expenses are reimbursable costs the firm pays on behalf of a client (for example, postage, copy fees, etc.).
Return the data for all Activities
Outlines the parameters, optional and required, used when requesting the data for all Activities
query Parameters
activity_description_id | integer <int64> The unique identifier for a single ActivityDescription. Use the keyword |
calendar_entry_id | integer <int64> The unique identifier for a single CalendarEntry. Use the keyword |
communication_id | integer <int64> The unique identifier for a single Communication. Use the keyword |
contact_note_id | integer <int64> The unique identifier for a single Note. Use the keyword |
created_since | string <date-time> Filter Activity records to those having the |
end_date | string <date-time> Filter Activity records to those whose |
expense_category_id | integer <int64> The unique identifier for a single ExpenseCategory. Use the keyword |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
flat_rate | boolean Filter Activity TimeEntry records to those that have a flat rate, or not. |
grant_id | integer <int64> The unique identifier for a single Grant. Use the keyword |
ids[] | integer <int64> Filter Activity records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Activity records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
matter_note_id | integer <int64> The unique identifier for a single Note. Use the keyword |
only_unaccounted_for | boolean Only unaccounted for activities. |
order | string Enum: "id(asc)" "id(desc)" "display_number(asc)" "display_number(desc)" "user.name(asc)" "user.name(desc)" "price(asc)" "price(desc)" "total(asc)" "total(desc)" "type(asc)" "type(desc)" "date(asc)" "date(desc)" "note(asc)" "note(desc)" "updated_at(asc)" "updated_at(desc)" "vendor.name(asc)" "vendor.name(desc)" "expense_category.name(asc)" "expense_category.name(desc)" "non_billable(asc)" "non_billable(desc)" "non_billable_total(asc)" "non_billable_total(desc)" Orders the Activity records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
start_date | string <date-time> Filter Activity records to those whose |
status | string Enum: "billed" "draft" "unbilled" "non_billable" "billable" "written_off" Filter Activity records to those that are draft, billed, unbilled or non-billable. |
task_id | integer <int64> The unique identifier for a single Task. Use the keyword |
type | string Enum: "TimeEntry" "ExpenseEntry" "HardCostEntry" "SoftCostEntry" Filter Activity records to those of a specific type. |
updated_since | string <date-time> Filter Activity records to those having the |
user_id | integer <int64> The unique identifier for a single User. Use the keyword |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "activity_description": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { }
}, - "expense_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { }
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "communication": {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z"
}, - "client_portal": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "unread_count": 0,
- "unread_notifiable_count": 0
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "contact_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}, - "timer": {
- "id": 0,
- "etag": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "elapsed_time": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_expense": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "vendor": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "calendar_entry": {
- "id": "string",
- "etag": "string",
- "calendar_owner_id": 0
}, - "task": {
- "id": 0,
- "etag": "string"
}, - "text_message_conversation": {
- "id": 0,
- "etag": "string"
}, - "document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}, - "legal_aid_uk_activity": {
- "activity_sub_category": "string",
- "advocacy": 0,
- "base_rate": 0.1,
- "bolt_ons": "string",
- "bolt_ons_summary": "string",
- "court": 0,
- "eligible_for_sqm": true,
- "expert": 0,
- "form_of_civil_legal_service": 0,
- "id": 0,
- "is_custom_rate": true,
- "json_key": "string",
- "region": 0,
- "tax_exclusive": true,
- "uplift": 0.1,
- "user_type": 0
}
}
]
}
Create a new Activity
Outlines the parameters and data fields used when creating a new Activity
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Activities
required | object | ||||||||||||||||||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "activity_description": {
- "id": 0,
- "utbms_task_id": 0,
- "utbms_activity_id": 0
}, - "calendar_entry": {
- "id": 0
}, - "client_portal": {
- "id": 0
}, - "communication": {
- "id": 0
}, - "contact_note": {
- "id": 0
}, - "date": "2019-08-24",
- "expense_category": {
- "id": 0
}, - "matter": {
- "id": 0
}, - "matter_note": {
- "id": 0
}, - "no_charge": true,
- "non_billable": true,
- "note": "string",
- "price": 0.1,
- "quantity": 0.1,
- "reference": "string",
- "start_timer": true,
- "task": {
- "id": 0
}, - "tax_setting": "no_tax",
- "text_message_conversation": {
- "id": 0
}, - "type": "TimeEntry",
- "user": {
- "id": 0
}, - "utbms_expense": {
- "id": 0
}, - "vendor": {
- "id": 0
}
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "activity_description": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { }
}, - "expense_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { }
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "communication": {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z"
}, - "client_portal": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "unread_count": 0,
- "unread_notifiable_count": 0
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "contact_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}, - "timer": {
- "id": 0,
- "etag": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "elapsed_time": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_expense": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "vendor": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "calendar_entry": {
- "id": "string",
- "etag": "string",
- "calendar_owner_id": 0
}, - "task": {
- "id": 0,
- "etag": "string"
}, - "text_message_conversation": {
- "id": 0,
- "etag": "string"
}, - "document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}, - "legal_aid_uk_activity": {
- "activity_sub_category": "string",
- "advocacy": 0,
- "base_rate": 0.1,
- "bolt_ons": "string",
- "bolt_ons_summary": "string",
- "court": 0,
- "eligible_for_sqm": true,
- "expert": 0,
- "form_of_civil_legal_service": 0,
- "id": 0,
- "is_custom_rate": true,
- "json_key": "string",
- "region": 0,
- "tax_exclusive": true,
- "uplift": 0.1,
- "user_type": 0
}
}
}
Return the data for a single Activity
Outlines the parameters, optional and required, used when requesting the data for a single Activity
path Parameters
id required | integer <int64> The unique identifier for the Activity. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "activity_description": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { }
}, - "expense_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { }
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "communication": {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z"
}, - "client_portal": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "unread_count": 0,
- "unread_notifiable_count": 0
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "contact_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}, - "timer": {
- "id": 0,
- "etag": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "elapsed_time": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_expense": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "vendor": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "calendar_entry": {
- "id": "string",
- "etag": "string",
- "calendar_owner_id": 0
}, - "task": {
- "id": 0,
- "etag": "string"
}, - "text_message_conversation": {
- "id": 0,
- "etag": "string"
}, - "document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}, - "legal_aid_uk_activity": {
- "activity_sub_category": "string",
- "advocacy": 0,
- "base_rate": 0.1,
- "bolt_ons": "string",
- "bolt_ons_summary": "string",
- "court": 0,
- "eligible_for_sqm": true,
- "expert": 0,
- "form_of_civil_legal_service": 0,
- "id": 0,
- "is_custom_rate": true,
- "json_key": "string",
- "region": 0,
- "tax_exclusive": true,
- "uplift": 0.1,
- "user_type": 0
}
}
}
Update a single Activity
Outlines the parameters and data fields used when updating a single Activity
path Parameters
id required | integer <int64> The unique identifier for the Activity. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Activities
required | object | ||||||||||||||||||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "activity_description": {
- "id": 0,
- "utbms_task_id": 0,
- "utbms_activity_id": 0
}, - "calendar_entry": {
- "id": 0
}, - "client_portal": {
- "id": 0
}, - "communication": {
- "id": 0
}, - "contact_note": {
- "id": 0
}, - "date": "2019-08-24",
- "expense_category": {
- "id": 0
}, - "matter": {
- "id": 0
}, - "matter_note": {
- "id": 0
}, - "no_charge": true,
- "non_billable": true,
- "note": "string",
- "price": 0.1,
- "quantity": 0.1,
- "reference": "string",
- "start_timer": true,
- "task": {
- "id": 0
}, - "tax_setting": "no_tax",
- "text_message_conversation": {
- "id": 0
}, - "type": "TimeEntry",
- "user": {
- "id": 0
}, - "utbms_expense": {
- "id": 0
}, - "vendor": {
- "id": 0
}
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "activity_description": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { }
}, - "expense_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { }
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "communication": {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z"
}, - "client_portal": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "unread_count": 0,
- "unread_notifiable_count": 0
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "contact_note": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}, - "timer": {
- "id": 0,
- "etag": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "elapsed_time": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_expense": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "vendor": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "calendar_entry": {
- "id": "string",
- "etag": "string",
- "calendar_owner_id": 0
}, - "task": {
- "id": 0,
- "etag": "string"
}, - "text_message_conversation": {
- "id": 0,
- "etag": "string"
}, - "document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}, - "legal_aid_uk_activity": {
- "activity_sub_category": "string",
- "advocacy": 0,
- "base_rate": 0.1,
- "bolt_ons": "string",
- "bolt_ons_summary": "string",
- "court": 0,
- "eligible_for_sqm": true,
- "expert": 0,
- "form_of_civil_legal_service": 0,
- "id": 0,
- "is_custom_rate": true,
- "json_key": "string",
- "region": 0,
- "tax_exclusive": true,
- "uplift": 0.1,
- "user_type": 0
}
}
}
Delete a single Activity
Outlines the parameters, optional and required, used when deleting the record for a single Activity
path Parameters
id required | integer <int64> The unique identifier for the Activity. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Activity Descriptions are custom Time Entry templates. Activity Descriptions help firms expedite their process for recording Time Entries, and ensure that their Time Entry descriptions are consistent.
Return the data for all ActivityDescriptions
Outlines the parameters, optional and required, used when requesting the data for all ActivityDescriptions
query Parameters
created_since | string <date-time> Filter ActivityDescription records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
flat_rate | boolean Filter ActivityDescription records to those that have a flat rate, or not. |
ids[] | integer <int64> Filter ActivityDescription records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of ActivityDescription records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
rate_for[matter_id] | integer <int64> Matter id for rate calculation. |
rate_for[user_id] | integer <int64> User id for rate calculation. If not provided, the user associated to the API request is assumed. |
type | string Enum: "utbms" "clio" Filter ActivityDescription records to those of a specific type. |
updated_since | string <date-time> Filter ActivityDescription records to those having the |
user_id | integer <int64> The unique identifier for a single User. The keyword |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "rate": {
- "amount": 0.1,
- "non_billable_amount": 0.1,
- "type": "User",
- "hierarchy": "Default"
}, - "utbms_task": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_activity": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Create a new ActivityDescription
Outlines the parameters and data fields used when creating a new ActivityDescription
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Activity Descriptions
required | object | ||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "currency": { },
- "default": true,
- "groups": [
- {
- "id": 0
}
], - "name": "string",
- "rate": {
- "amount": 0,
- "non_billable_amount": 0,
- "type": "User"
}, - "visible_to_co_counsel": true
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "rate": {
- "amount": 0.1,
- "non_billable_amount": 0.1,
- "type": "User",
- "hierarchy": "Default"
}, - "utbms_task": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_activity": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Return the data for a single ActivityDescription
Outlines the parameters, optional and required, used when requesting the data for a single ActivityDescription
path Parameters
id required | integer <int64> The unique identifier for the ActivityDescription. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "rate": {
- "amount": 0.1,
- "non_billable_amount": 0.1,
- "type": "User",
- "hierarchy": "Default"
}, - "utbms_task": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_activity": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Update a single ActivityDescription
Outlines the parameters and data fields used when updating a single ActivityDescription
path Parameters
id required | integer <int64> The unique identifier for the ActivityDescription. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Activity Descriptions
required | object | ||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "currency": { },
- "default": true,
- "groups": [
- {
- "id": 0,
- "_deleted": true
}
], - "name": "string",
- "rate": {
- "amount": 0,
- "non_billable_amount": 0,
- "type": "User"
}, - "visible_to_co_counsel": true
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "visible_to_co_counsel": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "default": true,
- "type": "string",
- "utbms_activity_id": 0,
- "utbms_task_name": "string",
- "utbms_task_id": 0,
- "xero_service_code": "string",
- "accessible_to_user": true,
- "category_type": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "rate": {
- "amount": 0.1,
- "non_billable_amount": 0.1,
- "type": "User",
- "hierarchy": "Default"
}, - "utbms_task": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "utbms_activity": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Delete a single ActivityDescription
Outlines the parameters, optional and required, used when deleting the record for a single ActivityDescription
path Parameters
id required | integer <int64> The unique identifier for the ActivityDescription. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all ActivityRates
Outlines the parameters, optional and required, used when requesting the data for all ActivityRates
query Parameters
co_counsel_contact_id | integer <int64> The unique identifier for a single Contact. The keyword |
contact_id | integer <int64> The unique identifier for a single Contact. The keyword |
created_since | string <date-time> Filter ActivityRate records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter ActivityRate records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of ActivityRate records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter ActivityRate records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0,
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Create a new ActivityRate
Outlines the parameters and data fields used when creating a new ActivityRate
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Activity Rates
required | object | ||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "co_counsel_contact_id": 0,
- "contact_id": 0,
- "flat_rate": true,
- "rate": 0.1
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0,
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Return the data for a single ActivityRate
Outlines the parameters, optional and required, used when requesting the data for a single ActivityRate
path Parameters
id required | integer <int64> The unique identifier for the ActivityRate. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0,
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Update a single ActivityRate
Outlines the parameters and data fields used when updating a single ActivityRate
path Parameters
id required | integer <int64> The unique identifier for the ActivityRate. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Activity Rates
required | object | ||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "co_counsel_contact_id": 0,
- "contact_id": 0,
- "flat_rate": true,
- "rate": 0.1
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0,
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Delete a single ActivityRate
Outlines the parameters, optional and required, used when deleting the record for a single ActivityRate
path Parameters
id required | integer <int64> The unique identifier for the ActivityRate. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
This endpoint provides the Legal Aid expense category rates, which are the prescribed reimbursement rates for legal services provided under the Legal Aid Scheme.
Return the data for all ExpenseCategories
Outlines the parameters, optional and required, used when requesting the data for all ExpenseCategories
query Parameters
created_since | string <date-time> Filter ExpenseCategory records to those having the |
entry_type | string Enum: "hard_cost" "soft_cost" "unassociated" Filter ExpenseCategory records to those that match the given type. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
limit | integer <int32> A limit on the number of ExpenseCategory records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "id(asc)" "id(desc)" "name(asc)" "name(desc)" "rate(asc)" "rate(desc)" "entry_type(asc)" "entry_type(desc)" Orders the ExpenseCategory records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Allows matching search on expense category name. |
updated_since | string <date-time> Filter ExpenseCategory records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "utbms_code": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Create a new ExpenseCategory
Outlines the parameters and data fields used when creating a new ExpenseCategory
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Expense Categories
required | object | ||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "currency": { },
- "entry_type": "hard_cost",
- "groups": [
- {
- "id": 0,
- "_deleted": true
}
], - "name": "string",
- "rate": 0.1,
- "utbms_code": {
- "id": 0
}
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "utbms_code": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Return the data for a single ExpenseCategory
Outlines the parameters, optional and required, used when requesting the data for a single ExpenseCategory
path Parameters
id required | integer <int64> The unique identifier for the ExpenseCategory. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "utbms_code": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Update a single ExpenseCategory
Outlines the parameters and data fields used when updating a single ExpenseCategory
path Parameters
id required | integer <int64> The unique identifier for the ExpenseCategory. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Expense Categories
required | object | ||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "currency": { },
- "entry_type": "hard_cost",
- "groups": [
- {
- "id": 0,
- "_deleted": true
}
], - "name": "string",
- "rate": 0.1,
- "utbms_code": {
- "id": 0
}
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "rate": 0,
- "entry_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "xero_expense_code": "string",
- "accessible_to_user": true,
- "tax_setting": "string",
- "currency": { },
- "groups": [
- {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "utbms_code": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Delete a single ExpenseCategory
Outlines the parameters, optional and required, used when deleting the record for a single ExpenseCategory
path Parameters
id required | integer <int64> The unique identifier for the ExpenseCategory. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
List Expense Categories
Outlines the parameters, optional and required, used when requesting the data for all LaukExpenseCategories
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
key | string Filter by key. |
limit | integer <int32> A limit on the number of LaukExpenseCategory records to be returned. Limit can range between 1 and 200. Default: |
name | string Filter by expense name. |
page_token | string A token specifying which page to return. |
practice_area | string Filter by expense practice area. |
region required | string Sets the expense rate returned based on the region. If the region is set to London, it will return the London rate; otherwise, it will return the non-London rate. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "certificated": true,
- "civil": true,
- "created_at": "2019-08-24T14:15:22Z",
- "criminal": true,
- "etag": "string",
- "id": 0,
- "key": "string",
- "name": "string",
- "rate": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Timers are used to track time spent on billable work. They are used with hourly-billable Time Entries.
The Timer modal is accessed by clicking the timer in the application's header, or by clicking the Timer icon on a Time Entry.
Used within Clio in the timer modal which can be accessed by clicking the timer in the header or on the create/edit Time Entry form.
Return the data for a single Timer
Outlines the parameters, optional and required, used when requesting the data for a single Timer
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "elapsed_time": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "activity": {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
}
}
Delete a single Timer
Outlines the parameters, optional and required, used when deleting the record for a single Timer
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Create a new Timer
Outlines the parameters and data fields used when creating a new Timer
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Timers
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "activity": {
- "id": 0
}
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "elapsed_time": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "activity": {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
}
}
UTBMS codes standardize Time and Expense entries across the legal profession. Clio users can enter their Activities using UTBMS codes in order to provide electronic invoices.
Return the data for all UtbmsCodes
Outlines the parameters, optional and required, used when requesting the data for all UtbmsCodes
query Parameters
created_since | string <date-time> Filter UtbmsCode records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter UtbmsCode records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of UtbmsCode records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "name(asc)" "name(desc)" "id(asc)" "id(desc)" "set(asc)" "set(desc)" Orders the UtbmsCode records by the given field. Default: |
page_token | string A token specifying which page to return. |
type | string Enum: "UtbmsTask" "UtbmsActivity" "UtbmsExpense" Filter UtbmsCode records to those of a given type. |
updated_since | string <date-time> Filter UtbmsCode records to those having the |
utbms_set_id | integer <int64> The unique identifier for a single UtbmsSet. Use the keyword |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Return the data for a single UtbmsCode
Outlines the parameters, optional and required, used when requesting the data for a single UtbmsCode
path Parameters
id required | integer <int64> The unique identifier for the UtbmsCode. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "code": "string",
- "description": "string",
- "type": "UtbmsTask",
- "utbms_set_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
UTBMS codes are divided into code sets. Each set includes Activities relevant to a certain type of law (for example, litigation, bankruptcy, etc.). Clio users can enable one or more of these sets in the UTBMS settings menu. Enabling a UTBMS code set means that users will be able to select Activities from that list when adding Time or Expense Entries into Clio.
Return the data for all the utbms sets
Outlines the parameters, optional and required, used when requesting the data for all UtbmsSets
query Parameters
created_since | string <date-time> Filter UtbmsSet records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter UtbmsSet records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of UtbmsSet records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "name(asc)" "name(desc)" "id(asc)" "id(desc)" Orders the UtbmsSet records by the given field. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter UtbmsSet records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "enabled": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
These accounts are meant to mirror the firm’s accounts at their financial institution. Users can add a bank account to Clio to use with Clio Payments, and for use as an audit and reconciliation tool.
Return the data for all BankAccounts
Outlines the parameters, optional and required, used when requesting the data for all BankAccounts
query Parameters
created_since | string <date-time> Filter BankAccount records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter BankAccount records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of BankAccount records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "id(asc)" "id(desc)" "name(asc)" "name(desc)" "institution(asc)" "institution(desc)" "account_number(asc)" "account_number(desc)" "transit_number(asc)" "transit_number(desc)" "currency(asc)" "currency(desc)" "updated_at(asc)" "updated_at(desc)" "type(asc)" "type(desc)" Orders the BankAccount records by the given field. Default: |
page_token | string A token specifying which page to return. |
show_empty_accounts | boolean Filter BankAccount records to those having a zero or non zero balance. |
type | string Enum: "OperatingAccount" "TrustAccount" Filter BankAccount records to those having a specific type. |
updated_since | string <date-time> Filter BankAccount records to those having the |
user_id | integer <int64> The unique identifier for a single User. Use the keyword |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Create a new BankAccount
Outlines the parameters and data fields used when creating a new BankAccount
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Bank Accounts
required | object | ||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "account_number": "string",
- "balance": 0.1,
- "controlled_account": true,
- "currency": "string",
- "default_account": true,
- "domicile_branch": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Return the data for a single BankAccount
Outlines the parameters, optional and required, used when requesting the data for a single BankAccount
path Parameters
id required | integer <int64> The unique identifier for the BankAccount. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Update a single BankAccount
Outlines the parameters and data fields used when updating a single BankAccount
path Parameters
id required | integer <int64> The unique identifier for the BankAccount. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Bank Accounts
required | object | ||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "account_number": "string",
- "controlled_account": true,
- "currency": "string",
- "default_account": true,
- "domicile_branch": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Delete a single BankAccount
Outlines the parameters, optional and required, used when deleting the record for a single BankAccount
path Parameters
id required | integer <int64> The unique identifier for the BankAccount. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all BankTransactions
Outlines the parameters, optional and required, used when requesting the data for all BankTransactions
query Parameters
bank_account_id | integer <int64> The unique identifier for a single BankAccount. The keyword |
client_id | integer <int64> The unique identifier for a single Contact. The keyword |
created_since | string <date-time> Filter BankTransaction records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter BankTransaction records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of BankTransaction records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. The keyword |
order | string Orders the BankTransaction records by the given field. Default: |
page_token | string A token specifying which page to return. |
type | string Enum: "asset" "liability" Filter BankTransaction records to those having a specific type. |
updated_since | string <date-time> Filter BankTransaction records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "type": "string",
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "bank_account_id": 0,
- "source": "string",
- "confirmation": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "currency": "string",
- "currency_id": 0,
- "description": "string",
- "exchange_rate": 0.1,
- "transaction_type": "string",
- "funds_in": 0.1,
- "funds_out": 0.1,
- "clio_payments_transaction": true,
- "current_account_balance": 0.1,
- "read_only_confirmation": true,
- "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "bank_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "allocation": {
- "id": 0,
- "etag": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "interest": true,
- "voided_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "has_online_payment": true,
- "destroyable": true,
- "payment_type": "string"
}
}
]
}
Return the data for a single BankTransaction
Outlines the parameters, optional and required, used when requesting the data for a single BankTransaction
path Parameters
id required | integer <int64> The unique identifier for the BankTransaction. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "type": "string",
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "bank_account_id": 0,
- "source": "string",
- "confirmation": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "currency": "string",
- "currency_id": 0,
- "description": "string",
- "exchange_rate": 0.1,
- "transaction_type": "string",
- "funds_in": 0.1,
- "funds_out": 0.1,
- "clio_payments_transaction": true,
- "current_account_balance": 0.1,
- "read_only_confirmation": true,
- "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "bank_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "allocation": {
- "id": 0,
- "etag": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "interest": true,
- "voided_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "has_online_payment": true,
- "destroyable": true,
- "payment_type": "string"
}
}
}
Return the data for a single BankTransfer
Outlines the parameters, optional and required, used when requesting the data for a single BankTransfer
path Parameters
id required | integer <int64> The unique identifier for the BankTransfer. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "amount": 0.1,
- "date": "2019-08-24T14:15:22Z",
- "description": "string",
- "primary_authorizer": "string",
- "secondary_authorizer": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "source_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Bills are statements of what a user’s client owes for their services over a particular billing period, including legal fees, expenses, and taxes.
Users customize, preview, edit, and approve bills before sending them to a client.
Returns the pre-rendered html for the Bill
This endpoint returns a pre-rendered HTML object that you can use to view a preview of your bills. The HTML provided contains all of the CSS rules it requires to show the bill correctly, as well as the DOCTYPE setting it requires. It's best to use an iframe, or similar object, to render the results of this endpoint.
path Parameters
id required | integer <int64> The unique identifier for the Bill. |
Responses
Response samples
- 400
- 401
- 403
- 404
- 429
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all Bills
Outlines the parameters, optional and required, used when requesting the data for all Bills
query Parameters
client_id | integer <int64> The unique identifier for a single Contact. The keyword |
created_since | string <date-time> Filter Bill records to those having the |
currency_id | integer <int64> Filter Bill records to those of a specific currency. |
custom_field_values | string Enum: "=" "<" ">" "<=" ">=" Filter records to only those with the given custom field(s) set. The value is compared using the operator provided, or,
if the value type only supports one operator, the supported operator is used. In the latter case, no check for operator is performed on the input string.
The key for the custom field value filter is the custom_field.id. e.g. Supported operators:
e.g.
e.g.
e.g. Multiple conditions for the same custom field: If you want to use more than one operator to filter a custom field, you can do so by passing in an array of values.
e.g. |
due_after | string <date> Filter Bill records to those that have a |
due_at | string <date> Filter Bill records to those that have a specific |
due_before | string <date> Filter Bill records to those that have a |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter Bill records to those having the specified unique identifiers. |
issued_after | string <date> Filter Bill records to those that have an |
issued_before | string <date> Filter Bill records to those that have an |
last_sent_end_date | string <date> Filter Bill records for those whose bills have been sent before the specified date |
last_sent_start_date | string <date> Filter Bill records for those whose bills have been sent after the specified date |
limit | integer <int32> A limit on the number of Bill records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
order | string Enum: "id(asc)" "id(desc)" "due_at(asc)" "due_at(desc)" "issued_at(asc)" "issued_at(desc)" "paid_at(asc)" "paid_at(desc)" "last_sent_at(asc)" "last_sent_at(desc)" "client_name(asc)" "client_name(desc)" "matter_display_number(asc)" "matter_display_number(desc)" "balance(asc)" "balance(desc)" "number(asc)" "number(desc)" Orders the Bill records by the given field. Default: |
originating_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
overdue_only | boolean Filter Bill records to those that are overdue. |
page_token | string A token specifying which page to return. |
query | integer <int32> Allows matching search on invoice number. |
responsible_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
state | string Enum: "draft" "awaiting_approval" "awaiting_payment" "paid" "void" "deleted" Filter Bill records to those in a given state. |
status | string Enum: "all" "overdue" Filter Bill records to those with particular payment status. |
type | string Enum: "revenue" "trust" Filter Bill records to those of a specific type. |
updated_since | string <date-time> Filter Bill records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
], - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "discount": {
- "rate": 0.1,
- "type": "percentage",
- "note": "string",
- "early_payment_rate": 0,
- "early_payment_period": 0
}, - "interest": {
- "balance": 0.1,
- "period": 0,
- "rate": 0.1,
- "total": 0.1,
- "type": "simple"
}, - "matters": [
- {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}
], - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill_theme": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": 0,
- "default": true,
- "name": "string",
- "config": "string"
}, - "original_bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "balances": [
- {
- "id": 0,
- "amount": 0.1,
- "type": "Matter",
- "interest_amount": 0.1,
- "due": 0.1
}
], - "matter_totals": [
- {
- "id": 0,
- "amount": 0.1
}
], - "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "billing_setting": {
- "id": 0,
- "etag": "string",
- "rounded_duration": 0.1,
- "rounding": 0,
- "use_decimal_rounding": true,
- "currency": "string",
- "currency_sign": "string",
- "tax_rate": 0.1,
- "tax_name": "string",
- "apply_tax_by_default": true,
- "time_on_flat_rate_contingency_matters_is_non_billable": true,
- "use_secondary_tax": true,
- "secondary_tax_rate": 0.1,
- "secondary_tax_rule": "Pre",
- "secondary_tax_name": "string",
- "notify_after_bill_created": true,
- "use_utbms_codes": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "client_addresses": [
- {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}
], - "legal_aid_uk_bill": {
- "additional_travel_payment": true,
- "adjourned_hearing_fee": "string",
- "advocacy_costs": 0.1,
- "advice_time": 0,
- "bill_type": 0,
- "case_concluded": "2019-08-24",
- "case_stage_level": 0,
- "cla_exemption_code": "string",
- "cla_reference": "string",
- "cmrh_oral": 0,
- "cmrh_telephone": 0,
- "cost_of_counsel": "string",
- "costs_are_those_of": 0,
- "court_location": "string",
- "date_of_claim": "2019-08-24",
- "designated_accredited_representative": 0,
- "detention_travel_and_waiting_costs": "string",
- "disbursements_vat": 0.1,
- "exceptional_case_funding_reference": "string",
- "exemption_criteria_satisfied": 0,
- "follow_on_work": 0,
- "ho_interview": 0,
- "ho_ucn": 0,
- "id": 0,
- "independent_medical_reports_claimed": "string",
- "jr_form_filling": "string",
- "maat_id": "string",
- "meetings_attended": 0,
- "mht_ref_no": "string",
- "net_disbursements": 0.1,
- "net_profit_costs": 0.1,
- "niat_disbursement_prior_authority_number": "string",
- "number_of_attendances": 0,
- "outcome_for_the_client": 0,
- "profit_costs_ex_vat": 0,
- "prior_authority_reference": "string",
- "representation_order_date": "2019-08-24",
- "stage_reached": 0,
- "substantive_hearing": 0,
- "travel_and_waiting_costs": 0.1,
- "travel_time": 0,
- "value_of_costs": "string",
- "waiting_time": 0
}, - "split_invoice": {
- "id": 0,
- "bill_id": 0,
- "linked_invoices_display_numbers": [
- "string"
], - "linked_invoices_ids": [
- 0
], - "split_connection_id": "string",
- "split_portion": 0.1,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Return the data for a single Bill
Outlines the parameters, optional and required, used when requesting the data for a single Bill
path Parameters
id required | integer <int64> The unique identifier for the Bill. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
navigation.next | integer <int32> The id of the next Bill available for viewing |
navigation.previous | integer <int32> The id of the previous Bill available for viewing |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
], - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "discount": {
- "rate": 0.1,
- "type": "percentage",
- "note": "string",
- "early_payment_rate": 0,
- "early_payment_period": 0
}, - "interest": {
- "balance": 0.1,
- "period": 0,
- "rate": 0.1,
- "total": 0.1,
- "type": "simple"
}, - "matters": [
- {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}
], - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill_theme": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": 0,
- "default": true,
- "name": "string",
- "config": "string"
}, - "original_bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "balances": [
- {
- "id": 0,
- "amount": 0.1,
- "type": "Matter",
- "interest_amount": 0.1,
- "due": 0.1
}
], - "matter_totals": [
- {
- "id": 0,
- "amount": 0.1
}
], - "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "billing_setting": {
- "id": 0,
- "etag": "string",
- "rounded_duration": 0.1,
- "rounding": 0,
- "use_decimal_rounding": true,
- "currency": "string",
- "currency_sign": "string",
- "tax_rate": 0.1,
- "tax_name": "string",
- "apply_tax_by_default": true,
- "time_on_flat_rate_contingency_matters_is_non_billable": true,
- "use_secondary_tax": true,
- "secondary_tax_rate": 0.1,
- "secondary_tax_rule": "Pre",
- "secondary_tax_name": "string",
- "notify_after_bill_created": true,
- "use_utbms_codes": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "client_addresses": [
- {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}
], - "legal_aid_uk_bill": {
- "additional_travel_payment": true,
- "adjourned_hearing_fee": "string",
- "advocacy_costs": 0.1,
- "advice_time": 0,
- "bill_type": 0,
- "case_concluded": "2019-08-24",
- "case_stage_level": 0,
- "cla_exemption_code": "string",
- "cla_reference": "string",
- "cmrh_oral": 0,
- "cmrh_telephone": 0,
- "cost_of_counsel": "string",
- "costs_are_those_of": 0,
- "court_location": "string",
- "date_of_claim": "2019-08-24",
- "designated_accredited_representative": 0,
- "detention_travel_and_waiting_costs": "string",
- "disbursements_vat": 0.1,
- "exceptional_case_funding_reference": "string",
- "exemption_criteria_satisfied": 0,
- "follow_on_work": 0,
- "ho_interview": 0,
- "ho_ucn": 0,
- "id": 0,
- "independent_medical_reports_claimed": "string",
- "jr_form_filling": "string",
- "maat_id": "string",
- "meetings_attended": 0,
- "mht_ref_no": "string",
- "net_disbursements": 0.1,
- "net_profit_costs": 0.1,
- "niat_disbursement_prior_authority_number": "string",
- "number_of_attendances": 0,
- "outcome_for_the_client": 0,
- "profit_costs_ex_vat": 0,
- "prior_authority_reference": "string",
- "representation_order_date": "2019-08-24",
- "stage_reached": 0,
- "substantive_hearing": 0,
- "travel_and_waiting_costs": 0.1,
- "travel_time": 0,
- "value_of_costs": "string",
- "waiting_time": 0
}, - "split_invoice": {
- "id": 0,
- "bill_id": 0,
- "linked_invoices_display_numbers": [
- "string"
], - "linked_invoices_ids": [
- 0
], - "split_connection_id": "string",
- "split_portion": 0.1,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Update a single Bill
Outlines the parameters and data fields used when updating a single Bill
path Parameters
id required | integer <int64> The unique identifier for the Bill. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Bills
required | object | ||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "bill_theme": {
- "id": 0
}, - "currency_id": 0,
- "discount": {
- "rate": 0.1,
- "type": "percentage",
- "note": "string"
}, - "due_at": "2019-08-24",
- "interest": {
- "rate": 0.1,
- "type": "simple",
- "period": 0
}, - "issued_at": "2019-08-24",
- "memo": "string",
- "number": "string",
- "purchase_order": "string",
- "secondary_tax_rate": 0.1,
- "state": "draft",
- "subject": "string",
- "tax_rate": 0.1,
- "use_grace_period": true
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
], - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "discount": {
- "rate": 0.1,
- "type": "percentage",
- "note": "string",
- "early_payment_rate": 0,
- "early_payment_period": 0
}, - "interest": {
- "balance": 0.1,
- "period": 0,
- "rate": 0.1,
- "total": 0.1,
- "type": "simple"
}, - "matters": [
- {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}
], - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill_theme": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": 0,
- "default": true,
- "name": "string",
- "config": "string"
}, - "original_bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "balances": [
- {
- "id": 0,
- "amount": 0.1,
- "type": "Matter",
- "interest_amount": 0.1,
- "due": 0.1
}
], - "matter_totals": [
- {
- "id": 0,
- "amount": 0.1
}
], - "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "billing_setting": {
- "id": 0,
- "etag": "string",
- "rounded_duration": 0.1,
- "rounding": 0,
- "use_decimal_rounding": true,
- "currency": "string",
- "currency_sign": "string",
- "tax_rate": 0.1,
- "tax_name": "string",
- "apply_tax_by_default": true,
- "time_on_flat_rate_contingency_matters_is_non_billable": true,
- "use_secondary_tax": true,
- "secondary_tax_rate": 0.1,
- "secondary_tax_rule": "Pre",
- "secondary_tax_name": "string",
- "notify_after_bill_created": true,
- "use_utbms_codes": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "client_addresses": [
- {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}
], - "legal_aid_uk_bill": {
- "additional_travel_payment": true,
- "adjourned_hearing_fee": "string",
- "advocacy_costs": 0.1,
- "advice_time": 0,
- "bill_type": 0,
- "case_concluded": "2019-08-24",
- "case_stage_level": 0,
- "cla_exemption_code": "string",
- "cla_reference": "string",
- "cmrh_oral": 0,
- "cmrh_telephone": 0,
- "cost_of_counsel": "string",
- "costs_are_those_of": 0,
- "court_location": "string",
- "date_of_claim": "2019-08-24",
- "designated_accredited_representative": 0,
- "detention_travel_and_waiting_costs": "string",
- "disbursements_vat": 0.1,
- "exceptional_case_funding_reference": "string",
- "exemption_criteria_satisfied": 0,
- "follow_on_work": 0,
- "ho_interview": 0,
- "ho_ucn": 0,
- "id": 0,
- "independent_medical_reports_claimed": "string",
- "jr_form_filling": "string",
- "maat_id": "string",
- "meetings_attended": 0,
- "mht_ref_no": "string",
- "net_disbursements": 0.1,
- "net_profit_costs": 0.1,
- "niat_disbursement_prior_authority_number": "string",
- "number_of_attendances": 0,
- "outcome_for_the_client": 0,
- "profit_costs_ex_vat": 0,
- "prior_authority_reference": "string",
- "representation_order_date": "2019-08-24",
- "stage_reached": 0,
- "substantive_hearing": 0,
- "travel_and_waiting_costs": 0.1,
- "travel_time": 0,
- "value_of_costs": "string",
- "waiting_time": 0
}, - "split_invoice": {
- "id": 0,
- "bill_id": 0,
- "linked_invoices_display_numbers": [
- "string"
], - "linked_invoices_ids": [
- 0
], - "split_connection_id": "string",
- "split_portion": 0.1,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Delete or void a Bill
This endpoint will transition a bill to either its deleted or voided state. A bill can only be deleted or voided if it has no payments recorded and its current state is one of the following:
- Draft
- Pending Approval
- Unpaid
A bill will automatically be moved to a deleted or void state based on its current state. The mappings for this are:
- Draft -> Deleted
- Pending Approval -> Deleted
- Unpaid -> Void
path Parameters
id required | integer <int64> The unique identifier for the Bill. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Users can view all Billable Clients, or clients with outstanding Bills, on the Billable Clients page, located under the Bills tab.
Return the data for all BillableClients
Outlines the parameters, optional and required, used when requesting the data for all BillableClients
query Parameters
client_id | integer <int64> The unique identifier for a single Contact. The keyword |
custom_field_values | string Enum: "=" "<" ">" "<=" ">=" Filter records to only those with the given custom field(s) set. The value is compared using the operator provided, or,
if the value type only supports one operator, the supported operator is used. In the latter case, no check for operator is performed on the input string.
The key for the custom field value filter is the custom_field.id. e.g. Supported operators:
e.g.
e.g.
e.g. Multiple conditions for the same custom field: If you want to use more than one operator to filter a custom field, you can do so by passing in an array of values.
e.g. |
end_date | string <date> Filter BillableClient records to those that have Matters with unbilled Activities on or before this date (Expects an ISO-8601 date). |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
limit | integer <int32> A limit on the number of BillableClient records to be returned. Limit can range between 1 and 25. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. The keyword |
originating_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
responsible_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
start_date | string <date> Filter BillableClient records to those that have Matters with unbilled Activities on or after this date (Expects an ISO-8601 date). |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "unbilled_hours": 0.1,
- "unbilled_amount": 0.1,
- "amount_in_trust": 0.1,
- "name": "string",
- "billable_matters_count": 0,
- "billable_matters": [
- {
- "currency_code": "string",
- "currency_id": 0,
- "id": 0,
- "unbilled_hours": 0.1,
- "unbilled_amount": 0.1,
- "amount_in_trust": 0.1,
- "display_number": "string"
}
]
}
]
}
Users can see all Matters with outstanding bills attached to them by filtering out all non-billable Matters under the Matters tab.
Users can disable billing for certain Matters. They can still enter Activities on these Matters, but those Activities will not appear in the Bills page.
Returns the unique identifiers of all BillableMatter
This data is retrieved asynchronously
query Parameters
client_id | integer <int64> The unique identifier for a single Contact. The keyword |
custom_field_values | string Enum: "=" "<" ">" "<=" ">=" Filter records to only those with the given custom field(s) set. The value is compared using the operator provided, or,
if the value type only supports one operator, the supported operator is used. In the latter case, no check for operator is performed on the input string.
The key for the custom field value filter is the custom_field.id. e.g. Supported operators:
e.g.
e.g.
e.g. Multiple conditions for the same custom field: If you want to use more than one operator to filter a custom field, you can do so by passing in an array of values.
e.g. |
end_date | string <date> Filter BillableMatter records to those that have matters with unbilled activities on or before this date (Expects an ISO-8601 date). |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
limit | integer <int32> A limit on the number of BillableMatter records to be returned. Limit can range between 1 and 1000. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. The keyword |
originating_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
responsible_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
start_date | string <date> Filter BillableMatter records to those that have matters with unbilled activities on or after this date (Expects an ISO-8601 date). |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": {
- "currency_code": "string",
- "currency_id": 0,
- "id": 0,
- "unbilled_hours": 0.1,
- "unbilled_amount": 0.1,
- "amount_in_trust": 0.1,
- "display_number": "string",
- "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
}
Return the data for all BillableMatters
Outlines the parameters, optional and required, used when requesting the data for all BillableMatters
query Parameters
client_id | integer <int64> The unique identifier for a single Contact. The keyword |
custom_field_values | string Enum: "=" "<" ">" "<=" ">=" Filter records to only those with the given custom field(s) set. The value is compared using the operator provided, or,
if the value type only supports one operator, the supported operator is used. In the latter case, no check for operator is performed on the input string.
The key for the custom field value filter is the custom_field.id. e.g. Supported operators:
e.g.
e.g.
e.g. Multiple conditions for the same custom field: If you want to use more than one operator to filter a custom field, you can do so by passing in an array of values.
e.g. |
end_date | string <date> Filter BillableMatter records to those that have matters with unbilled activities on or before this date (Expects an ISO-8601 date). |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
limit | integer <int32> A limit on the number of BillableMatter records to be returned. Limit can range between 1 and 1000. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. The keyword |
originating_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
responsible_attorney_id | integer <int64> The unique identifier for a single User. Use the keyword |
start_date | string <date> Filter BillableMatter records to those that have matters with unbilled activities on or after this date (Expects an ISO-8601 date). |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "currency_code": "string",
- "currency_id": 0,
- "id": 0,
- "unbilled_hours": 0.1,
- "unbilled_amount": 0.1,
- "amount_in_trust": 0.1,
- "display_number": "string",
- "client": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
]
}
Return the data for all BillThemes
Outlines the parameters, optional and required, used when requesting the data for all BillThemes
query Parameters
created_since | string <date-time> Filter BillTheme records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter BillTheme records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of BillTheme records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter BillTheme records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": 0,
- "default": true,
- "name": "string",
- "config": "string"
}
]
}
Update a single BillTheme
Outlines the parameters and data fields used when updating a single BillTheme
path Parameters
id required | integer <int64> The unique identifier for the BillTheme. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Bill Themes
required | object | ||||
|
Responses
Request samples
- Payload
{- "data": {
- "config": "string",
- "name": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": 0,
- "default": true,
- "name": "string",
- "config": "string"
}
}
Return the data for all InterestCharges
Outlines the parameters, optional and required, used when requesting the data for all InterestCharges
query Parameters
bill_id | integer <int64> The unique identifier for a single Bill. The keyword |
created_since | string <date-time> Filter InterestCharge records to those having the |
exclude_ids[] | integer <int64> Array containing InterestCharge identifiers that should be excluded from the query. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter InterestCharge records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of InterestCharge records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter InterestCharge records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "date": "2019-08-24",
- "description": "string",
- "total": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "balances": [
- {
- "id": 0,
- "amount": 0.1,
- "type": "Matter",
- "interest_amount": 0.1,
- "due": 0.1
}
], - "matters": [
- {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Delete a single InterestCharge
Outlines the parameters, optional and required, used when deleting the record for a single InterestCharge
path Parameters
id required | integer <int64> The unique identifier for the InterestCharge. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all LineItems
Outlines the parameters, optional and required, used when requesting the data for all LineItems
query Parameters
activity_id | integer <int64> The unique identifier for a single Activity. Use the keyword |
bill_id | integer <int64> The unique identifier for a single Bill. The keyword |
created_since | string <date-time> Filter LineItem records to those having the |
display | boolean Set this flag to true to return only LineItems displayed on the bill. |
exclude_ids[] | integer <int64> Array containing LineItem identifiers that should be excluded from the query. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
group_ordering | integer <int32> Filters LineItem records to match given group ordering. |
ids[] | integer <int64> Filter LineItem records to those having the specified unique identifiers. |
kind | string The kind of LineItem. |
limit | integer <int32> A limit on the number of LineItem records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
updated_since | string <date-time> Filter LineItem records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "type": "ActivityLineItem",
- "description": "string",
- "date": "2019-08-24",
- "price": 0.1,
- "taxable": true,
- "kind": "Service",
- "note": "string",
- "secondary_taxable": true,
- "total": 0.1,
- "tax": 0.1,
- "secondary_tax": 0.1,
- "sub_total": 0.1,
- "quantity": 0.1,
- "group_ordering": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "activity": {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "discount": {
- "rate": 0.1,
- "type": "percentage",
- "note": "string",
- "early_payment_rate": 0,
- "early_payment_period": 0
}, - "included_line_item_totals": {
- "quantity": 0.1,
- "price": 0.1,
- "discount_percent": 0.1,
- "total": 0.1,
- "sub_total": 0.1
}
}
]
}
Update a single LineItem
Outlines the parameters and data fields used when updating a single LineItem
path Parameters
id required | integer <int64> The unique identifier for the LineItem. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Line Items
required | object | ||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "activity": {
- "id": 0
}, - "bill": {
- "id": 0
}, - "date": "2019-08-24",
- "description": "string",
- "discount": {
- "rate": 0.1,
- "type": true
}, - "group_ordering": 0,
- "kind": "Expense",
- "matter": {
- "id": 0
}, - "note": "string",
- "price": 0.1,
- "quantity": 0.1,
- "secondary_taxable": true,
- "taxable": true,
- "update_original_record": true
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "type": "ActivityLineItem",
- "description": "string",
- "date": "2019-08-24",
- "price": 0.1,
- "taxable": true,
- "kind": "Service",
- "note": "string",
- "secondary_taxable": true,
- "total": 0.1,
- "tax": 0.1,
- "secondary_tax": 0.1,
- "sub_total": 0.1,
- "quantity": 0.1,
- "group_ordering": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "activity": {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "discount": {
- "rate": 0.1,
- "type": "percentage",
- "note": "string",
- "early_payment_rate": 0,
- "early_payment_period": 0
}, - "included_line_item_totals": {
- "quantity": 0.1,
- "price": 0.1,
- "discount_percent": 0.1,
- "total": 0.1,
- "sub_total": 0.1
}
}
}
Delete a single LineItem
A LineItem can not be deleted if it's Bill is not editable
path Parameters
id required | integer <int64> The unique identifier for the LineItem. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all OutstandingClientBalances
Outlines the parameters, optional and required, used when requesting the data for all OutstandingClientBalances
query Parameters
contact_id | integer <int64> The unique identifier for a single Contact. Use the keyword |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
last_paid_end_date | string <date> Filter OutstandingClientBalance records for those whose bills have been paid before the specified date |
last_paid_start_date | string <date> Filter OutstandingClientBalance records for those whose bills have been paid after the specified date |
limit | integer <int32> A limit on the number of OutstandingClientBalance records to be returned. Limit can range between 1 and 200. Default: |
newest_bill_due_end_date | string <date> Filter OutstandingClientBalance records for the contact's newest bill due date before the specified date |
newest_bill_due_start_date | string <date> Filter OutstandingClientBalance records for the contact's newest bill due date after the specified date |
originating_attorney_id | integer <int64> Filters OutstandingClientBalance records to those with matters that have a matching originating attorney. |
page_token | string A token specifying which page to return. |
responsible_attorney_id | integer <int64> Filter OutstandingClientBalance records to those with matters that have a matching responsible attorney |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "associated_matter_ids": [
- 0
], - "etag": "string",
- "id": 0,
- "last_payment_date": "2019-08-24",
- "last_shared_date": "2019-08-24",
- "newest_issued_bill_due_date": "2019-08-24",
- "pending_payments_total": 0.1,
- "reminders_enabled": true,
- "total_outstanding_balance": 0.1,
- "total_outstanding_balance_by_currency": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "outstanding_bills": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}
], - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "currency": {
- "id": 0,
- "etag": "string",
- "code": "string",
- "sign": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Calendars contain Calendar Entries. All Clio accounts contain one firm Calendar ("AccountCalendar"), personal Calendars for each user ("UserCalendar"), and any number of manually created Calendars ("AdhocCalendar"). Calendar sharing settings determine if a Calendar is visible to a User, and if that User is able to create or edit Calendar Entries on that Calendar.
Return the data for all Calendars
Outlines the parameters, optional and required, used when requesting the data for all Calendars
query Parameters
created_since | string <date-time> Filter Calendar records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
filter_inactive_users | boolean Filter any shared UserCalendar records whose owner is inactive. |
ids[] | integer <int64> Filter Calendar records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Calendar records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "name(asc)" "name(desc)" "id(asc)" "id(desc)" Orders the Calendar records by the given field. Default: |
owner | boolean Filter Calendar records to those that the user owns. |
page_token | string A token specifying which page to return. |
source | string Enum: "web" "mobile" Filter Calendar records to those having a specific calendar visibility source (mobile, web). |
type | string Enum: "AccountCalendar" "AdhocCalendar" "UserCalendar" Filter Calendar records to those of the specified type. |
updated_since | string <date-time> Filter Calendar records to those having the |
visible | boolean Filter Calendar records to those that are visible. |
writeable | boolean Filter Calendar records to those which the user can write to. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web",
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Create a new Calendar
Outlines the parameters and data fields used when creating a new Calendar
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Calendars
required | object | ||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "color": "#367B9C",
- "name": "string",
- "source": "web",
- "visible": true
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web",
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Return the data for a single Calendar
Outlines the parameters, optional and required, used when requesting the data for a single Calendar
path Parameters
id required | integer <int64> The unique identifier for the Calendar. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web",
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Update a single Calendar
Outlines the parameters and data fields used when updating a single Calendar
path Parameters
id required | integer <int64> The unique identifier for the Calendar. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Calendars
required | object | ||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "color": "#367B9C",
- "name": "string",
- "source": "web",
- "visible": true
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web",
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Delete a single Calendar
Outlines the parameters, optional and required, used when deleting the record for a single Calendar
path Parameters
id required | integer <int64> The unique identifier for the Calendar. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Calendar Entries are used to track appointments or deadlines. Users can view Calendar Entries on any Calendar that they have “Viewer” or “Editor” permission for. Users can create Calendar Entries on any Calendar that they have “Editor” permission for.
Only supports dates on or after January 01 1900 00:00 UTC
- If you attempt to create a date before 1900, the year of that date will be pulled forward to 1900 before it's persisted.
Calendar Update/Deletion Best Practices
- Prior to updating or deleting a calendar entry, check for recurrence.
- If the recurrence_rule parameter is not equal to
null
, offer the following 3 options for the update/deletion, as well as the note:- Only this instance: Update/Delete this event, but leave all future events unchanged.
- All following: Updates/Deletes this event and all the future events.
- All events in the series: Updates/Deletes all events in the series.
- Note: If you've modified any future events in this series, those edits will be lost once you make this change.
Return the data for all CalendarEntries
Outlines the parameters, optional and required, used when requesting the data for all CalendarEntries
query Parameters
calendar_id | integer <int64> The unique identifier for a single Calendar. The keyword |
created_since | string <date-time> Filter CalendarEntry records to those having the |
expanded | boolean Returns a record for each occurrence of a recurring calendar event. Non-recurring calendar events are unaffected and returned as separate records regardless of the expanded setting. |
external_property_name | string Filter records to only those with the given external property(s) name set. e.g. |
external_property_value | string Filter records to only those with the given external property(s) value set. Requires external property name as well. e.g. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
from | string <date-time> Filter CalendarEntry records to those that end on or after the provided time (Expects an ISO-8601 timestamp). |
has_court_rule | boolean Allows matching court rule on calendar entry. |
ids[] | integer <int64> Filter CalendarEntry records to those having the specified unique identifiers. |
is_all_day | boolean Filter CalendarEntry records to those that are marked as all day events. |
limit | integer <int32> A limit on the number of CalendarEntry records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
owner_entries_across_all_users | boolean Returns CalendarEntry records for all users related to a matter. Requires matter id. |
page_token | string A token specifying which page to return. |
query | string Allows matching search on calendar entry. |
source | string Enum: "web" "mobile" Filter CalendarEntry records to those having a specific calendar visibility source (mobile, web). |
to | string <date-time> Filter CalendarEntry records to those that begin on or before the provided time (Expects an ISO-8601 timestamp). |
updated_since | string <date-time> Filter CalendarEntry records to those having the |
visible | boolean Filter CalendarEntry records to those that are visible. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0,
- "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "conference_meeting": {
- "conference_id": 0,
- "conference_password": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "etag": "string",
- "id": 0,
- "join_url": "string",
- "type": "string",
- "source_id": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_docket": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "calendar_owner": {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}, - "parent_calendar_entry": {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0
}, - "calendar_entry_event_type": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}, - "attendees": [
- {
- "id": 0,
- "etag": "string",
- "type": "Contact",
- "name": "string",
- "enabled": true,
- "email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "calendars": [
- {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}
], - "reminders": [
- {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Create a new CalendarEntry
Outlines the parameters and data fields used when creating a new CalendarEntry
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Calendar Entries
required | object | ||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "_deleted": "single",
- "all_day": true,
- "attendees": [
- {
- "id": 0,
- "type": "string",
- "_destroy": true
}
], - "calendar_entry_event_type": {
- "id": 0
}, - "calendar_owner": {
- "id": 0
}, - "conference_meeting": {
- "type": "zoom"
}, - "description": "string",
- "end_at": "2019-08-24T14:15:22Z",
- "external_properties": [
- {
- "name": "string",
- "value": "string"
}
], - "location": "string",
- "matter": {
- "id": 0
}, - "recurrence_rule": "string",
- "send_email_notification": true,
- "start_at": "2019-08-24T14:15:22Z",
- "summary": "string"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0,
- "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "conference_meeting": {
- "conference_id": 0,
- "conference_password": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "etag": "string",
- "id": 0,
- "join_url": "string",
- "type": "string",
- "source_id": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_docket": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "calendar_owner": {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}, - "parent_calendar_entry": {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0
}, - "calendar_entry_event_type": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}, - "attendees": [
- {
- "id": 0,
- "etag": "string",
- "type": "Contact",
- "name": "string",
- "enabled": true,
- "email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "calendars": [
- {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}
], - "reminders": [
- {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Return the data for a single CalendarEntry
Outlines the parameters, optional and required, used when requesting the data for a single CalendarEntry
path Parameters
id required | integer <int64> The unique identifier for the CalendarEntry. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0,
- "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "conference_meeting": {
- "conference_id": 0,
- "conference_password": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "etag": "string",
- "id": 0,
- "join_url": "string",
- "type": "string",
- "source_id": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_docket": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "calendar_owner": {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}, - "parent_calendar_entry": {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0
}, - "calendar_entry_event_type": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}, - "attendees": [
- {
- "id": 0,
- "etag": "string",
- "type": "Contact",
- "name": "string",
- "enabled": true,
- "email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "calendars": [
- {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}
], - "reminders": [
- {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Update a single CalendarEntry
Outlines the parameters and data fields used when updating a single CalendarEntry
path Parameters
id required | integer <int64> The unique identifier for the CalendarEntry. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Calendar Entries
required | object | ||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "_deleted": "single",
- "all_day": true,
- "attendees": [
- {
- "id": 0,
- "type": "string",
- "_destroy": true
}
], - "calendar_entry_event_type": {
- "id": 0
}, - "calendar_owner": {
- "id": 0
}, - "conference_meeting": {
- "type": "zoom"
}, - "description": "string",
- "end_at": "2019-08-24T14:15:22Z",
- "external_properties": [
- {
- "id": 0,
- "name": "string",
- "value": "string",
- "_destroy": true
}
], - "location": "string",
- "matter": {
- "id": 0
}, - "recurrence_rule": "string",
- "send_email_notification": true,
- "start_at": "2019-08-24T14:15:22Z",
- "summary": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0,
- "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "conference_meeting": {
- "conference_id": 0,
- "conference_password": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "etag": "string",
- "id": 0,
- "join_url": "string",
- "type": "string",
- "source_id": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "matter_docket": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "calendar_owner": {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}, - "parent_calendar_entry": {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0
}, - "calendar_entry_event_type": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}, - "attendees": [
- {
- "id": 0,
- "etag": "string",
- "type": "Contact",
- "name": "string",
- "enabled": true,
- "email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "calendars": [
- {
- "id": 0,
- "etag": "string",
- "color": "#367B9C",
- "light_color": "#5DA5C7",
- "court_rules_default_calendar": true,
- "name": "string",
- "permission": "owner",
- "type": "AccountCalendar",
- "visible": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": "web"
}
], - "reminders": [
- {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Delete a single CalendarEntry
Outlines the parameters, optional and required, used when deleting the record for a single CalendarEntry
path Parameters
id required | integer <int64> The unique identifier for the CalendarEntry. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all calendar entry event types
Outlines the parameters, optional and required, used when requesting the data for all CalendarEntryEventTypes
query Parameters
created_since | string <date-time> Filter CalendarEntryEventType records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter CalendarEntryEventType records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of CalendarEntryEventType records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter CalendarEntryEventType records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}
Create a new calendar entry event type
Outlines the parameters and data fields used when creating a new CalendarEntryEventType
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Calendar Entry Event Types
required | object | ||||
|
Responses
Request samples
- Payload
{- "data": {
- "color": "#367B9C",
- "name": "string"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}
Return the data for a single calendar entry event type
Outlines the parameters, optional and required, used when requesting the data for a single CalendarEntryEventType
path Parameters
id required | integer <int64> The unique identifier for the CalendarEntryEventType. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}
Update a single calendar entry event type
Outlines the parameters and data fields used when updating a single CalendarEntryEventType
path Parameters
id required | integer <int64> The unique identifier for the CalendarEntryEventType. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Calendar Entry Event Types
required | object | ||||
|
Responses
Request samples
- Payload
{- "data": {
- "color": "#367B9C",
- "name": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "color": "#367B9C",
- "name": "string"
}
Delete a single calendar entry event type
Outlines the parameters, optional and required, used when deleting the record for a single CalendarEntryEventType
path Parameters
id required | integer <int64> The unique identifier for the CalendarEntryEventType. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all CalendarVisibilities
Outlines the parameters, optional and required, used when requesting the data for all CalendarVisibilities
query Parameters
created_since | string <date-time> Filter CalendarVisibility records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter CalendarVisibility records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of CalendarVisibility records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter CalendarVisibility records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "color": "#658CDA",
- "light_color": "#5DA5C7",
- "visible": true,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Return the data for a single CalendarVisibility
Outlines the parameters, optional and required, used when requesting the data for a single CalendarVisibility
path Parameters
id required | integer <int64> The unique identifier for the CalendarVisibility. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "color": "#658CDA",
- "light_color": "#5DA5C7",
- "visible": true,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update a single CalendarVisibility
Outlines the parameters and data fields used when updating a single CalendarVisibility
path Parameters
id required | integer <int64> The unique identifier for the CalendarVisibility. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Task Calendars
required | object | ||||
|
Responses
Request samples
- Payload
{- "data": {
- "color": "#367B9C",
- "visible": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "color": "#658CDA",
- "light_color": "#5DA5C7",
- "visible": true,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Reminders can be added to Tasks or Calendar Entries. Reminder emails can be sent by a User to themselves, other Users, Clio For Co-Counsel/Clio Connect Contacts, or any authorized email. An in-Clio pop-up reminder can also be sent by a User to themself.
Return the data for all Reminders
Outlines the parameters, optional and required, used when requesting the data for all Reminders
query Parameters
created_since | string <date-time> Filter Reminder records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter Reminder records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Reminder records to be returned. Limit can range between 1 and 200. Default: |
notification_method_id | integer <int64> The unique identifier for a single NotificationMethod. The keyword |
order | string Enum: "next_delivery_at(asc)" "next_delivery_at(desc)" "id(asc)" "id(desc)" Orders the Reminder records by the given field. Default: |
page_token | string A token specifying which page to return. |
state | string Enum: "initializing" "scheduling" "rescheduling" "scheduled" "attempting_delivery" "delivery_failed" "delivered" "delivery_skipped" "invalid_user" Filter Reminder records to those with a given state. |
subject_id | integer <int64> The unique identifier for a single CalendarEntry or Task. The keyword |
subject_type | string Enum: "calendar_entry" "task" Filter Reminder records to those of a given subject type, required if using subject_id. |
updated_since | string <date-time> Filter Reminder records to those having the |
user_id | integer <int64> The unique identifier for a single User. The keyword |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "notification_method": {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}
}
]
}
Create a new Reminder
Outlines the parameters and data fields used when creating a new Reminder
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Reminders
required | object | ||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "duration_unit": "weeks",
- "duration_value": 0,
- "notification_method": {
- "id": 0
}, - "subject": {
- "id": 0,
- "type": "CalendarEntry"
}
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "notification_method": {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}
}
}
Return the data for a single Reminder
Outlines the parameters, optional and required, used when requesting the data for a single Reminder
path Parameters
id required | integer <int64> The unique identifier for the Reminder. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "notification_method": {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}
}
}
Update a single Reminder
Outlines the parameters and data fields used when updating a single Reminder
path Parameters
id required | integer <int64> The unique identifier for the Reminder. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Reminders
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "duration_unit": "weeks",
- "duration_value": 0,
- "notification_method": {
- "id": 0
}
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "duration": 0,
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "state": "initializing",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "notification_method": {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subject": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}
}
}
Delete a single Reminder
Outlines the parameters, optional and required, used when deleting the record for a single Reminder
path Parameters
id required | integer <int64> The unique identifier for the Reminder. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all ClioPaymentsLinks
Outlines the parameters, optional and required, used when requesting the data for all ClioPaymentsLinks
query Parameters
active | boolean Filter ClioPaymentsLink records based on whether or not they have expired. |
created_since | string <date-time> Filter ClioPaymentsLink records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter ClioPaymentsLink records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of ClioPaymentsLink records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter ClioPaymentsLink records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "active": true,
- "amount": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "email_address": "string",
- "etag": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_allocated_as_revenue": true,
- "redirect_url": "string",
- "url": "string",
- "bank_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "clio_payments_payment": {
- "amount": 0.1,
- "confirmation_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "deposit_as_revenue": true,
- "description": "string",
- "email_address": "string",
- "id": 0,
- "state": "pending",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "destination_contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
]
}
Create a new ClioPaymentsLink
Outlines the parameters and data fields used when creating a new ClioPaymentsLink
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Links
required | object | ||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "amount": 0.1,
- "currency": "string",
- "description": "string",
- "destination_account": {
- "id": 0
}, - "destination_contact": {
- "id": 0
}, - "duration": 0,
- "email_address": "string",
- "is_allocated_as_revenue": true,
- "subject": {
- "id": 0,
- "type": "BankAccount"
}
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "active": true,
- "amount": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "email_address": "string",
- "etag": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_allocated_as_revenue": true,
- "redirect_url": "string",
- "url": "string",
- "bank_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "clio_payments_payment": {
- "amount": 0.1,
- "confirmation_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "deposit_as_revenue": true,
- "description": "string",
- "email_address": "string",
- "id": 0,
- "state": "pending",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "destination_contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
}
Return the data for a single ClioPaymentsLink
Outlines the parameters, optional and required, used when requesting the data for a single ClioPaymentsLink
path Parameters
id required | integer <int64> The unique identifier for the ClioPaymentsLink. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "active": true,
- "amount": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "email_address": "string",
- "etag": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_allocated_as_revenue": true,
- "redirect_url": "string",
- "url": "string",
- "bank_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "clio_payments_payment": {
- "amount": 0.1,
- "confirmation_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "deposit_as_revenue": true,
- "description": "string",
- "email_address": "string",
- "id": 0,
- "state": "pending",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "destination_contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
}
Update a single ClioPaymentsLink
Outlines the parameters and data fields used when updating a single ClioPaymentsLink
path Parameters
id required | integer <int64> The unique identifier for the ClioPaymentsLink. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Links
required | object | ||
|
Responses
Request samples
- Payload
{- "data": {
- "expired": true
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "active": true,
- "amount": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "email_address": "string",
- "etag": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_allocated_as_revenue": true,
- "redirect_url": "string",
- "url": "string",
- "bank_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "bill": {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}, - "clio_payments_payment": {
- "amount": 0.1,
- "confirmation_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "deposit_as_revenue": true,
- "description": "string",
- "email_address": "string",
- "id": 0,
- "state": "pending",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "destination_contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
}
Payments allow users to record that funds (from checks, cash, credit cards, etc.) have been transferred from a client to the firm. In order to pay Bills, Payments must be allocated.
Return the data for all ClioPaymentsPayments
Outlines the parameters, optional and required, used when requesting the data for all ClioPaymentsPayments
query Parameters
bill_id | integer <int64> Filter ClioPaymentsPayment records to those that are allocated to the specified bill. |
contact_id | integer <int64> Filter ClioPaymentsPayment records to those that are assigned to the specified contact. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter ClioPaymentsPayment records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of ClioPaymentsPayment records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
state | string Enum: "pending" "authorized" "completed" "voided" "failed" "canceled" "requires_confirmation" "completed_requiring_allocation" Filter ClioPaymentsPayment records to those in a given state. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "amount": 0.1,
- "confirmation_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "deposit_as_revenue": true,
- "description": "string",
- "email_address": "string",
- "id": 0,
- "state": "pending",
- "updated_at": "2019-08-24T14:15:22Z",
- "bank_transaction": {
- "id": 0,
- "type": "string",
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "bank_account_id": 0,
- "source": "string",
- "confirmation": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "currency": "string",
- "currency_id": 0,
- "description": "string",
- "exchange_rate": 0.1,
- "transaction_type": "string",
- "funds_in": 0.1,
- "funds_out": 0.1,
- "clio_payments_transaction": true,
- "current_account_balance": 0.1,
- "read_only_confirmation": true
}, - "clio_payments_link": {
- "active": true,
- "amount": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "email_address": "string",
- "etag": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_allocated_as_revenue": true,
- "redirect_url": "string",
- "url": "string"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "allocations": [
- {
- "id": 0,
- "etag": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "interest": true,
- "voided_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "has_online_payment": true,
- "destroyable": true,
- "payment_type": "string"
}
], - "bills": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}
], - "matters": [
- {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Return the data for a single ClioPaymentsPayment
Outlines the parameters, optional and required, used when requesting the data for a single ClioPaymentsPayment
path Parameters
id required | integer <int64> The unique identifier for the ClioPaymentsPayment. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "amount": 0.1,
- "confirmation_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "deposit_as_revenue": true,
- "description": "string",
- "email_address": "string",
- "id": 0,
- "state": "pending",
- "updated_at": "2019-08-24T14:15:22Z",
- "bank_transaction": {
- "id": 0,
- "type": "string",
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "bank_account_id": 0,
- "source": "string",
- "confirmation": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "currency": "string",
- "currency_id": 0,
- "description": "string",
- "exchange_rate": 0.1,
- "transaction_type": "string",
- "funds_in": 0.1,
- "funds_out": 0.1,
- "clio_payments_transaction": true,
- "current_account_balance": 0.1,
- "read_only_confirmation": true
}, - "clio_payments_link": {
- "active": true,
- "amount": 0.1,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "description": "string",
- "email_address": "string",
- "etag": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_allocated_as_revenue": true,
- "redirect_url": "string",
- "url": "string"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "destination_account": {
- "account_number": "string",
- "balance": 0.1,
- "bank_transactions_count": 0,
- "clio_payment_page_link": "string",
- "clio_payment_page_qr_code": "string",
- "clio_payments_enabled": true,
- "controlled_account": true,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_symbol": "string",
- "currency_id": 0.1,
- "default_account": true,
- "domicile_branch": "string",
- "etag": "string",
- "general_ledger_number": "string",
- "holder": "string",
- "id": 0,
- "institution": "string",
- "name": "string",
- "swift": "string",
- "transit_number": "string",
- "type": "Operating",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "allocations": [
- {
- "id": 0,
- "etag": "string",
- "date": "2019-08-24",
- "amount": 0.1,
- "interest": true,
- "voided_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "has_online_payment": true,
- "destroyable": true,
- "payment_type": "string"
}
], - "bills": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "issued_at": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "due_at": "2019-08-24",
- "tax_rate": 0.1,
- "secondary_tax_rate": 0.1,
- "updated_at": "2019-08-24T14:15:22Z",
- "subject": "string",
- "purchase_order": "string",
- "type": "MatterBill",
- "memo": "string",
- "start_at": "2019-08-24",
- "end_at": "2019-08-24",
- "balance": 0.1,
- "state": "draft",
- "kind": "revenue_kind",
- "total": 0.1,
- "paid": 0.1,
- "paid_at": "2019-08-24T14:15:22Z",
- "pending": 0.1,
- "due": 0.1,
- "discount_services_only": "string",
- "can_update": true,
- "credits_issued": 0.1,
- "shared": true,
- "last_sent_at": "2019-08-24T14:15:22Z",
- "services_secondary_tax": 0.1,
- "services_sub_total": 0.1,
- "services_tax": 0.1,
- "services_taxable_sub_total": 0,
- "services_secondary_taxable_sub_total": 0,
- "taxable_sub_total": 0,
- "secondary_taxable_sub_total": 0,
- "sub_total": 0.1,
- "tax_sum": 0.1,
- "secondary_tax_sum": 0.1,
- "total_tax": 0.1,
- "available_state_transitions": [
- "awaiting_approval"
]
}
], - "matters": [
- {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Users can view all logged phone calls and emails under the Communications tab in Clio. This is also where they can use Clio internal messages.
Communications can be filtered to show those attached to certain Matters or dates, or to show those with or without time entries.
Return the data for all Communications
Outlines the parameters, optional and required, used when requesting the data for all Communications
query Parameters
contact_id | integer <int64> The unique identifier for a single Contact. The keyword |
created_since | string <date-time> Filter Communication records to those having the |
date | string <date> Filter Communication records to those that occur on the specified date (Expects an ISO-8601 date). |
external_property_name | string Filter records to only those with the given external property(s) name set. e.g. |
external_property_value | string Filter records to only those with the given external property(s) value set. Requires external property name as well. e.g. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
having_time_entries | boolean Filter Communication records to those that do or do not have time entries. |
ids[] | integer <int64> Filter Communication records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Communication records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
order | string Enum: "id(asc)" "id(desc)" "date(asc)" "date(desc)" "received_at(asc)" "received_at(desc)" "matter(asc)" "matter(desc)" Orders the Communication records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
received_at | string <date-time> Filter Communication records to those that occur on the specified date (Expects an ISO-8601 date-time). |
received_before | string <date-time> Filter Communication records to those whose |
received_since | string <date-time> Filter Communication records to those whose |
type | string Enum: "EmailCommunication" "PhoneCommunication" Filter Communication records to those of the specified type. |
updated_since | string <date-time> Filter Communication records to those having the |
user_id | integer <int64> The unique identifier for a single User. The keyword |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "communication_eml_file": {
- "id": 0
}, - "senders": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "receivers": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "documents": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Create a new Communication
Outlines the parameters and data fields used when creating a new Communication
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Communications
required | object | ||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "body": "string",
- "date": "string",
- "external_properties": [
- {
- "name": "string",
- "value": "string"
}
], - "matter": {
- "id": 0
}, - "notification_event_subscribers": [
- {
- "user_id": "string"
}
], - "received_at": "string",
- "receivers": [
- {
- "_deleted": true,
- "id": 0,
- "type": "User"
}
], - "senders": [
- {
- "_deleted": true,
- "id": 0,
- "type": "User"
}
], - "subject": "string",
- "type": "PhoneCommunication"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "communication_eml_file": {
- "id": 0
}, - "senders": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "receivers": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "documents": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Return the data for a single Communication
Outlines the parameters, optional and required, used when requesting the data for a single Communication
path Parameters
id required | integer <int64> The unique identifier for the Communication. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "communication_eml_file": {
- "id": 0
}, - "senders": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "receivers": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "documents": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Update a single Communication
Outlines the parameters and data fields used when updating a single Communication
path Parameters
id required | integer <int64> The unique identifier for the Communication. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Communications
required | object | ||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "body": "string",
- "date": "string",
- "external_properties": [
- {
- "id": 0,
- "name": "string",
- "value": "string",
- "_destroy": true
}
], - "matter": {
- "id": 0
}, - "notification_event_subscribers": [
- {
- "user_id": "string",
- "id": 0,
- "_destroy": true
}
], - "received_at": "string",
- "receivers": [
- {
- "_deleted": true,
- "id": 0,
- "type": "User"
}
], - "senders": [
- {
- "_deleted": true,
- "id": 0,
- "type": "User"
}
], - "subject": "string",
- "type": "PhoneCommunication"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "subject": "string",
- "body": "string",
- "type": "EmailCommunication",
- "date": "2019-08-24",
- "time_entries_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "communication_eml_file": {
- "id": 0
}, - "senders": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "receivers": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "Person",
- "identifier": "string",
- "secondary_identifier": "string",
- "enabled": true,
- "name": "string",
- "initials": "string",
- "job_title_name": "string",
- "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}
}
], - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "documents": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Delete a single Communication
Outlines the parameters, optional and required, used when deleting the record for a single Communication
path Parameters
id required | integer <int64> The unique identifier for the Communication. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all Conversations
Outlines the parameters, optional and required, used when requesting the data for all Conversations
query Parameters
archived | boolean Filter archived Conversation records. |
contact_id | integer <int64> Filter Conversation records for the contact. |
created_since | string <date-time> Filter Conversation records to those having the |
date | string <date> Filter Conversation records created on a given date. (Expects an ISO-8601 date). |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
for_user | boolean If set to true, filter Conversation records accessible to any groups of the user. Note that the user may not be member of the conversations. If set to false, filter Conversation records of which the user is a member. |
ids[] | integer <int64> Filter Conversation records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Conversation records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
order | string Enum: "id(asc)" "id(desc)" "last_message_id(asc)" "last_message_id(desc)" "matter_id(asc)" "matter_id(desc)" Orders the Conversation records by the given field. Default: |
page_token | string A token specifying which page to return. |
read_status | boolean Filter Conversation records to those which have been read. |
time_entries | boolean Filter Conversation records to those with or without associated time entries. |
updated_since | string <date-time> Filter Conversation records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "archived": true,
- "read_only": true,
- "current_user_is_member": true,
- "subject": "string",
- "message_count": 0,
- "time_entries_count": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_message": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "first_message": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "messages": [
- {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "documents": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}
], - "memberships": [
- {
- "id": 0,
- "etag": "string",
- "read": true,
- "archived": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "member": { }
}
]
}
]
}
Return the data for a single Conversation
Outlines the parameters, optional and required, used when requesting the data for a single Conversation
path Parameters
id required | integer <int64> The unique identifier for the Conversation. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "archived": true,
- "read_only": true,
- "current_user_is_member": true,
- "subject": "string",
- "message_count": 0,
- "time_entries_count": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_message": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "first_message": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "messages": [
- {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "documents": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}
], - "memberships": [
- {
- "id": 0,
- "etag": "string",
- "read": true,
- "archived": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "member": { }
}
]
}
}
Update a single Conversation
Outlines the parameters and data fields used when updating a single Conversation
path Parameters
id required | integer <int64> The unique identifier for the Conversation. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Conversations
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "archived": true,
- "matter": {
- "id": 0
}, - "read": true
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "archived": true,
- "read_only": true,
- "current_user_is_member": true,
- "subject": "string",
- "message_count": 0,
- "time_entries_count": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_message": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "first_message": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "messages": [
- {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "documents": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}
], - "memberships": [
- {
- "id": 0,
- "etag": "string",
- "read": true,
- "archived": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "member": { }
}
]
}
}
Return the data for all ConversationMessages
Outlines the parameters, optional and required, used when requesting the data for all ConversationMessages
query Parameters
conversation_id required | integer <int64> The unique identifier for a single Conversation. Use the keyword |
created_since | string <date-time> Filter ConversationMessage records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter ConversationMessage records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of ConversationMessage records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "id(asc)" "id(desc)" Orders the ConversationMessage records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
updated_since | string <date-time> Filter ConversationMessage records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "sender": { },
- "document": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}, - "conversation": {
- "id": 0,
- "etag": "string",
- "archived": true,
- "read_only": true,
- "current_user_is_member": true,
- "subject": "string",
- "message_count": 0,
- "time_entries_count": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "receivers": [
- { }
]
}
]
}
Create a new ConversationMessage
Outlines the parameters and data fields used when creating a new ConversationMessage
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Conversation Messages
required | object | ||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "attachment": {
- "document_id": 0,
- "document_version_id": 0
}, - "body": "string",
- "conversation": {
- "id": 0
}, - "matter": {
- "id": 0
}, - "receivers": [
- {
- "id": 0,
- "type": "Contact"
}
], - "subject": "string"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "sender": { },
- "document": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}, - "conversation": {
- "id": 0,
- "etag": "string",
- "archived": true,
- "read_only": true,
- "current_user_is_member": true,
- "subject": "string",
- "message_count": 0,
- "time_entries_count": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "receivers": [
- { }
]
}
}
Return the data for a single ConversationMessage
Outlines the parameters, optional and required, used when requesting the data for a single ConversationMessage
path Parameters
id required | integer <int64> The unique identifier for the ConversationMessage. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "date": "string",
- "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "sender": { },
- "document": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string"
}, - "conversation": {
- "id": 0,
- "etag": "string",
- "archived": true,
- "read_only": true,
- "current_user_is_member": true,
- "subject": "string",
- "message_count": 0,
- "time_entries_count": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "receivers": [
- { }
]
}
}
All clients, prospective clients, companies, and external co-counsels can be viewed as Contacts under the Contacts tab in Clio Manage.
When creating a contact of type "Person" you must provide at least a first name or a last name. This can be done in one of two ways:
- Providing the name components explicitly (preferred): Using the
first_name
andlast_name
parameters. - Providing the full name (discouraged): Using the
name
parameter, you can provide the person's full name (e.g. "John Smith") and Clio will attempt to infer the individual components of the name. If it is unable to do so, you will receive a "422 Unprocessable Entity: At least one of first name or last name must be provided" Error.
We recommend using the individual name fields when possible to avoid any ambiguities.
A Contact can be persisted with its associations in a single request. The followings detail the nested attributes to persist the associations.
Addresses
Checkout the sample request to update the Addresses of a Contact:
Request
PATCH /api/v4/contacts/1.json
{
data: {
addresses: [
// update
{ id: 1, name: "Work", country: "Canada" },
// create
{ name: "Home", street: "1234 Main Street", city: "Burnaby", province: "BC", country: "Canada", postal_code: "V1A 1A1" },
// destroy
{ id: 2, _destroy: true }
]
}
Custom Field Values
A CustomFieldValue contains the value of a CustomField for a Contact. Below are some examples of how to create, read, update, and destroy the CustomFieldValues of a Contact:
Create
Note: The value of id
used here is the value of the id
parameter in the response received when creating a new CustomField or one returned in a query of an existing CustomField.
Request
PATCH /api/v4/contacts/1.json
{
data: {
custom_field_values: [
{ custom_field: { id: 2 }, value: "Initial value" }
]
}
}
Read
Note: The id
of the CustomFieldValue is a composite value including the custom field type. Use this id
to update and destroy the CustomFieldValue.
The id
of the associated Custom Field can be found by querying the custom_field
for all CustomFieldValues related to the Contact, e.g.: /api/v4/contacts/1?fields=id,display_number,custom_field_values{id,value,custom_field}
Note: The id
may be NULL
when the CustomField is displayed by default but has not yet been given a value.
Request
GET /api/v4/contacts/1.json?fields=custom_field_values{id,value,custom_field}
{
data: {
custom_field_values: [
{
id: "text_line-1",
value: "Current value",
custom_field: { id: 2 }
}
]
}
}
Update
Note: The value of the CustomFieldValue id
used here is a composite value and can be found by querying for all CustomFieldValues related to the Contact, e.g.: /api/v4/contacts/1?fields=id,name,custom_field_values{id,value,custom_field}
Note: If the id
is NULL
, you must provide custom_field{id}
to create the CustomFieldValue and assign a value (see Create).
Request
PATCH /api/v4/contacts/1.json
{
data: {
custom_field_values: [
{ id: "text_line-1", value: "Updated value" }
]
}
}
Destroy
Note: The value of the CustomFieldValue id
used here is a composite value and can be found by querying for all CustomFieldValues related to the Contact, e.g.: /api/v4/contacts/1?fields=id,name,custom_field_values{id,value}
Request
PATCH /api/v4/contacts/1.json
{
data: {
custom_field_values: [
{ id: "picklist-2", _destroy: true }
]
}
}
Email Addresses
Checkout the sample request to update the Email Addresses of a Contact:
Request
PATCH /api/v4/contacts/1.json
{
data: {
email_addresses: [
// update
{ id: 1, name: "Work", address: "demo@clio.com" },
// create
{ name: "Home", address: "home@clio.com" },
// destroy
{ id: 2, _destroy: true }
]
}
Instant Messengers
Checkout the sample request to update the Instant Messengers of a Contact:
Request
PATCH /api/v4/contacts/1.json
{
data: {
instant_messengers: [
// update
{ id: 1, name: "Work", address: "https://twitter.com/goclio" },
// create
{ name: "Other", address: "https://www.facebook.com/GoClio/" },
// destroy
{ id: 2, _destroy: true }
]
}
Phone Numbers
Checkout the sample request to update the Phone Numbers of a Contact:
Request
PATCH /api/v4/contacts/1.json
{
data: {
phone_numbers: [
// update
{ id: 1, name: "Work", number: "123-456-7890" },
// create
{ name: "Other", number: "000-000-0000" },
// destroy
{ id: 2, _destroy: true }
]
}
Web Site
Checkout the sample request to update the Web Site of a Contact:
Request
PATCH /api/v4/contacts/1.json
{
data: {
web_sites: [
// update
{ id: 1, name: "Work", address: "https://help.clio.com/" },
// create
{ name: "Other", address: "https://www.clio.com/about/careers/" },
// destroy
{ id: 2, _destroy: true }
]
}
Return the data for all Contacts
Outlines the parameters, optional and required, used when requesting the data for all Contacts
query Parameters
client_only | boolean Filter Contact records to those that are clients. |
clio_connect_only | boolean Filter Contact records to those that are Clio Connect users. |
created_since | string <date-time> Filter Contact records to those having the |
custom_field_ids[] | integer <int64> Filter Contact's custom_field_values to only include values for the given custom field unique identifiers. |
custom_field_values | string Enum: "=" "<" ">" "<=" ">=" Filter records to only those with the given custom field(s) set. The value is compared using the operator provided, or,
if the value type only supports one operator, the supported operator is used. In the latter case, no check for operator is performed on the input string.
The key for the custom field value filter is the custom_field.id. e.g. Supported operators:
e.g.
e.g.
e.g. Multiple conditions for the same custom field: If you want to use more than one operator to filter a custom field, you can do so by passing in an array of values.
e.g. |
email_only | boolean Filter Contact records to those that have email addresses. |
exclude_ids[] | integer <int64> Filter Contact records to those who are not included in the given list of unique identifiers. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter Contact records to those having the specified unique identifiers. |
initial | string Enum: "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" Filter Contact records to those where the last name or company name start with the given initial. |
limit | integer <int32> A limit on the number of Contact records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "id(asc)" "id(desc)" "name(asc)" "name(desc)" "shared_at(asc)" "shared_at(desc)" Orders the Contact records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search for name, title, email address, address, phone number, web site, instant messenger address, custom fields, related matter name, or company name matching a given string. |
shared_resource_id | integer <int64> Filter Contact records to those that currently have access to a given shared resource. |
type | string Enum: "Company" "Person" Filter Contact records to those that match the given type. |
updated_since | string <date-time> Filter Contact records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { },
- "activity_rates": [
- {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}
], - "addresses": [
- {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}
], - "custom_field_values": [
- {
- "id": "string",
- "etag": "string",
- "field_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "field_type": "checkbox",
- "field_required": true,
- "field_displayed": true,
- "field_display_order": 0,
- "value": "string",
- "soft_deleted": true,
- "custom_field": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}, - "picklist_option": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "display_number": "string"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
], - "custom_field_set_associations": [
- {
- "id": 0,
- "etag": "string",
- "display_order": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "email_addresses": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "string",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "instant_messengers": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "phone_numbers": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "name": "Work",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "web_sites": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "notification_methods": [
- {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "account_balances": [
- {
- "id": 0,
- "balance": 0.1,
- "type": "string",
- "name": "string",
- "currency_id": 0
}
], - "related_contacts": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
], - "primary_work_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "primary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "secondary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "company": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}, - "payment_profile": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "billing_setting_id": 0,
- "name": "string",
- "terms": 0,
- "discount_rate": 0.1,
- "discount_period": 0,
- "interest_rate": 0.1,
- "interest_period": 0,
- "interest_type": "simple"
}, - "folder": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "co_counsel_rate": {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}, - "primary_web_site": {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "legal_aid_uk_contact": {
- "id": 0,
- "disability": 0,
- "disability_code": "string",
- "ethnicity": 0,
- "ethnicity_title": "string",
- "financially_eligible": true,
- "gender": 0,
- "gender_title": "string",
- "national_insurance_number": "string"
}
}
]
}
Create a new Contact
Outlines the parameters and data fields used when creating a new Contact
query Parameters
custom_field_ids[] | integer <int64> Filter Contact's custom_field_values to only include values for the given custom field unique identifiers. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Contacts
required | object | ||||||||||||||||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "addresses": [
- {
- "name": "Work",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string"
}
], - "avatar": {
- "image": "string",
- "_destroy": true
}, - "clio_connect_email": "string",
- "co_counsel_rate": {
- "rate": 0.1
}, - "company": {
- "id": 0
}, - "currency": { },
- "custom_field_set_associations": [
- {
- "display_order": 0,
- "custom_field_set": {
- "id": 0
}
}
], - "custom_field_values": [
- {
- "value": "string",
- "custom_field": {
- "id": 0
}
}
], - "date_of_birth": "2019-08-24",
- "email_addresses": [
- {
- "name": "Work",
- "address": "string",
- "default_email": true
}
], - "first_name": "string",
- "instant_messengers": [
- {
- "name": "Work",
- "address": "string"
}
], - "last_name": "string",
- "ledes_client_id": "string",
- "middle_name": "string",
- "name": "string",
- "phone_numbers": [
- {
- "name": "Work",
- "number": "string",
- "default_number": true
}
], - "prefix": "string",
- "sales_tax_number": "string",
- "title": "string",
- "type": "Person",
- "web_sites": [
- {
- "name": "Work",
- "address": "string",
- "default_web_site": true
}
]
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { },
- "activity_rates": [
- {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}
], - "addresses": [
- {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}
], - "custom_field_values": [
- {
- "id": "string",
- "etag": "string",
- "field_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "field_type": "checkbox",
- "field_required": true,
- "field_displayed": true,
- "field_display_order": 0,
- "value": "string",
- "soft_deleted": true,
- "custom_field": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}, - "picklist_option": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "display_number": "string"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
], - "custom_field_set_associations": [
- {
- "id": 0,
- "etag": "string",
- "display_order": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "email_addresses": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "string",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "instant_messengers": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "phone_numbers": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "name": "Work",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "web_sites": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "notification_methods": [
- {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "account_balances": [
- {
- "id": 0,
- "balance": 0.1,
- "type": "string",
- "name": "string",
- "currency_id": 0
}
], - "related_contacts": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
], - "primary_work_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "primary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "secondary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "company": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}, - "payment_profile": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "billing_setting_id": 0,
- "name": "string",
- "terms": 0,
- "discount_rate": 0.1,
- "discount_period": 0,
- "interest_rate": 0.1,
- "interest_period": 0,
- "interest_type": "simple"
}, - "folder": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "co_counsel_rate": {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}, - "primary_web_site": {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "legal_aid_uk_contact": {
- "id": 0,
- "disability": 0,
- "disability_code": "string",
- "ethnicity": 0,
- "ethnicity_title": "string",
- "financially_eligible": true,
- "gender": 0,
- "gender_title": "string",
- "national_insurance_number": "string"
}
}
}
Return the data for a single Contact
Outlines the parameters, optional and required, used when requesting the data for a single Contact
path Parameters
id required | integer <int64> The unique identifier for the Contact. |
query Parameters
custom_field_ids[] | integer <int64> Filter Contact's custom_field_values to only include values for the given custom field unique identifiers. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { },
- "activity_rates": [
- {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}
], - "addresses": [
- {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}
], - "custom_field_values": [
- {
- "id": "string",
- "etag": "string",
- "field_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "field_type": "checkbox",
- "field_required": true,
- "field_displayed": true,
- "field_display_order": 0,
- "value": "string",
- "soft_deleted": true,
- "custom_field": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}, - "picklist_option": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "display_number": "string"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
], - "custom_field_set_associations": [
- {
- "id": 0,
- "etag": "string",
- "display_order": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "email_addresses": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "string",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "instant_messengers": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "phone_numbers": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "name": "Work",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "web_sites": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "notification_methods": [
- {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "account_balances": [
- {
- "id": 0,
- "balance": 0.1,
- "type": "string",
- "name": "string",
- "currency_id": 0
}
], - "related_contacts": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
], - "primary_work_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "primary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "secondary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "company": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}, - "payment_profile": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "billing_setting_id": 0,
- "name": "string",
- "terms": 0,
- "discount_rate": 0.1,
- "discount_period": 0,
- "interest_rate": 0.1,
- "interest_period": 0,
- "interest_type": "simple"
}, - "folder": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "co_counsel_rate": {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}, - "primary_web_site": {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "legal_aid_uk_contact": {
- "id": 0,
- "disability": 0,
- "disability_code": "string",
- "ethnicity": 0,
- "ethnicity_title": "string",
- "financially_eligible": true,
- "gender": 0,
- "gender_title": "string",
- "national_insurance_number": "string"
}
}
}
Update a single Contact
Outlines the parameters and data fields used when updating a single Contact
path Parameters
id required | integer <int64> The unique identifier for the Contact. |
query Parameters
custom_field_ids[] | integer <int64> Filter Contact's custom_field_values to only include values for the given custom field unique identifiers. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Contacts
required | object | ||||||||||||||||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "addresses": [
- {
- "name": "Work",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "id": 0,
- "_destroy": true
}
], - "avatar": {
- "image": "string",
- "_destroy": true
}, - "clio_connect_email": "string",
- "co_counsel_rate": {
- "rate": 0.1
}, - "company": {
- "id": 0
}, - "currency": { },
- "custom_field_set_associations": [
- {
- "id": 0,
- "display_order": 0,
- "custom_field_set": {
- "id": 0
}, - "_destroy": true
}
], - "custom_field_values": [
- {
- "value": "string",
- "custom_field": {
- "id": 0
}, - "id": 0,
- "_destroy": true
}
], - "date_of_birth": "2019-08-24",
- "email_addresses": [
- {
- "id": 0,
- "name": "Work",
- "address": "string",
- "default_email": true,
- "_destroy": true
}
], - "first_name": "string",
- "instant_messengers": [
- {
- "name": "Work",
- "address": "string",
- "id": 0,
- "_destroy": true
}
], - "last_name": "string",
- "ledes_client_id": "string",
- "middle_name": "string",
- "name": "string",
- "phone_numbers": [
- {
- "name": "Work",
- "number": "string",
- "default_number": true,
- "id": 0,
- "_destroy": true
}
], - "prefix": "string",
- "sales_tax_number": "string",
- "title": "string",
- "type": "Person",
- "web_sites": [
- {
- "name": "Work",
- "address": "string",
- "id": 0,
- "default_web_site": true,
- "_destroy": true
}
]
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { },
- "activity_rates": [
- {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}
], - "addresses": [
- {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}
], - "custom_field_values": [
- {
- "id": "string",
- "etag": "string",
- "field_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "field_type": "checkbox",
- "field_required": true,
- "field_displayed": true,
- "field_display_order": 0,
- "value": "string",
- "soft_deleted": true,
- "custom_field": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}, - "picklist_option": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "matter": {
- "id": 0,
- "display_number": "string"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
}
], - "custom_field_set_associations": [
- {
- "id": 0,
- "etag": "string",
- "display_order": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "email_addresses": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "string",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "instant_messengers": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "phone_numbers": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "name": "Work",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "web_sites": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "notification_methods": [
- {
- "id": 0,
- "etag": "string",
- "type": "Email",
- "email_address": "string",
- "is_default_email_address": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "account_balances": [
- {
- "id": 0,
- "balance": 0.1,
- "type": "string",
- "name": "string",
- "currency_id": 0
}
], - "related_contacts": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}
], - "primary_work_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "primary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "secondary_address": {
- "id": 0,
- "etag": "string",
- "street": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string",
- "country": "string",
- "name": "Work",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "primary": true
}, - "company": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "avatar": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "_destroy": true
}, - "payment_profile": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "billing_setting_id": 0,
- "name": "string",
- "terms": 0,
- "discount_rate": 0.1,
- "discount_period": 0,
- "interest_rate": 0.1,
- "interest_period": 0,
- "interest_type": "simple"
}, - "folder": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "co_counsel_rate": {
- "id": 0,
- "etag": "string",
- "rate": 0.1,
- "flat_rate": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "contact_id": 0,
- "co_counsel_contact_id": 0
}, - "primary_web_site": {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "Work",
- "default_web_site": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "legal_aid_uk_contact": {
- "id": 0,
- "disability": 0,
- "disability_code": "string",
- "ethnicity": 0,
- "ethnicity_title": "string",
- "financially_eligible": true,
- "gender": 0,
- "gender_title": "string",
- "national_insurance_number": "string"
}
}
}
Delete a single Contact
Outlines the parameters, optional and required, used when deleting the record for a single Contact
path Parameters
id required | integer <int64> The unique identifier for the Contact. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Email Addresses are email addresses associated with a Contact. This endpoint returns all email addresses associated with a Contact.
Return the data for all EmailAddresses
Outlines the parameters, optional and required, used when requesting the data for all EmailAddresses
path Parameters
contact_id required | integer <int64> ID of the Contact |
query Parameters
created_since | string <date-time> Filter EmailAddress records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter EmailAddress records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of EmailAddress records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter EmailAddress records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "address": "string",
- "name": "string",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Phone Numbers are phone numbers associated with a Contact. This endpoint returns all phone numbers associated with a Contact.
Return the data for all PhoneNumbers
Outlines the parameters, optional and required, used when requesting the data for all PhoneNumbers
path Parameters
contact_id required | integer <int64> ID of the Contact |
query Parameters
created_since | string <date-time> Filter PhoneNumber records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter PhoneNumber records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of PhoneNumber records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter PhoneNumber records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "number": "string",
- "name": "Work",
- "primary": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Notes can be added to Matters or Contacts in Clio to record meeting notes, research, or anything else a user might want. The field can hold hundreds of pages, so users can add plenty of information.
Notes can be found either on the Matters or Contacts page under the Notes sub tab.
Return the data for all Notes
Outlines the parameters, optional and required, used when requesting the data for all Notes
query Parameters
contact_id | integer <int64> The unique identifier for a single Contact. The keyword |
created_since | string <date-time> Filter Note records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
has_time_entries | boolean Filter Note records to those with or without associated time entries. |
ids[] | integer <int64> Filter Note records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Note records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. The keyword |
order | string Enum: "id(asc)" "id(desc)" "date(asc)" "date(desc)" "author(asc)" "author(desc)" "updated_at(asc)" "updated_at(desc)" Orders the Note records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search across note subject and detail. |
type required | string Enum: "Matter" "Contact" Filter Note records to those of the specified type. |
updated_since | string <date-time> Filter Note records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0,
- "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "author": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Create a new Note
Outlines the parameters and data fields used when creating a new Note
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Notes
required | object | ||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "contact": {
- "id": 0
}, - "date": "2019-08-24",
- "detail": "string",
- "detail_text_type": "plain_text",
- "matter": {
- "id": 0
}, - "notification_event_subscribers": [
- {
- "user_id": "string"
}
], - "subject": "string",
- "type": "Matter"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0,
- "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "author": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Return the data for a single Note
Outlines the parameters, optional and required, used when requesting the data for a single Note
path Parameters
id required | integer <int64> The unique identifier for the Note. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0,
- "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "author": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Update a single Note
Outlines the parameters and data fields used when updating a single Note
path Parameters
id required | integer <int64> The unique identifier for the Note. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Notes
required | object | ||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "date": "2019-08-24",
- "detail": "string",
- "detail_text_type": "plain_text",
- "notification_event_subscribers": [
- {
- "user_id": "string",
- "id": 0,
- "_destroy": true
}
], - "subject": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "type": "Matter",
- "subject": "string",
- "detail": "string",
- "detail_text_type": "plain_text",
- "date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "time_entries_count": 0,
- "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "author": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "time_entries": [
- {
- "id": 0,
- "etag": "string",
- "type": "TimeEntry",
- "date": "2019-08-24",
- "quantity_in_hours": 0.1,
- "rounded_quantity_in_hours": 0.1,
- "quantity": 0.1,
- "rounded_quantity": 0.1,
- "quantity_redacted": true,
- "price": 0.1,
- "note": "string",
- "flat_rate": true,
- "billed": true,
- "on_bill": true,
- "total": 0.1,
- "contingency_fee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "reference": "string",
- "non_billable": true,
- "non_billable_total": 0.1,
- "no_charge": true,
- "tax_setting": "no_tax",
- "currency": { }
}
], - "notification_event_subscribers": [
- {
- "id": 0,
- "etag": "string",
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Delete a single Note
Outlines the parameters, optional and required, used when deleting the record for a single Note
path Parameters
id required | integer <int64> The unique identifier for the Note. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Log Entries populate the “Recents” dropdown in the header. The “Recent” section displays the ten Matters and Contacts that the user most recently accessed.
When a user accesses a Contact or a Matter, a Log Entry is created.
Return the data for all LogEntries
Outlines the parameters, optional and required, used when requesting the data for all LogEntries
query Parameters
created_since | string <date-time> Filter LogEntry records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter LogEntry records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of LogEntry records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "id(asc)" "id(desc)" "accessed_at(asc)" "accessed_at(desc)" Orders the LogEntry records by the given field. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter LogEntry records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "type": "MatterLogEntry",
- "accessed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "item": {
- "id": 0,
- "type": "Task",
- "identifier": "string",
- "secondary_identifier": "string",
- "tertiary_identifier": "string"
}, - "user": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "created_at": "2019-08-24T14:15:22Z",
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "first_name": "string",
- "id": 0,
- "initials": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "roles": [
- "string"
], - "subscription_type": "Attorney",
- "time_zone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
}
Jurisdictions-to-Triggers calculates the effective dates of related court and agency rules that a lawyer must do for a Trigger. A Trigger is an activity or event which a lawyer or court does in a jurisdiction.
These activities and events have corresponding deadlines, which the firm must be aware of. These deadlines can be before or after the Trigger. Example Triggers are “Mediation-Session Completed, “Notice of Appeal Filed,” ” or “Settlement Conference.”
Jurisdiction Triggers are part of the Court Rules feature which is not available to all plan types. See here for feature support across different plans.
Note that only account Administrators can add Court Rules jurisdictions.
Return the data for all triggers
Outlines the parameters, optional and required, used when requesting the data for all JurisdictionsToTriggers
path Parameters
jurisdiction_id required | integer <int64> The unique identifier for the Jurisdiction. |
query Parameters
created_since | string <date-time> Filter JurisdictionsToTrigger records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter JurisdictionsToTrigger records to those having the specified unique identifiers. |
is_requirements_required | boolean Filter JurisdictionsToTrigger records to those which require addition requirements to be checked (usually specifying trigger time). |
is_served | boolean Filter JurisdictionsToTrigger records to those which require a service type to be selected. |
limit | integer <int32> A limit on the number of JurisdictionsToTrigger records to be returned. Limit can range between 1 and 1000. Default: |
order | string Enum: "description(asc)" "description(desc)" "id(asc)" "id(desc)" Orders the JurisdictionsToTrigger records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
updated_since | string <date-time> Filter JurisdictionsToTrigger records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "system_id": 0,
- "description": "string",
- "do_not_recalculate": true,
- "is_served": true,
- "is_requirements_required": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Return the data for the trigger
Outlines the parameters, optional and required, used when requesting the data for a single JurisdictionsToTrigger
path Parameters
id required | integer <int64> The unique identifier for the JurisdictionsToTrigger. |
jurisdiction_id required | integer <int64> The unique identifier for the Jurisdiction. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "system_id": 0,
- "description": "string",
- "do_not_recalculate": true,
- "is_served": true,
- "is_requirements_required": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
There are over 1000 jurisdictions available to choose from when using Court Rules. These jurisdictions contain state, federal, appellate, and bankruptcy courts from across the United States.
Jurisdictions are part of the Court Rules feature which is not available to all plan types. See here for feature support across different plans.
Return the data for all jurisdictions
Outlines the parameters, optional and required, used when requesting the data for all Jurisdictions
query Parameters
created_since | string <date-time> Filter Jurisdiction records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
for_current_account | boolean Filter Jurisdiction records to those set up for this account. |
ids[] | integer <int64> Filter Jurisdiction records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of Jurisdiction records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "description(asc)" "description(desc)" "id(asc)" "id(desc)" Orders the Jurisdiction records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
updated_since | string <date-time> Filter Jurisdiction records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true,
- "display_timezone": "string",
- "valid_subscription": true,
- "is_local_timezone": true,
- "service_types": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true
}
]
}
]
}
Return the data for the jurisdiction
Outlines the parameters, optional and required, used when requesting the data for a single Jurisdiction
path Parameters
id required | integer <int64> The unique identifier for the Jurisdiction. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true,
- "display_timezone": "string",
- "valid_subscription": true,
- "is_local_timezone": true,
- "service_types": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true
}
]
}
}
A Matter Docket connects a Matter with a Court Rule (and all of the Calendar Entries associated with the Court Rule). Matter Dockets are viewable on the Matter Edit screen under the Court Rules heading.
Matter Dockets are part of the Court Rules feature which is not available to all plan types. See here for feature support across different plans.
Preview calendar dates for the docket
Preview calendar dates for the docket
query Parameters
event_prefix | string The prefix that will be added to the beginning of all court rule event titles |
jurisdiction[id] required | integer <int64> The unique identifier for a single Jurisdiction. The keyword |
service_type[id] required | integer <int64> The unique identifier for a single ServiceType. The keyword |
start_date required | string <date-time> The date the MatterDocket should start. (Expects an ISO-8601 date). |
start_time required | string <date-time> The time the MatterDocket should start. (Expects an ISO-8601 timestamp). |
trigger[id] required | integer <int64> The unique identifier for a single JurisdictionsToTrigger. The keyword |
Responses
Response samples
- 400
- 401
- 404
- 429
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all matter dockets
Outlines the parameters, optional and required, used when requesting the data for all MatterDockets
query Parameters
created_since | string <date-time> Filter MatterDocket records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter MatterDocket records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of MatterDocket records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. The keyword |
matter_status | string Enum: "open" "closed" "pending" Filter MatterDocket records to those with Matters having a specific status. |
order | string Enum: "id(asc)" "id(desc)" "date(asc)" "date(desc)" Orders the MatterDocket records by the given field. Default: |
page_token | string A token specifying which page to return. |
query | string Wildcard search for |
service_type_id | integer <int64> The unique identifier for a single ServiceType. Use the keyword |
status | string Enum: "not_started," "in_progress," "failed," "completed" Filter MatterDocket records to those having a specific status. |
updated_since | string <date-time> Filter MatterDocket records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "jurisdiction": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true,
- "display_timezone": "string",
- "valid_subscription": true,
- "is_local_timezone": true
}, - "trigger": {
- "id": 0,
- "etag": "string",
- "system_id": 0,
- "description": "string",
- "do_not_recalculate": true,
- "is_served": true,
- "is_requirements_required": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "service_type": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true
}, - "calendar_entries": [
- {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0
}
]
}
]
}
Creates a matter docket
Outlines the parameters and data fields used when creating a new MatterDocket
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Matter Dockets
required | object | ||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "jurisdiction": {
- "id": 0
}, - "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "trigger": {
- "id": 0
}
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "jurisdiction": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true,
- "display_timezone": "string",
- "valid_subscription": true,
- "is_local_timezone": true
}, - "trigger": {
- "id": 0,
- "etag": "string",
- "system_id": 0,
- "description": "string",
- "do_not_recalculate": true,
- "is_served": true,
- "is_requirements_required": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "service_type": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true
}, - "calendar_entries": [
- {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0
}
]
}
}
Return the data for the matter docket
Outlines the parameters, optional and required, used when requesting the data for a single MatterDocket
path Parameters
id required | integer <int64> The unique identifier for the MatterDocket. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "start_date": "2019-08-24",
- "start_time": "2019-08-24T14:15:22Z",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "jurisdiction": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true,
- "display_timezone": "string",
- "valid_subscription": true,
- "is_local_timezone": true
}, - "trigger": {
- "id": 0,
- "etag": "string",
- "system_id": 0,
- "description": "string",
- "do_not_recalculate": true,
- "is_served": true,
- "is_requirements_required": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "service_type": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true
}, - "calendar_entries": [
- {
- "id": "string",
- "etag": "string",
- "summary": "string",
- "description": "string",
- "location": "string",
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z",
- "all_day": true,
- "recurrence_rule": "string",
- "parent_calendar_entry_id": 0,
- "court_rule": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permission": "string",
- "calendar_owner_id": 0,
- "start_at_time_zone": "string",
- "time_entries_count": 0
}
]
}
}
Deletes the requested matter docket
Outlines the parameters, optional and required, used when deleting the record for a single MatterDocket
path Parameters
id required | integer <int64> The unique identifier for the MatterDocket. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Service Types are used when creating new Court Rules involving the delivery of documents. In order to calculate the correct deadline to send the document, an account will specify their Service Type.
Current Service Types;
- Express mail outside country
- Mail outside country
- Personal/hand
- Mail outside state
- Electronic service
- Fax service
- Express/Overnight
- Regular mail
- Electronic service - 0 days
Service Types are part of the Court Rules feature which is not available to all plan types. See here for feature support across different plans.
Return the data for all service types
Outlines the parameters, optional and required, used when requesting the data for all ServiceTypes
query Parameters
created_since | string <date-time> Filter ServiceType records to those having the |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter ServiceType records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of ServiceType records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "description(asc)" "description(desc)" "id(asc)" "id(desc)" Orders the ServiceType records by the given field. Default: |
page_token | string A token specifying which page to return. |
updated_since | string <date-time> Filter ServiceType records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true
}
]
}
Return the data for the service type
Outlines the parameters, optional and required, used when requesting the data for a single ServiceType
path Parameters
id required | integer <int64> The unique identifier for the ServiceType. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "system_id": 0,
- "description": "string",
- "default": true
}
}
Return the data for all CustomFields
Outlines the parameters, optional and required, used when requesting the data for all CustomFields
query Parameters
created_since | string <date-time> Filter CustomField records to those having the |
deleted | boolean Filter CustomField records to those that have been deleted for future use. |
field_type | string Enum: "checkbox" "contact" "currency" "date" "time" "email" "matter" "numeric" "picklist" "text_area" "text_line" "url" Field type of this custom field |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter CustomField records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of CustomField records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "id(asc)" "id(desc)" "name(asc)" "name(desc)" "display_order(asc)" "display_order(desc)" Orders the CustomField records by the given field. Default: |
page_token | string A token specifying which page to return. |
parent_type | string Enum: "matter" "contact" Filter CustomField records to those that have the specified |
query | string Wildcard search for |
updated_since | string <date-time> Filter CustomField records to those having the |
visible_and_required | boolean Filter CustomField records to those that are visible and required. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Create a new CustomField
Outlines the parameters and data fields used when creating a new CustomField
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Custom Fields
required | object | ||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "display_order": 0,
- "displayed": true,
- "field_type": "checkbox",
- "name": "string",
- "parent_type": "Contact",
- "picklist_options": [
- {
- "id": 0,
- "option": "string",
- "_deleted": true
}
], - "required": false
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
}
Return the data for a single CustomField
Outlines the parameters, optional and required, used when requesting the data for a single CustomField
path Parameters
id required | integer <int64> The unique identifier for the CustomField. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
}
Update a single CustomField
Outlines the parameters and data fields used when updating a single CustomField
path Parameters
id required | integer <int64> The unique identifier for the CustomField. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Custom Fields
required | object | ||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "display_order": 0,
- "displayed": true,
- "name": "string",
- "picklist_options": [
- {
- "id": 0,
- "option": "string",
- "_deleted": true
}
], - "required": false
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0,
- "picklist_options": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "option": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
}
Delete a single CustomField
Outlines the parameters, optional and required, used when deleting the record for a single CustomField
path Parameters
id required | integer <int64> The unique identifier for the CustomField. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Return the data for all CustomFieldSets
Outlines the parameters, optional and required, used when requesting the data for all CustomFieldSets
query Parameters
created_since | string <date-time> Filter CustomFieldSet records to those having the |
displayed | boolean Filter CustomFieldSet records to those that should be displayed by default. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter CustomFieldSet records to those having the specified unique identifiers. |
limit | integer <int32> A limit on the number of CustomFieldSet records to be returned. Limit can range between 1 and 200. Default: |
order | string Enum: "name(asc)" "name(desc)" "id(asc)" "id(desc)" "parent_type(asc)" "parent_type(desc)" Orders the CustomFieldSet records by the given field. Default: |
page_token | string A token specifying which page to return. |
parent_type | string Enum: "Matter" "Contact" Filter CustomFieldSet records to those that have the specified |
query | string Wildcard search for |
updated_since | string <date-time> Filter CustomFieldSet records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "parent_type": "Contact",
- "displayed": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "custom_fields": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0
}
]
}
]
}
Create a new CustomFieldSet
Outlines the parameters and data fields used when creating a new CustomFieldSet
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Custom Field Sets
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "displayed": true,
- "name": "string",
- "parent_type": "Contact"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "parent_type": "Contact",
- "displayed": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "custom_fields": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0
}
]
}
}
Return the data for a single CustomFieldSet
Outlines the parameters, optional and required, used when requesting the data for a single CustomFieldSet
path Parameters
id required | integer <int64> The unique identifier for the CustomFieldSet. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "parent_type": "Contact",
- "displayed": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "custom_fields": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0
}
]
}
}
Update a single CustomFieldSet
Outlines the parameters and data fields used when updating a single CustomFieldSet
path Parameters
id required | integer <int64> The unique identifier for the CustomFieldSet. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Custom Field Sets
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "displayed": true,
- "name": "string",
- "parent_type": "Contact"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "parent_type": "Contact",
- "displayed": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "custom_fields": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_type": "Contact",
- "field_type": "checkbox",
- "displayed": true,
- "deleted": true,
- "required": true,
- "display_order": 0
}
]
}
}
Delete a single CustomFieldSet
Outlines the parameters, optional and required, used when deleting the record for a single CustomFieldSet
path Parameters
id required | integer <int64> The unique identifier for the CustomFieldSet. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 403
{- "error": {
- "type": "string",
- "message": "string"
}
}
Clio Documents are files uploaded to Clio. Files uploaded to Clio’s document integrations (e.g. Google Drive and Office365) are inaccessible through the API.
Create a document to a parent that can refer to a Matter
or a Folder
. Ensure to ask for the fields, id
and latest_document_version{uuid,put_url,put_headers}
. The put_url
is a signed URL with security credentials for uploading the document. The put_headers
are required request headers for uploading the document. Check out the example to upload a new document to the matter folder of Matter
with id 1
:
Request
POST api/v4/documents?fields=id,latest_document_version{uuid,put_url,put_headers}
"data": {
"name": "file.jpg",
"parent": {
"id": 1,
"type": "Matter"
}
}
Response
{
"data": {
"id": 1234,
"latest_document_version": {
"uuid": "a51faa2c-859e-4c08-a996-2d0bb385df90",
"put_url": "https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/a51faa2c-859e-4c08-a996-2d0bb385df90/file.jpg?X-Amz-Expires=28800&X-Amz-Date=20171024T214532Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_key}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-type%3Bhost%3Bx-amz-server-side-encryption&X-Amz-Signature=afe5000df0972d02884a2219f913bfa62fe2531c75b4fcd1edbcb84d267d2b8e",
"put_headers": [
{
"name": "x-amz-server-side-encryption",
"value": "AES256"
},
{
"name": "Content-Type",
"value": "image/jpeg"
}
]
}
}
}
If the extension is listed in the IANA Media Types registry Clio will apply the corresponding content type as determined by the file extension when content_type
is blank. One of the nine possible content types content_type
= “text” / “image” / “audio” / “video” / “application” / “font” / “model” / “message” / “multipart” must be submitted if the file type is uncommon, not listed in the IANA Media Types registry or not obvious from the extension.
Upload the document
Upload the document to the put_url
with the headers from puts_headers
given in the response of the previous step. Typically the headers include Content-Type
and x-amz-server-side-encryption
to match with the signature in the put_url
. Check out the example to upload the file content using curl:
curl -X PUT -T file.jpg
-H "Content-Type: image/jpeg"
-H "x-amz-server-side-encryption: AES256"
"https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/a51faa2c-859e-4c08-a996-2d0bb385df90/file.jpg?X-Amz-Expires=28800&X-Amz-Date=20171024T214532Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_key}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-type%3Bhost%3Bx-amz-server-side-encryption&X-Amz-Signature=afe5000df0972d02884a2219f913bfa62fe2531c75b4fcd1edbcb84d267d2b8e"
If you need MD5 checksum, you should use multipart upload.
Mark the document as fully-uploaded
After successfully completing the upload, mark the document fully uploaded with fully_uploaded
as true
, and uuid
given in the first step. Clio will verify if the file is uploaded successfully. If not, it raises UploadNotFoundError
error. It is possible for the verification to time out, which will return an UploadTimeoutError
error. When that happens, you will need to retry the request.
Request
PATCH api/v4/documents/1234?fields=id,latest_document_version{fully_uploaded}
"data": {
"uuid": "a51faa2c-859e-4c08-a996-2d0bb385df90",
"fully_uploaded": "true"
}
}
Response (success)
{
"data": {
"id": 12345,
"latest_document_version": {
"fully_uploaded": true
}
}
}
Response (error)
{
"error": {
"type": "UploadNotFoundError",
"message": "A matching remote file was not found for the file named file.jpg with UUID a51faa2c-859e-4c08-a996-2d0bb385df90"
}
}
Response (timeout)
{
"error": {
"type": "UploadTimeoutError",
"message": "A timeout occurred verifying the remote file. Please try the request again."
}
}
The file is now visible in Clio documents and is available to the user for download.
It is same as uploading a new document to Clio except setting the parent
to an existing Document
. Check out the example to upload a new document version for the document with id 1234
:
Request
POST api/v4/documents?fields=id,latest_document_version{uuid,put_url,put_headers}
"data": {
"name": "file.jpg",
"parent": {
"id": 1234,
"type": "Document"
}
}
}
The remaining steps are same as uploading a new document to Clio.
In general, when a file reaches 100 MB, you should consider using multipart upload instead of uploading in a single operation. Except the last part, each part should be at least 5 MB. Determine the number of file parts and split the file. Optionally, you may compute the base64-encoded 128-bit MD5 mechanism as an end-to-end integrity check for each file part. To determine the base64 MD5 checksum for a file part, you may use openssl
. Check out the example to split a big pdf and get the checksums of the file parts:
split -b 31457280 big.pdf big.pdf. # break the file to max. 30MB size
openssl md5 -binary big.pdf.aa | base64 # F16pda4G0h4lzH7d2/Jbdw==
openssl md5 -binary big.pdf.ab | base64 # cRbxEG//GK9rIze5tdYzcg==
openssl md5 -binary big.pdf.ac | base64 # Tck0KKU4SrmSp8hsSCuSYg==
openssl md5 -binary big.pdf.ad | base64 # CrIt7lbZzVhMV7JzVTkUvw==
Create the document
Create a document, specify multiparts
for multipart upload, and ensure to ask for the fields, id
, and latest_document_version{uuid,multiparts}
. A multipart
consists of part_number
, content_length
, and optional content_md5
. In the response, a put_url
is appended to the multipart
. A put_url
is a signed URL with security credentials for uploading a file part. The signed URL expires in 8 hours. The API can handle maximum 50 multiparts
in one request. If the upload is split to more than 50 parts, make a PUT request with uuid
, fully_uploaded
as false
, and another set of multiparts
. It returns a set of put_url
for the specified multiparts
. Check out the example to upload a new document to the matter folder of Matter
with id 1
:
Request
POST api/v4/documents?fields=id,latest_document_version{uuid,put_headers,multiparts}
"data": {
"name": "big.pdf",
"parent": {
"id": 1,
"type": "Matter"
}
"multiparts": [
{
"part_number": 1,
"content_length": 31457280,
"content_md5": "F16pda4G0h4lzH7d2/Jbdw=="
},
{
"part_number": 2,
"content_length": 31457280,
"content_md5": "cRbxEG//GK9rIze5tdYzcg=="
},
{
"part_number": 3,
"content_length": 31457280,
"content_md5": "Tck0KKU4SrmSp8hsSCuSYg=="
},
{
"part_number": 4,
"content_length": 7316647,
"content_md5": "CrIt7lbZzVhMV7JzVTkUvw=="
}
]
}
Response
{
"data": {
"id": 1234,
"latest_document_version": {
"uuid": "eba78724-31e8-4529-b6e2-0f2eef6feeec",
"put_headers": [
{
"name": "x-amz-server-side-encryption",
"value": "AES256"
},
{
"name": "Content-Type",
"value": "application/pdf"
}
],
"multiparts": [
{
"part_number": 1,
"put_url": "https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/eba78724-31e8-4529-b6e2-0f2eef6feeec/big.pdf?uploadId=XG9arnSRfpXVFj4NYCoj66e.iUtET050CFds7GGwb4_J6J26Ysgn_fLCK7pI5KRzJRmBOB_Oa.dle.nn4JLKos_cdRXN6f6Hb0IACkgiN6Wa2XGNv9fZQwgfqmMey1DN&partNumber=1&X-Amz-Expires=28800&X-Amz-Date=20171024T231538Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_token}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-md5%3Bhost&X-Amz-Signature=f7b3f29e4aee3abfa93fb42a7969557a2a0d305d223dde641c78421b5a6d62e0",
"put_headers": [
{
"name": "Content-Length",
"value": "31457280"
},
{
"name": "Content-MD5",
"value": "F16pda4G0h4lzH7d2/Jbdw=="
}
]
},
{
"part_number": 2,
"put_url": "https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/eba78724-31e8-4529-b6e2-0f2eef6feeec/big.pdf?uploadId=XG9arnSRfpXVFj4NYCoj66e.iUtET050CFds7GGwb4_J6J26Ysgn_fLCK7pI5KRzJRmBOB_Oa.dle.nn4JLKos_cdRXN6f6Hb0IACkgiN6Wa2XGNv9fZQwgfqmMey1DN&partNumber=2&X-Amz-Expires=28800&X-Amz-Date=20171024T231538Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_token}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-md5%3Bhost&X-Amz-Signature=47dc30f90202654c13030ccce87e43622bb47e0ad155ae61f6b41e8097803950",
"put_headers": [
{
"name": "Content-Length",
"value": "31457280"
},
{
"name": "Content-MD5",
"value": "cRbxEG//GK9rIze5tdYzcg=="
}
]
},
{
"part_number": 3,
"put_url": "https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/eba78724-31e8-4529-b6e2-0f2eef6feeec/big.pdf?uploadId=XG9arnSRfpXVFj4NYCoj66e.iUtET050CFds7GGwb4_J6J26Ysgn_fLCK7pI5KRzJRmBOB_Oa.dle.nn4JLKos_cdRXN6f6Hb0IACkgiN6Wa2XGNv9fZQwgfqmMey1DN&partNumber=3&X-Amz-Expires=28800&X-Amz-Date=20171024T231538Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_token}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-md5%3Bhost&X-Amz-Signature=13ca827a73fb2c50e8062ef7e437cfe9158944d998e2770a2ffcd034be6c2fc7",
"put_headers": [
{
"name": "Content-Length",
"value": "31457280"
},
{
"name": "Content-MD5",
"value": "Tck0KKU4SrmSp8hsSCuSYg=="
}
]
},
{
"part_number": 4,
"put_url": "https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/eba78724-31e8-4529-b6e2-0f2eef6feeec/big.pdf?uploadId=XG9arnSRfpXVFj4NYCoj66e.iUtET050CFds7GGwb4_J6J26Ysgn_fLCK7pI5KRzJRmBOB_Oa.dle.nn4JLKos_cdRXN6f6Hb0IACkgiN6Wa2XGNv9fZQwgfqmMey1DN&partNumber=4&X-Amz-Expires=28800&X-Amz-Date=20171024T231538Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_token}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-md5%3Bhost&X-Amz-Signature=25773f971c4c663b3a87f4d35c5b4c5192c3c999c7efdd69a49bc5bc40677078",
"put_headers": [
{
"name": "Content-Length",
"value": "7316647"
},
{
"name": "Content-MD5",
"value": "CrIt7lbZzVhMV7JzVTkUvw=="
}
]
}
]
}
}
}
Upload the document
Upload each multipart to the corresponding put_url
. You can upload the parts independently and in any order. If transmission of any part fails, you can re-transmit that part without affecting other parts. Make sure to include the headers from puts_headers
. Typically the headers include Content-Length
, to match with the signature in the put_url
. Check out the example using curl:
curl -X PUT -T big.pdf.part1
-H "Content-Length: 31457280"
"https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/eba78724-31e8-4529-b6e2-0f2eef6feeec/big.pdf?uploadId=XG9arnSRfpXVFj4NYCoj66e.iUtET050CFds7GGwb4_J6J26Ysgn_fLCK7pI5KRzJRmBOB_Oa.dle.nn4JLKos_cdRXN6f6Hb0IACkgiN6Wa2XGNv9fZQwgfqmMey1DN&partNumber=1&X-Amz-Expires=28800&X-Amz-Date=20171024T231538Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_token}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-md5%3Bhost&X-Amz-Signature=f7b3f29e4aee3abfa93fb42a7969557a2a0d305d223dde641c78421b5a6d62e0"
If you use MD5 checksum to validate the integrity of upload, include Content-MD5
in the header:
curl -X PUT -T big.pdf.part1
-H "Content-Length: 31457280"
-H "Content-MD5: F16pda4G0h4lzH7d2/Jbdw=="
"https://s3.us-west-2.amazonaws.com/iris-production/uploads/document_version/file/eba78724-31e8-4529-b6e2-0f2eef6feeec/big.pdf?uploadId=XG9arnSRfpXVFj4NYCoj66e.iUtET050CFds7GGwb4_J6J26Ysgn_fLCK7pI5KRzJRmBOB_Oa.dle.nn4JLKos_cdRXN6f6Hb0IACkgiN6Wa2XGNv9fZQwgfqmMey1DN&partNumber=1&X-Amz-Expires=28800&X-Amz-Date=20171024T231538Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential={aws_access_token}/20171024/us-west-2/s3/aws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-md5%3Bhost&X-Amz-Signature=f7b3f29e4aee3abfa93fb42a7969557a2a0d305d223dde641c78421b5a6d62e0"
If the file is invalid or the MD5 is invalid, you may get the following response:
<Error>
<Code>BadDigest</Code>
<Message>The Content-MD5 you specified did not match what we received.</Message>
<ExpectedDigest>F16pda4G0h4lzH7d2/Jbdw==</ExpectedDigest>
<CalculatedDigest>Tck0KKU4SrmSp8hsSCuSYg==</CalculatedDigest>
<RequestId>85918626116672DD</RequestId>
<HostId>AbAoiqYqn8tKwS6gxwI3pc4u02B6u6ORa6MPEJH7IYljBweZp0M8L7Lg2AFOvHxdHz5TwlQpkVs=</HostId>
</Error>
After the issue is corrected, try to upload to the file part to the put_url
again.
Mark the document as fully-uploaded
After successfully completing the upload of all the file parts, mark the document fully uploaded with fully_uploaded
as true
, and uuid
given in the first step. Clio will verify if the file is uploaded successfully. If not, it raises UploadNotFoundError
error. It is possible for the verification to time out, which will return an UploadTimeoutError
error. When that happens, you will need to retry the request.
Request
PATCH api/v4/documents/1234?fields=id,latest_document_version{fully_uploaded}
"data": {
"uuid": "eba78724-31e8-4529-b6e2-0f2eef6feeec",
"fully_uploaded": "true"
}
}
Response (success)
{
"data": {
"id": 12345,
"latest_document_version": {
"fully_uploaded": true
}
}
}
Response (error)
{
"error": {
"type": "UploadNotFoundError",
"message": "A matching remote file was not found for the file named file.jpg with UUID a51faa2c-859e-4c08-a996-2d0bb385df90"
}
}
Response (timeout)
{
"error": {
"type": "UploadTimeoutError",
"message": "A timeout occurred verifying the remote file. Please try the request again."
}
}
The file is now visible in Clio documents and is available to the user for download.
It is same as splitting and uploading a new document using multipart upload, except setting the parent
to an existing Document
. Check out the example to upload a new document version for the document with id 1234
:
Request
POST api/v4/documents?fields=id,latest_document_version{uuid,put_headers,multiparts}
"data": {
"name": "big.pdf",
"parent": {
"id": 1234,
"type": "Document"
}
"multiparts": [
{
"part_number": 1,
"content_length": 31457280,
"content_md5": "F16pda4G0h4lzH7d2/Jbdw=="
},
{
"part_number": 2,
"content_length": 31457280,
"content_md5": "cRbxEG//GK9rIze5tdYzcg=="
},
{
"part_number": 3,
"content_length": 31457280,
"content_md5": "Tck0KKU4SrmSp8hsSCuSYg=="
},
{
"part_number": 4,
"content_length": 7316647,
"content_md5": "CrIt7lbZzVhMV7JzVTkUvw=="
}
]
}
The remaining steps are same as uploading a new document to Clio.
Copy a Document
Copies the latest document version of a Document into a new Document. The parameters filename
and name
will be copied from the source Document if none are provided.
path Parameters
id required | integer <int64> The unique identifier for the Document. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
Request Body schema: optional
Request Body for Documents
required | object | ||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "communication_id": 0,
- "document_category": {
- "id": 0
}, - "external_properties": [
- {
- "id": 0,
- "name": "string",
- "value": "string",
- "_destroy": true
}
], - "filename": "name",
- "name": "string",
- "parent": {
- "id": 0,
- "type": "Document"
}, - "received_at": "2019-08-24T14:15:22Z"
}
}
Response samples
- 201
- 400
- 404
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string",
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true,
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "put_headers": [
- {
- "name": "string",
- "value": "string"
}
], - "multiparts": [
- {
- "part_number": 0,
- "put_url": "string",
- "put_headers": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "document_versions": [
- {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}
]
}
}
Return the data for all Documents
Outlines the parameters, optional and required, used when requesting the data for all Documents
query Parameters
contact_id | integer <int64> The unique identifier for a single Contact. Use the keyword |
created_since | string <date-time> Filter Document records to those having the |
document_category_id | integer <int64> The unique identifier for a single DocumentCategory. Use the keyword |
external_property_name | string Filter records to only those with the given external property(s) name set. e.g. |
external_property_value | string Filter records to only those with the given external property(s) value set. Requires external property name as well. e.g. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter Document records to those having the specified unique identifiers. |
include_deleted | boolean Allow trashed Document record to be included. |
limit | integer <int32> A limit on the number of Document records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
order | string Enum: "created_at(asc)" "created_at(desc)" "document_number(asc)" "document_number(desc)" "id(asc)" "id(desc)" "name(asc)" "name(desc)" "received_at(asc)" "received_at(desc)" "updated_at(asc)" "updated_at(desc)" Orders the Document records by the given field. Default: |
page_token | string A token specifying which page to return. |
parent_id | integer <int64> The unique identifier for a single Folder. Use the keyword |
query | string Wildcard search for |
scope | string Enum: "descendants" "children" Filters Document record to those being a child of the parent Folder, or a descendant of the parent Folder. Default is |
show_uncompleted | boolean Allow Document record being uploaded to be included. |
updated_since | string <date-time> Filter Document records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string",
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true,
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "put_headers": [
- {
- "name": "string",
- "value": "string"
}
], - "multiparts": [
- {
- "part_number": 0,
- "put_url": "string",
- "put_headers": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "document_versions": [
- {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}
]
}
]
}
Create a new Document
Create a Document, or Create Document Version to an existing Document.
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Documents
required | object | ||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "communication_id": 0,
- "content_type": "string",
- "document_category": {
- "id": 0
}, - "external_properties": [
- {
- "name": "string",
- "value": "string"
}
], - "filename": "name",
- "multiparts": [
- {
- "part_number": 0,
- "content_length": "string",
- "content_md5": "string"
}
], - "name": "string",
- "parent": {
- "id": 0,
- "type": "Document"
}, - "received_at": "2019-08-24T14:15:22Z"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string",
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true,
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "put_headers": [
- {
- "name": "string",
- "value": "string"
}
], - "multiparts": [
- {
- "part_number": 0,
- "put_url": "string",
- "put_headers": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "document_versions": [
- {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}
]
}
}
Return the data for a single Document
Outlines the parameters, optional and required, used when requesting the data for a single Document
path Parameters
id required | integer <int64> The unique identifier for the Document. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string",
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true,
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "put_headers": [
- {
- "name": "string",
- "value": "string"
}
], - "multiparts": [
- {
- "part_number": 0,
- "put_url": "string",
- "put_headers": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "document_versions": [
- {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}
]
}
}
Update a single Document
Update Document, move Document to another Folder, and/or restore a trashed Document.
path Parameters
id required | integer <int64> The unique identifier for the Document. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MATCH | string The server will update the requested resource and send back a 200 status, but only if value in the header matches the existing resource's ETag. |
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Documents
required | object | ||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "communication_id": 0,
- "copy_version": true,
- "document_category": {
- "id": 0
}, - "external_properties": [
- {
- "id": 0,
- "name": "string",
- "value": "string",
- "_destroy": true
}
], - "fully_uploaded": true,
- "multiparts": [
- {
- "part_number": 0,
- "content_length": "string",
- "content_md5": "string"
}
], - "name": "string",
- "parent": {
- "id": 0,
- "type": "Document"
}, - "received_at": "2019-08-24T14:15:22Z",
- "restore": true,
- "uuid": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "content_type": "string",
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true,
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "put_headers": [
- {
- "name": "string",
- "value": "string"
}
], - "multiparts": [
- {
- "part_number": 0,
- "put_url": "string",
- "put_headers": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "document_versions": [
- {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}
]
}
}
Delete a single Document
Deleting a Document using this method will move it to the trash instead of permanently deleting it. Trashed Documents are permanently deleted after 30 days. The following errors may be returned:
409 Conflict
: The Document (or one of its ancestor folders) is currently being modified by another request, and cannot be trashed.
path Parameters
id required | integer <int64> The unique identifier for the Document. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 409
{- "error": {
- "type": "string",
- "message": "string"
}
}
Versions contain information about the version history of a document. Versioning allows users to track changes made to a document over time.
Return the data for all DocumentVersions
Outlines the parameters, optional and required, used when requesting the data for all DocumentVersions
path Parameters
id required | integer <int64> ID of the Document |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
fully_uploaded | boolean Filter DocumentVersion records to those with the given |
id required | integer <int64> The unique identifier for the DocumentVersion. |
limit | integer <int32> A limit on the number of DocumentVersion records to be returned. Limit can range between 1 and 200. Default: |
page_token | string A token specifying which page to return. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true,
- "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "put_headers": [
- {
- "name": "string",
- "value": "string"
}
], - "multiparts": [
- {
- "part_number": 0,
- "put_url": "string",
- "put_headers": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
]
}
Files stored in Clio’s Documents section are organized in folders. Folders are automatically generated for new Contacts and Matters. Folders can also be manually created anywhere in the folder structure.
Return the data of the contents of a Folder
Return the data of the contents of a Folder.
query Parameters
contact_id | integer <int64> The unique identifier for a single Contact. Use the keyword |
created_since | string <date-time> Filter Folder records to those having the |
document_category_id | integer <int64> The unique identifier for a single DocumentCategory. Use the keyword |
external_property_name | string Filter records to only those with the given external property(s) name set. e.g. |
external_property_value | string Filter records to only those with the given external property(s) value set. Requires external property name as well. e.g. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter Folder records to those having the specified unique identifiers. |
include_deleted | boolean Allow trashed Folder record to be included. |
limit | integer <int32> A limit on the number of Folder records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
order | string Enum: "id(asc)" "id(desc)" "document_number(asc)" "document_number(desc)" "name(asc)" "name(desc)" "updated_at(asc)" "updated_at(desc)" "created_at(asc)" "created_at(desc)" "received_at(asc)" "received_at(desc)" Orders the Folder records by the given field. Default: |
page_token | string A token specifying which page to return. |
parent_id | integer <int64> The unique identifier for a single Folder. When returning the data of the contents of a Folder, the keyword When returning the data for all Folders, use the keyword |
query | string Wildcard search for |
scope | string Enum: "descendants" "children" Filters Folder record to those being a child of the parent Folder, or a descendant of the parent Folder. Default is |
show_uncompleted | boolean Allow Folder record being uploaded to be included. |
updated_since | string <date-time> Filter Folder records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Document",
- "locked": true,
- "name": "string",
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Return the data for all Folders
Outlines the parameters, optional and required, used when requesting the data for all Folders
query Parameters
contact_id | integer <int64> The unique identifier for a single Contact. Use the keyword |
created_since | string <date-time> Filter Folder records to those having the |
document_category_id | integer <int64> The unique identifier for a single DocumentCategory. Use the keyword |
external_property_name | string Filter records to only those with the given external property(s) name set. e.g. |
external_property_value | string Filter records to only those with the given external property(s) value set. Requires external property name as well. e.g. |
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
ids[] | integer <int64> Filter Folder records to those having the specified unique identifiers. |
include_deleted | boolean Allow trashed Folder record to be included. |
limit | integer <int32> A limit on the number of Folder records to be returned. Limit can range between 1 and 200. Default: |
matter_id | integer <int64> The unique identifier for a single Matter. Use the keyword |
order | string Enum: "id(asc)" "id(desc)" "name(asc)" "name(desc)" Orders the Folder records by the given field. Default: |
page_token | string A token specifying which page to return. |
parent_id | integer <int64> The unique identifier for a single Folder. When returning the data of the contents of a Folder, the keyword When returning the data for all Folders, use the keyword |
query | string Wildcard search for |
scope | string Enum: "descendants" "children" Filters Folder record to those being a child of the parent Folder, or a descendant of the parent Folder. Default is |
updated_since | string <date-time> Filter Folder records to those having the |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": [
- {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true,
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Create a new Folder
Create a Folder to an existing folder.
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
X-API-VERSION | string The API minor version. Default: latest version. |
Request Body schema: optional
Request Body for Folders
required | object | ||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "document_category": {
- "id": 0
}, - "external_properties": [
- {
- "name": "string",
- "value": "string"
}
], - "name": "string",
- "parent": {
- "id": 0,
- "type": "Folder"
}, - "restore": true
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 422
- 429
{- "data": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true,
- "parent": {
- "id": 0,
- "etag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "type": "Folder",
- "locked": true,
- "name": "string",
- "root": true
}, - "matter": {
- "id": 0,
- "etag": "string",
- "number": 0,
- "display_number": "string",
- "custom_number": "string",
- "currency": { },
- "description": "string",
- "status": "Pending",
- "location": "string",
- "client_reference": "string",
- "client_id": 0,
- "billable": true,
- "maildrop_address": "string",
- "billing_method": "flat",
- "open_date": "2019-08-24",
- "close_date": "2019-08-24",
- "pending_date": "2019-08-24",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "shared": true,
- "has_tasks": true,
- "last_activity_date": "2019-08-24",
- "matter_stage_updated_at": "2019-08-24T14:15:22Z"
}, - "contact": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "date_of_birth": "2019-08-24",
- "type": "Company",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "prefix": "string",
- "title": "string",
- "initials": "string",
- "clio_connect_email": "string",
- "locked_clio_connect_email": true,
- "client_connect_user_id": 0,
- "primary_email_address": "string",
- "secondary_email_address": "string",
- "primary_phone_number": "string",
- "secondary_phone_number": "string",
- "ledes_client_id": "string",
- "has_clio_for_clients_permission": true,
- "is_client": true,
- "is_clio_for_client_user": true,
- "is_co_counsel": true,
- "is_bill_recipient": true,
- "sales_tax_number": "string",
- "currency": { }
}, - "document_category": {
- "id": 0,
- "etag": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "creator": {
- "account_owner": true,
- "clio_connect": true,
- "court_rules_default_attendee": true,
- "default_calendar_id": 0,
- "email": "string",
- "enabled": true,
- "etag": "string",
- "id": 0,
- "type": "ManageUser",
- "initials": "string",
- "first_name": "string",
- "last_name": "string",
- "name": "string",
- "phone_number": "string",
- "rate": 0.1,
- "subscription_type": "Attorney",
- "time_zone": "string",
- "roles": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "latest_document_version": {
- "id": 0,
- "document_id": 0,
- "etag": "string",
- "uuid": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "size": 0,
- "version_number": 0,
- "content_type": "string",
- "received_at": "2019-08-24T14:15:22Z",
- "put_url": "string",
- "fully_uploaded": true
}, - "group": {
- "client_connect_user": true,
- "etag": "string",
- "id": 0,
- "name": "string",
- "type": "UserGroup",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_properties": [
- {
- "id": 0,
- "etag": "string",
- "name": "string",
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}
Return the data for a single Folder
Outlines the parameters, optional and required, used when requesting the data for a single Folder
path Parameters
id required | integer <int64> The unique identifier for the Folder. |
query Parameters
fields | string The fields to be returned. See response samples for what fields are available. For more information see the fields section. |
header Parameters
IF-MODIFIED-SINCE | string <date> The server will send the requested resource with a 200 status, but only if it has been modified after the given date. (Expects an RFC 2822 timestamp). |
IF-NONE-MATCH | string The server will send the requested resource with a 200 status, but only if the existing resource's ETag doesn't match any of the values listed. |
X-API-VERSION | string The API minor version. Default: latest version. |