curl --request POST \
--url https://api.openworklabs.com/v1/workers/{id}/tokens{
"tokens": {
"owner": "<string>",
"host": "<string>",
"client": "<string>"
},
"connect": {
"openworkUrl": "<string>",
"workspaceId": "<string>"
}
}Returns connection tokens and the resolved OpenWork connect URL for an existing worker.
curl --request POST \
--url https://api.openworklabs.com/v1/workers/{id}/tokens{
"tokens": {
"owner": "<string>",
"host": "<string>",
"client": "<string>"
},
"connect": {
"openworkUrl": "<string>",
"workspaceId": "<string>"
}
}Was this page helpful?