Skip to main content
GET
/
api
/
referral
/
code
Obter código de indicação
curl --request GET \
  --url https://alpa-sistema-api.onrender.com/api/referral/code \
  --header 'Authorization: Bearer <token>'
{
  "code": "ALPA-123-ABC",
  "link": "https://app.usealpa.com/register?ref=ALPA-123-ABC"
}

Documentation Index

Fetch the complete documentation index at: https://docs.usealpa.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtido via POST /api/auth/login. Usado em rotas autenticadas do dashboard.

Response

Código e link de indicação

code
string
Example:

"ALPA-123-ABC"

Example:

"https://app.usealpa.com/register?ref=ALPA-123-ABC"