Interlaken
API referenceAgents and workflowsWorkspaces

Get a WordPress workspace's wp-admin URL + admin credentials (SENSITIVE: contains the real password) and site URL

GET
/api/v1/workspaces/{id}/wordpress-credentials

Requires the workspaces:read permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/workspaces/string/wordpress-credentials"
{  "admin_url": "string",  "db_service_id": "string",  "password": "string",  "site_url": "string",  "username": "string"}