---
raw: true
search:
  tags:
    - Spaces
    - POST
seo:
  description: >-
    Returns a one-use link that signs a person in to the… Reference for the POST
    /v1/spaces/{spaceId}/content/admin-link endpoint in the Spacefast Partner
    API.
sidebar:
  label: Create a content dashboard sign-in link
  badge: POST
title: Create a content dashboard sign-in link
type: openapi-operation
---
Returns a one-use link that signs a person in to the Space's WordPress content dashboard. The link opens a page with one button. The click signs the person in as the WordPress `role` in the result. The link expires 10 minutes after creation. An empty body lands on the Zero collections screen. `screen` selects a Zero screen. `path` selects a classic /wp-admin/ page. The link signs in the person behind the credential: the signed-in user, or the person who created a team API key. Other credentials get `content_admin_person_required`. Managed content must be available for the team; otherwise the call fails with `feature_unavailable`.

`POST /v1/spaces/{spaceId}/content/admin-link`

**Request body** (`application/json`, required)

- `screen` (string)
- `path` (string)

Request body example:

```json
{
  "screen": "collections",
  "path": "string"
}
```

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "url": "http://example.com",
    "expiresAt": "2019-08-24T14:15:22Z",
    "role": "administrator"
  }
}
```
