Get Workspace Id
GET {{baseUrl}}/workspaces
This request gets the collection ID for the specified currentWorkspaceName
since the Qodex API requires the collection ID of a Qodex Workspace when working with requests rather than the name.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-api-key | string | ||
x-mock-response-name | string |
RESPONSES
status: OK
{"workspaces":[{"id":"00aaa0a0a-0000-00aa-0a00-00a00aa0a00a","name":"My Workspace","type":"personal"},{"id":"aa0000a0-aa00-0aa0-a000-a000aaa00a00a","name":"A Team Workspace","type":"team"},{"id":"00000000-0aa0-0000-0000-a00aa0a00a0aa","name":"Another Workspace","type":"team"}]}