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
Relationships
Get relationships on a matter
Returns associated relationships for a specified matter and role group.
GET
/
matters
/
{matterId}
/
roles
/
{roleId}
/
relationships
curl --request GET \
--url https://api.smokeball.com/matters/{matterId}/roles/{roleId}/relationships \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"versionId": "832e778f-83df-454a-b344-768a862a7e67",
"relationships": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Solicitor",
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"representatives": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
]
}
]
}
Response
200
application/json
When request is successful. Returns a 'MatterRelationships' object.
The response is of type object
.
curl --request GET \
--url https://api.smokeball.com/matters/{matterId}/roles/{roleId}/relationships \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"versionId": "832e778f-83df-454a-b344-768a862a7e67",
"relationships": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Solicitor",
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"representatives": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
]
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.