Interlaken
API referenceAgents and workflowsWorkspaces

Get a Medusa store's admin dashboard URL + admin credentials (SENSITIVE: contains the real password), storefront URL and publishable key

GET
/api/v1/workspaces/{id}/medusa-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/medusa-credentials"
{  "admin_url": "string",  "backend_url": "string",  "db_uuid": "string",  "email": "string",  "password": "string",  "publishable_key": "string",  "redis_uuid": "string",  "storefront_url": "string"}