# app.didpic.identity.getFastPathToken

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.identity.getFastPathToken)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.identity.getFastPathToken/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.identity.getFastPathToken/examples)

## Definitions

### `app.didpic.identity.getFastPathToken`

**Type**: `procedure`

Exchange a proxied service-auth call for a short-lived direct-access token bound to the viewer's DID.

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `token` | `string` | Yes | Bearer token for direct calls to allowed methods. |
| `expiresAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "app.didpic.identity.getFastPathToken",
  "defs": {
    "main": {
      "type": "procedure",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "token",
            "expiresAt"
          ],
          "properties": {
            "token": {
              "type": "string",
              "description": "Bearer token for direct calls to allowed methods."
            },
            "expiresAt": {
              "type": "string",
              "format": "datetime"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Exchange a proxied service-auth call for a short-lived direct-access token bound to the viewer's DID."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
