Add an email address
Add an email address to your account and send it a verification link. Use it when the user wants another address on their account; once verified it can become primary and open teams to its domain.
Add an email address to your account and send it a verification link. Use it when the user wants another address on their account; once verified it can become primary and open teams to its domain.
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/me/emails" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'{ "email": "string", "verified": true, "primary": true}Get the user's referral summary GET
Get the user's Refer & Earn referral link, its clicks, signups and sales, and their pending, cleared and paid earnings. Use it when the user asks for their referral link or how much they have earned.
Choose your primary email PUT
Set a verified address as your primary email: notifications and support replies go there. Use it when the user wants mail sent to another of their addresses.