com.atproto.server.get Service Auth
GET {{baseUrl}}/xrpc/com.atproto.server.getServiceAuth?aud=<did>&exp=<integer>&lxm=<nsid>
This endpoint is part of the atproto PDS server and account management APIs. Requests often require authentication and are made directly to the user's own PDS instance.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Get a signed token on behalf of the requesting DID for the requested service.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aud | string | (Required) The DID of the service that the token will be used to authenticate with | |
exp | string | The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope. | |
lxm | string | Lexicon (XRPC) method to bind the requested token to |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"token":"\u003cstring\u003e"}