SynqDocs
Account APIUsername suggestions

Suggest usernames from their wallets' names

Usernames to offer before they type one: the on-chain names of the wallets they sign in with (a Seeker ID such as `ana.skr`, the name their wallet chose for itself on Solana's mainnet), each as its label and as itself, where it is a username nobody at the brand has. A suggestion only: saving one is `PATCH /v1/profile`. The brand turns it off with `wallet_name_usernames`. Needs `me:read`.

GET/v1/username-suggestions

Usernames to offer before they type one: the on-chain names of the wallets they sign in with (a Seeker ID such as ana.skr, the name their wallet chose for itself on Solana's mainnet), each as its label and as itself, where it is a username nobody at the brand has. A suggestion only: saving one is PATCH /v1/profile. The brand turns it off with wallet_name_usernames. Needs me:read.

Authorization

bearer
AuthorizationBearer <token>

An access token from this issuer for its account API (resource=<issuer>/me).

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.auth.synq.build/me/v1/username-suggestions" \  -H "Authorization: Bearer $ACCESS_TOKEN"
{  "suggestions": [    {      "username": "ana",      "name": "ana.skr",      "wallet": "7EcDhSYGxXyscszYEp35KHN8vvw3svAuLKTzXwCFLtV"    }  ]}