Get the metadata of the currently authenticated workspace to which the provided API key has access.
GET https://api.wordfields.com/v1.0/workspace/{id}
Name | Description |
---|---|
x-api-key | API key. Required. Learn more about authentication. |
If successful, this method returns a 200 OK
response code and the workspace resource in the response body.
The following example shows a request to retrieve a workspace.
GET https://api.wordfields.com/v1.0/workspace/1a404b56-9b5c-4cdf-9c5b-9c9eb324d548
Here is what the response to retrieve the workspace metadata will look like:
HTTP/1.1 200 OK
Content-type: application/json; charset=utf-8
{
"id": "1a404b56-9b5c-4cdf-9c5b-9c9eb324d548",
"displayName": "My Organization"
}
For more information on error handling, refer to the Error Responses article.