Adobe Workfront · updated

Workfront event subscriptions: how the webhooks work

An event subscription tells Workfront to send a message to your web address whenever a chosen kind of object is created, updated or deleted. You create one with a single API request. Adobe says messages usually arrive in under five seconds, and that failed deliveries are retried for up to 48 hours.

In plain words

Instead of asking Workfront every few minutes whether anything changed, you give Workfront an address and it tells you. That is what other products call a webhook.

The subscription resource

FieldRequiredMeaning
objCodeYesThe object type to watch, for example PROJ, TASK or OPTASK
eventTypeYesCREATE, UPDATE or DELETE
urlYesThe endpoint that receives the event payloads
authTokenOn createThe OAuth2 bearer token Workfront uses to authenticate with your url. It is masked in every response, so keep your own copy
objIdNoLimit the subscription to one object; without it you receive events for all objects of that type

What Adobe states about delivery

  • Notifications generally arrive in less than 5 seconds from the change being logged, and on average in less than 1 second.
  • Your endpoint must return a 200-level response when delivery succeeds.
  • Failed deliveries are retried for up to 48 hours, at growing intervals, until success or 11 attempts.
  • A subscription URL is disabled if its failure rate is over 70% with over 100 attempts, or after 2,000 consecutive failures; a disabled URL is retried every 10 minutes and re-enabled on a success.
  • A subscription URL is frozen after more than 2,000 consecutive failures with no success for 72 hours, or after 50,000 consecutive failures; a frozen URL must be re-enabled by an API request.
  • A user producing too many events in a short time may see delivery delays.
  • To receive payloads through a firewall, Adobe publishes IP addresses to allow, one list for Europe and one for elsewhere; take them from Adobe's page.

Supported objects and versions

Adobe's list of supported objects includes Project, Task, Issue, Document, Document Version, Note, Hour, Assignment, User, Team, Company, Portfolio, Program, Template, Timesheet, Custom Form, Custom Field and Proof Approval, among others. There are two versions of event subscriptions; a subscription can be moved between them with a version request, and for five minutes after a change you receive each event in both versions.

A sessionID header is required to use the Event Subscriptions API. Filters can narrow which events are sent; Adobe notes that filters cannot be updated on a subscription that already exists.

Create a subscription (from Adobe's page)

POST https://<HOSTNAME>/attask/eventsubscription/api/v1/subscriptions
Content-type: application/json
sessionID: <sessionID value>

{
  "objCode": "PROJ",
  "eventType": "UPDATE",
  "url": "https://your-endpoint.example/workfront",
  "authToken": "<token your endpoint expects>"
}

List, read one, and change version

GET https://<HOSTNAME>/attask/eventsubscription/api/v1/subscriptions?page=1&limit=100
GET https://<HOSTNAME>/attask/eventsubscription/api/v1/subscriptions/<SUBSCRIPTION ID>
PUT https://<HOSTNAME>/attask/eventsubscription/api/v1/subscriptions/<SUBSCRIPTION ID>/version

How to set one up

  1. Build an HTTPS endpoint that checks the bearer token and answers with a 200-level status quickly.
  2. If you have a firewall, allow the IP addresses Adobe lists for your region.
  3. Send the POST request above with the object code and event type you need.
  4. Expect 201 Created; the Location response header holds the new subscription's address.
  5. List your subscriptions to confirm, and watch the successes and failures counters in the response.

Related tools and pages on this site

Questions

Is this the same as a webhook?

Yes in effect. Adobe's page itself refers to the messages as webhook notifications.

What response codes can creation return?

201 when created, 400 if the url field is invalid, 401 if the sessionID is empty or invalid, and 403 if the user matching the sessionID does not have administrator access.

How many subscriptions does a list call return?

100 per page by default and at most 1,000, set with the limit parameter; page selects the page.

Can I manage subscriptions without the API?

Adobe links to pages on configuring event subscriptions in the Workfront application, including for non-administrators.

Sources

Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.

Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.

Surge Migrate

Moving the website itself

This page answers one Adobe Workfront question. Surge Migrate moves a website from any CMS to any CMS. Converted automatically. Checked before you install.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →