Adobe Workfront · updated

Workfront API basics: how a request is put together

The Workfront API is a REST API over HTTPS. Every object, such as a project, task or issue, has an address made of the API version, the object type and the object's ID, and you read or change it with the standard GET, POST, PUT and DELETE methods. Answers come back as JSON.

In plain words

Anything a person can see in Workfront, a program can ask for with a web address. The address says which kind of thing you want and which one. That is how other systems read projects, create tasks or update issues without anyone clicking.

The parts of a request

PartWhat it isExample
DomainYour organisation's Workfront domain; Adobe's page gives the format <yourdomain>.my.workfront.adobe.com when your Workfront URL begins with experience.adobe.comexample.my.workfront.adobe.com
API path and version/attask/api/ followed by the version/attask/api/v22.0
Object typeThe object code or the alternate object name; not case sensitiveproj or project
IDThe object's ID, for a single object4c78821c0000d6fa8d5e52f07a1d54d0
ParametersFilters, the fields to return, updates and so on?status=CUR&fields=name,status

Methods

MethodWhat it does
GETRetrieves an object by ID, searches by a query, runs a report or a named query
POSTInserts a new object
PUTEdits an existing object
DELETEDeletes an object; force=true also removes its dependants

A successful response has a data attribute; a failed one has an error attribute. Where a client cannot send PUT or DELETE, Adobe documents a method parameter that overrides the HTTP method.

Common object codes

These codes and labels are from the API Explorer for API version 22.0. The explorer lists every object, its fields and its actions.

ObjectCodeObjectCode
ProjectPROJPortfolioPORT
TaskTASKProgramPRGM
IssueOPTASKTemplateTMPL
UserUSERTeamTEAMOB
DocumentDOCUCompanyCMPY
NoteNOTEHourHOUR
AssignmentASSGNCustom form (Category)CTGY
Custom field (Parameter)PARAMDocument versionDOCV

Guardrails Adobe states

  • The API limits concurrent API threads; the sandbox has the same limit so you can test realistically.
  • In production, preview and test drive, a request URI can be at most 8892 bytes, because requests pass through the Workfront CDN.
  • Any use of the API should be tested outside production first.

Three object URIs, as Adobe writes them

/attask/api/<supported-version>/project/4c78821c0000d6fa8d5e52f07a1d54d0
/attask/api/<supported-version>/task/4c78821c0000d6fa8d5e52f07a1d54d1
/attask/api/<supported-version>/issue/4c78821c0000d6fa8d5e52f07a1d54d2

Other GET forms Adobe documents

GET /attask/api/<supported-version>/project/count?status=CUR
GET /attask/api/<supported-version>/work/myWork
GET /attask/api/<supported-version>/hour/report?project:name_1_GroupBy=true&hours_AggFunc=sum

How to make a first call

  1. Find your API domain: in Workfront, Setup > System > Customer Info (you need to be a Workfront administrator).
  2. Pick a supported API version and put it in the URL, for example v22.0.
  3. Look up the object code and field names in the API Explorer.
  4. Set up authentication the way Adobe recommends today; see the authentication page in this hub.
  5. Start with a read-only search limited to a few fields, in a sandbox, before any call that writes.

Related tools and pages on this site

Questions

Is the object name or the object code used in the URL?

Either. Adobe says the object type is case insensitive and can be the abbreviated ObjCode, such as proj, or the alternate object name, such as project.

What code does an issue have?

OPTASK. The API Explorer labels the OpTask object 'Issue'.

Where is the list of every object and field?

In the Workfront API Explorer, which you can filter by API version.

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 →