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
Staff
Create firm staff member
Creates a staff member in the firm associated with the authenticated client.
POST
/
staff
Copy
Ask AI
curl --request POST \
--url https://api.smokeball.com/staff \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '{
"userId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"title": "Mr",
"firstName": "John",
"middleName": "",
"lastName": "Smith",
"initials": "JS",
"phone": {
"areaCode": "555",
"number": "1234567"
},
"cell": {
"areaCode": "555",
"number": "1234567"
},
"email": "john.smith@brown.com",
"role": "Bookkeeper",
"avatar": "https://example-avatar-url.com/image",
"former": false,
"colorFill": "#797d85",
"colorStroke": "#64666a"
}'
Copy
Ask AI
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
}
Body
Response
202
application/json
When request is accepted. Returns a hypermedia 'Link' object of the staff member to be created.
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.smokeball.com/staff \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '{
"userId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"title": "Mr",
"firstName": "John",
"middleName": "",
"lastName": "Smith",
"initials": "JS",
"phone": {
"areaCode": "555",
"number": "1234567"
},
"cell": {
"areaCode": "555",
"number": "1234567"
},
"email": "john.smith@brown.com",
"role": "Bookkeeper",
"avatar": "https://example-avatar-url.com/image",
"former": false,
"colorFill": "#797d85",
"colorStroke": "#64666a"
}'
Copy
Ask AI
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
}
Assistant
Responses are generated using AI and may contain mistakes.