Snapvisor Docs

Get your profile

Get the signed-in user's profile: name, personal account slug, emails, quoting currency, connected logins and notification preferences. Use it before update_profile or update_notification_prefs, or when the user asks how their account is set up.

GET
/me/profile

Get the signed-in user's profile: name, personal account slug, emails, quoting currency, connected logins and notification preferences. Use it before update_profile or update_notification_prefs, or when the user asks how their account is set up.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/me/profile"
{  "id": "string",  "name": "string",  "slug": "string",  "primaryEmail": "string",  "emails": [    {      "email": "string",      "verified": true,      "primary": true    }  ],  "currency": "string",  "connectedLogins": [    "github"  ],  "notificationPreferences": [    {      "category": "string",      "channel": "email",      "label": "string",      "description": "string",      "enabled": true    }  ],  "createdAt": "2019-08-24T14:15:22Z"}