Documentation
- Getting Started
- Authentication
- Making Requests
- Resource Creation
- Searching
- Plugins
- Webhooks
Tutorials
APIs
- Activity Codes
- Archive
- Authorization
- Bank Accounts
- Contacts
- Events
- Expenses
- Fees
- Files
- Firm
- Firm Users
- Folders
- Invoices
- Layout Designs
- Layout Matter Items
- Matter Billing Configuration
- Matter Items
- Matter Types
- Matters
- Memos
- Notifications
- Plugins
- Referral Types
- Relationships
- Roles
- Staff
- Stages
- Subscription Payments
- Subscription Promotions
- Subscriptions
- Tasks
- Users
- Webhooks
Matter Types
Get a matter type
Retrieves a specified matter type.
GET
/
mattertypes
/
{id}
curl --request GET \
--url https://api.smokeball.com/mattertypes/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"versionId": "832e778f-83df-454a-b344-768a862a7e67",
"name": "Federal Litigation",
"category": "Litigation",
"type": 0,
"representativeOptions": [
"Applicant",
"Respondent"
],
"location": "Litigation",
"isDeleted": true,
"items": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "Plaintiff",
"providerId": "roles_provider",
"itemId": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Claimant",
"subItems": [
{}
]
}
]
}
Path Parameters
Response
200
application/json
When request is successful. Returns a 'MatterType' object.
The response is of type object
.
curl --request GET \
--url https://api.smokeball.com/mattertypes/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"versionId": "832e778f-83df-454a-b344-768a862a7e67",
"name": "Federal Litigation",
"category": "Litigation",
"type": 0,
"representativeOptions": [
"Applicant",
"Respondent"
],
"location": "Litigation",
"isDeleted": true,
"items": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "Plaintiff",
"providerId": "roles_provider",
"itemId": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Claimant",
"subItems": [
{}
]
}
]
}