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
Authorization
Get an authorization policy
Retrieves a specified authorization policy.
GET
/
policies
/
{reference}
curl --request GET \
--url https://api.smokeball.com/policies/{reference} \
--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": "eb40ac02-383c-49bd-b956-c02cba814215",
"reference": "31a9caa9-4db7-4a0e-8233-d51254975099",
"principalId": "a7922e80-f833-48f0-8250-c00df1ebbc16",
"resourceId": "54171794-5ca3-472b-889a-c03538d8c89a",
"rules": [
{
"principalId": "a7922e80-f833-48f0-8250-c00df1ebbc16",
"resourceId": "matters/69406c65-309d-4e35-a636-ad145e64770a",
"operation": "Access",
"type": 0
}
]
}
Path Parameters
Response
200
application/json
When request is successful. Returns an authorization 'Policy' object.
The response is of type object
.
curl --request GET \
--url https://api.smokeball.com/policies/{reference} \
--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": "eb40ac02-383c-49bd-b956-c02cba814215",
"reference": "31a9caa9-4db7-4a0e-8233-d51254975099",
"principalId": "a7922e80-f833-48f0-8250-c00df1ebbc16",
"resourceId": "54171794-5ca3-472b-889a-c03538d8c89a",
"rules": [
{
"principalId": "a7922e80-f833-48f0-8250-c00df1ebbc16",
"resourceId": "matters/69406c65-309d-4e35-a636-ad145e64770a",
"operation": "Access",
"type": 0
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.