Workflow Assignment

Search workflow step assignments across the account

Changed on

Returns the workflow step assignments held by users in the account, optionally filtered to a set of workflow steps or a single user.

workflowStepUids is required and capped at 1000 entries. limit is required and must be between 1 and 5000. To fetch the next page, pass the offsetToken from the previous response. Omit offsetToken to fetch the first page. The response has no total count.

post/people-api/v3/accounts/{accountUid}/users/workflow-steps

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

accountUidstring required

The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.

Request body

offsetTokenstring

Opaque, server-generated pagination cursor. Do not attempt to parse or construct one. Pass back exactly what a previous response returned.

limitinteger required

Maximum number of results to return, between 1 and 5000.

workflowStepUidsWorkflowStepUid[] required

Workflow steps to return assignments for.

userUidstring

Unique identifier of a user — 12 lowercase alphanumeric characters.

Example request

{
  "offsetToken": "A62623439C40319E167275B10FC30F80D55372C4F932C915E720E9F357DE89A4",
  "workflowStepUids": [
    "7564fc097a85"
  ],
  "userUid": "99b0662fbae1"
}

Response

Workflow step assignments retrieved.

Example response

{
  "response": {
    "data": {
      "offsetToken": "A62623439C40319E167275B10FC30F80D55372C4F932C915E720E9F357DE89A4",
      "workflowStepUserAssignments": [
        {
          "userUid": "99b0662fbae1",
          "agencyUid": "f965c52b",
          "workflowStepAssignments": [
            {
              "workflowStepUid": "7564fc097a85",
              "localePairs": [
                {
                  "sourceLocaleId": "fr-FR",
                  "targetLocaleIds": [
                    "fr-FR"
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Changes