Workspaces

Access and manage information about the workspaces an API key has access to.


List All Workspaces

Endpoint

GET https://api.rdentify.com/v1/workspaces

Retrieve a list of all workspaces to which your API key has access.

Request Example

GET https://api.rdentify.com/v1/workspaces
Authorization: Basic base64(API_KEY:API_SECRET)

Response Example

{
    "success": true,
    "code": 200,
    "detail": "Request completed successfully",
    "data": [
        {
            "id": "4f67cc33-f04b-ee11-9937-6045bdf21413",
            "name": "My Workspace",
            "allowedDomains": [
                "https://www.example.com"
            ]
        }
    ],
    "meta": null
}

Retrieve a Single Workspace

Endpoint

GET https://api.rdentify.com/v1/workspaces/<workspace-id>

Retrieve detailed information about a specific workspace.

Parameters

  • <workspace-id>: Replace with the workspace ID you wish to retrieve information about.

Request Example

GET https://api.rdentify.com/v1/workspaces/<workspace-id>
Authorization: Basic base64(API_KEY:API_SECRET)

Response Example

{
    "success": true,
    "code": 200,
    "detail": "Request completed successfully",
    "data": {
        "id": "4f67cc33-f04b-ee11-9937-6045bdf21413",
        "name": "My Workspace",
        "allowedDomains": [
            "https://www.example.com"
        ]
    },
    "meta": null
}

Next Steps