curl --request GET \
--url https://bot.code4source.com/api/v1/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>'{
"workspace": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"icon": "<string>",
"plan": "FREE",
"stripeId": "<string>",
"settings": {},
"customChatsLimit": 123,
"customSeatsLimit": 123,
"isSuspended": true,
"isPastDue": true,
"isVerified": true,
"chatsHardLimit": 123,
"lastActivityAt": "<string>",
"inactiveFirstEmailSentAt": "<string>",
"inactiveSecondEmailSentAt": "<string>"
},
"currentUserMode": "read"
}curl --request GET \
--url https://bot.code4source.com/api/v1/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>'{
"workspace": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"icon": "<string>",
"plan": "FREE",
"stripeId": "<string>",
"settings": {},
"customChatsLimit": 123,
"customSeatsLimit": 123,
"isSuspended": true,
"isPastDue": true,
"isVerified": true,
"chatsHardLimit": 123,
"lastActivityAt": "<string>",
"inactiveFirstEmailSentAt": "<string>",
"inactiveSecondEmailSentAt": "<string>"
},
"currentUserMode": "read"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Show child attributes
FREE, STARTER, PRO, LIFETIME, OFFERED, CUSTOM, UNLIMITED, ENTERPRISE read, write, guest