API version: dev

---

# `TokenResponse`

Response returned after successfully creating a new token. Unlike other endpoints, this is not an Element.

## Properties

- `type`: `enum` — required

  example: `"_TokenResponse"`

- `token`: `string` — required

  The newly created token, in the RFC 8959 `secret-token:` scheme. It is only ever shown once; use `GET /token` or `GET /me` afterwards to inspect the resulting elements instead.

  example: `"secret-token:PIPeJGUt7c00ENn8a5uDlc"`

## Raw Schema

```json
{
  "type": "object",
  "description": "Response returned after successfully creating a new token. Unlike other endpoints, this is not an Element.",
  "required": [
    "type",
    "token"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "_TokenResponse"
      ],
      "example": "_TokenResponse"
    },
    "token": {
      "type": "string",
      "description": "The newly created token, in the RFC 8959 `secret-token:` scheme. It is only ever shown once; use `GET /token` or `GET /me` afterwards to inspect the resulting elements instead.",
      "example": "secret-token:PIPeJGUt7c00ENn8a5uDlc"
    }
  }
}
```

---

Home: [Ember Nexus API docs](/index.md)

Full site map: [llms.txt](/llms.txt)
