We are building the modern work market,
a frictionless exchange between businesses and workers.
See API Docs
The following webhook recipes are samples to highlight the capabilities of webhooks as a feature. In most cases, these require some setup on the remote system (typically to enable API access).
Premium Feature
Webhooks are a premium feature and must be enabled by your account manager.
This example shows who to keep pass assignment deliverables directly to Dropbox.
Prerequisite
You must set up API access for your Dropbox account and get an access token. See here: https://www.dropbox.com/developers
Description | Upload new files into a Dropbox folder rootFolder/[assignmentId]/[fileName]. |
---|---|
Event | Attachment Added |
URL | https://api-content.dropbox.com/1/files_put/auto/${client_name}/${assignment_id}/${file_name} |
Method | PUT |
Headers | Authorization: Bearer [YOUR_DROPBOX_TOKEN] |
Body | ${file_data_base64} |
Description | Removes files from Dropbox if they are removed from the corresponding Work Market assignment. |
---|---|
Event | Attachment Removed |
URL | https://api.dropbox.com/1/fileops/delete?root=auto&path=${client_name}/${assignment_id}/${file_name} |
Method | POST |
Headers | Authorization: Bearer [YOUR_DROPBOX_TOKEN] |
Body | [None] |
Use Slack? Get notified when key actions happen on Work Market assignments
Prerequisite
In order to post to a channel, you must set up an "Incoming WebHook" within Slack. That will give you a custom URL that you'll need below.
Description | Post a message to a Slack channel. |
---|---|
Event | Note Added (but you could post a message for other events as well) |
URL | [YOUR_SLACK_INCOMING_WEBHOOK_URL] |
Method | POST |
Headers | Content-type: application/json |
Body | { |
This example sends an SMS message via the Twilio API.
Prerequisite
You must have a Twilio account and will need to get your account SID and auth token.
Description | Sends an SMS message via the Twilio API. |
---|---|
Event | Note Added (but you could use any number of events here) |
URL | https://[ACCOUNT_SID]:[AUTH_TOKEN]@api.twilio.com/2010-04-01/Accounts/[ACCOUNT_SID]/Messages.json |
Method | POST |
Headers | Content-Type: application/x-www-form-urlencoded |
Body | To=[TO_PHONE_NUMBER]&From=+[FROM_PHONE_NUMBER]&Body=${note} |