Skip to main content
POST
/
v1
/
auth
/
bootstrap
Criar area de trabalho, projeto e primeira analise do usuario
curl --request POST \
  --url http://localhost:4000/v1/auth/bootstrap \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceName": "Workspace de Vinicius Coimbra",
  "projectName": "Refy Site",
  "rawValue": "https://refy.to/blog/content-audit"
}
'
{
  "user": {
    "id": "<string>",
    "displayName": "<string>",
    "email": "jsmith@example.com",
    "username": "<string>",
    "avatarUrl": "<string>"
  },
  "workspace": {
    "id": "ws_123",
    "slug": "refy-labs",
    "name": "Refy Labs",
    "plan": "starter",
    "status": "active"
  },
  "project": {
    "id": "prj_123",
    "workspaceId": "ws_123",
    "name": "Refy Blog",
    "primaryDomain": "refy.to",
    "createdAt": "2026-04-28T12:10:00.000Z"
  },
  "analysis": {
    "id": "ana_123",
    "projectId": "prj_123",
    "inputType": "url",
    "inputPayload": {
      "url": "https://refy.to/blog/content-audit"
    },
    "mode": "standard",
    "status": "completed",
    "creditsConsumed": 1,
    "createdAt": "2026-04-28T12:11:00.000Z",
    "completedAt": "2026-04-28T12:11:07.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.refy.to/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspaceName
string
required
projectName
string
required
rawValue
string
required
displayName
string
email
string<email>
username
string
avatarUrl
string<uri>
projectDomain
string
inputType
string
mode
string

Response

201 - application/json

Onboarding concluido

user
object
workspace
object
Example:
{
  "id": "ws_123",
  "slug": "refy-labs",
  "name": "Refy Labs",
  "plan": "starter",
  "status": "active"
}
project
object
Example:
{
  "id": "prj_123",
  "workspaceId": "ws_123",
  "name": "Refy Blog",
  "primaryDomain": "refy.to",
  "createdAt": "2026-04-28T12:10:00.000Z"
}
analysis
object
Example:
{
  "id": "ana_123",
  "projectId": "prj_123",
  "inputType": "url",
  "inputPayload": {
    "url": "https://refy.to/blog/content-audit"
  },
  "mode": "standard",
  "status": "completed",
  "creditsConsumed": 1,
  "createdAt": "2026-04-28T12:11:00.000Z",
  "completedAt": "2026-04-28T12:11:07.000Z"
}