Skip to main content
The First Step
July 11, 2025
Question

API access to Workflows

I am trying to access workflow and back them up via API calls. I am able to authenticate without any issues but either I do not have the right scope or that data is not exposed? 

 

Basically trying call via this 

$exportUrl = "$ServerUrl/restapi/v1.0/account/~/workflows/$WorkflowId/export"

Getting this error:-

Error backing up workflow 103 : {
  "errorCode" : "AGW-404",
  "message" : "Resource not found",
  "errors" : [ ]
}

As for JWT scope I have Call Control & Read Accounts.

1 reply

PhongVu
Community Manager
Community Manager
July 11, 2025

I am trying to access workflow and back them up via API calls. I am able to authenticate without any issues but either I do not have the right scope or that data is not exposed? 

 

Basically trying call via this 

$exportUrl = "$ServerUrl/restapi/v1.0/account/~/workflows/$WorkflowId/export"

Getting this error:-

Error backing up workflow 103 : {
  "errorCode" : "AGW-404",
  "message" : "Resource not found",
  "errors" : [ ]
}

As for JWT scope I have Call Control & Read Accounts.

Where did you find/hear about that /workflows API? I am not aware of that at all.