GET /user/subscription_tokens
List your subscription tokens.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| GET | /v1/user/subscription_tokens |
One entry per supported provider, whether or not you have saved a token for it. Tokens are write-only: the response carries only `token_last4`, never the token.
curl "https://api.ellipsis.dev/v1/user/subscription_tokens" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.user.subscription_tokens.list()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.user.subscriptionTokens.list();
console.log(result);Request
Response
Example response · 200
{
}