Skip to main content
GET
/
v1
/
users
/
@me
User Information
curl --request GET \
  --url https://api.vertracloud.app/v1/users/@me
import requests

url = "https://api.vertracloud.app/v1/users/@me"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.vertracloud.app/v1/users/@me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/users/@me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.vertracloud.app/v1/users/@me"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.vertracloud.app/v1/users/@me")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.vertracloud.app/v1/users/@me")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "response": {
    "id": "993591427428790342",
    "email": "[email protected]",
    "name": "user",
    "plan_id": 3,
    "language": "pt-br",
    "plan": {
      "id": 3,
      "name": "pro",
      "expires_at": "2026-04-20T00:00:00.000Z",
      "duration": 30,
      "memory": {
        "limit": 4096,
        "used": 1024
      }
    },
    "applications": [
      {
        "id": "v111d4af8cd74272a284831fbae14a8v",
        "cluster": 1,
        "type": 2,
        "name": "My API",
        "description": "REST API with Express",
        "language": "javascript",
        "ram": 512,
        "status": "up",
        "subdomain": "my-api",
        "custom_domain": null,
        "owner_id": "993591427428790342",
        "owner_plan_id": 3,
        "main_file": "src/index.js",
        "version": "recommended",
        "auto_restart": true,
        "start_command": "npm start",
        "use_credits": false,
        "last_snapshot": "2026-03-15T10:00:00.000Z",
        "offline_since": null,
        "created_at": "2026-01-15T15:51:47.234Z",
        "updated_at": "2026-03-19T15:06:41.449Z"
      }
    ],
    "databases": [
      {
        "id": "v41806687fe6488884a464d1dc06692v",
        "cluster": 1,
        "type": 1,
        "name": "my-postgres",
        "description": "PostgreSQL Database",
        "status": "up",
        "ram": 1024,
        "host": "v41806687fe6488884a464d1dc06692v.db.usa1.vertraweb.app",
        "port": 14523,
        "owner_id": "993591427428790342",
        "owner_plan_id": 3,
        "use_credits": true,
        "last_snapshot": "2026-03-18T00:00:00.000Z",
        "offline_since": null,
        "created_at": "2026-02-01T22:00:54.785Z",
        "updated_at": "2026-03-19T22:13:38.489Z"
      }
    ],
    "connections": [
      {
        "provider": "github",
        "username": "myuser",
        "created_at": "2026-01-15T15:51:47.234Z"
      },
      {
        "provider": "discord",
        "username": "myuser#1234",
        "created_at": "2026-01-15T15:51:47.234Z"
      }
    ],
    "credits": {
      "compute": {
        "free": 450.5,
        "paid": 1200.0,
        "free_per_week": 2000,
        "free_reset_at": "2026-04-01T00:00:00.000Z",
        "paid_expires_at": "2027-03-15T00:00:00.000Z"
      },
      "ai": {
        "free": 120.0,
        "paid": 500.0,
        "free_per_week": 500,
        "free_reset_at": "2026-04-01T00:00:00.000Z",
        "paid_expires_at": "2027-03-15T00:00:00.000Z"
      }
    },
    "created_at": "2026-01-15T01:26:04.784Z",
    "updated_at": "2026-03-19T22:10:31.220Z"
  }
}

Response

response
APIUserInfoResponse
Complete authenticated user data.
{
  "response": {
    "id": "993591427428790342",
    "email": "[email protected]",
    "name": "user",
    "plan_id": 3,
    "language": "pt-br",
    "plan": {
      "id": 3,
      "name": "pro",
      "expires_at": "2026-04-20T00:00:00.000Z",
      "duration": 30,
      "memory": {
        "limit": 4096,
        "used": 1024
      }
    },
    "applications": [
      {
        "id": "v111d4af8cd74272a284831fbae14a8v",
        "cluster": 1,
        "type": 2,
        "name": "My API",
        "description": "REST API with Express",
        "language": "javascript",
        "ram": 512,
        "status": "up",
        "subdomain": "my-api",
        "custom_domain": null,
        "owner_id": "993591427428790342",
        "owner_plan_id": 3,
        "main_file": "src/index.js",
        "version": "recommended",
        "auto_restart": true,
        "start_command": "npm start",
        "use_credits": false,
        "last_snapshot": "2026-03-15T10:00:00.000Z",
        "offline_since": null,
        "created_at": "2026-01-15T15:51:47.234Z",
        "updated_at": "2026-03-19T15:06:41.449Z"
      }
    ],
    "databases": [
      {
        "id": "v41806687fe6488884a464d1dc06692v",
        "cluster": 1,
        "type": 1,
        "name": "my-postgres",
        "description": "PostgreSQL Database",
        "status": "up",
        "ram": 1024,
        "host": "v41806687fe6488884a464d1dc06692v.db.usa1.vertraweb.app",
        "port": 14523,
        "owner_id": "993591427428790342",
        "owner_plan_id": 3,
        "use_credits": true,
        "last_snapshot": "2026-03-18T00:00:00.000Z",
        "offline_since": null,
        "created_at": "2026-02-01T22:00:54.785Z",
        "updated_at": "2026-03-19T22:13:38.489Z"
      }
    ],
    "connections": [
      {
        "provider": "github",
        "username": "myuser",
        "created_at": "2026-01-15T15:51:47.234Z"
      },
      {
        "provider": "discord",
        "username": "myuser#1234",
        "created_at": "2026-01-15T15:51:47.234Z"
      }
    ],
    "credits": {
      "compute": {
        "free": 450.5,
        "paid": 1200.0,
        "free_per_week": 2000,
        "free_reset_at": "2026-04-01T00:00:00.000Z",
        "paid_expires_at": "2027-03-15T00:00:00.000Z"
      },
      "ai": {
        "free": 120.0,
        "paid": 500.0,
        "free_per_week": 500,
        "free_reset_at": "2026-04-01T00:00:00.000Z",
        "paid_expires_at": "2027-03-15T00:00:00.000Z"
      }
    },
    "created_at": "2026-01-15T01:26:04.784Z",
    "updated_at": "2026-03-19T22:10:31.220Z"
  }
}