Skip to main content
Solved

How do I create a workspace from the API?

  • February 6, 2024
  • 1 reply
  • 68 views

pkabir63
Freshman II

I understand how to do it from the UI, however is there a way of doing that programmatically, using e.g. a RESTful request or a SBAPI command.

(One of the desired product flows I’m exploring entails creating a workspace if needed and then populating it with a couple of GIs)

 

Best answer by pkabir63

@gmichaud cc

Using the network inspector, I found that we’re sending a POST request to:

https://connection.host/frameset/workspace

With ASP.NET session cookies and CompanyID cookie, and a JSON body like this:

{title: "WorkspaceName", icon: "iconName", areaID: ""}

I think I am going to give it a try, but would be nice to have it documented somewhere ;)

1 reply

pkabir63
Freshman II
  • Author
  • Freshman II
  • Answer
  • February 6, 2024

@gmichaud cc

Using the network inspector, I found that we’re sending a POST request to:

https://connection.host/frameset/workspace

With ASP.NET session cookies and CompanyID cookie, and a JSON body like this:

{title: "WorkspaceName", icon: "iconName", areaID: ""}

I think I am going to give it a try, but would be nice to have it documented somewhere ;)