Profil
Hesap ve profil bilgilerinizi almak için bu endpoint kullanılır. Yanıtta team (hesap), owner ve plan bilgileri döner.
İstek
GET /api/helpers/profile
Accept: application/json
Authorization: Bearer YOUR_API_KEY
Örnek istekler
- 💻 cURL
- 🐘 PHP
- 🟢 Node.js
- 🐍 Python
- 🔷 C#
curl -X GET "https://app.faturaentegrator.com/api/helpers/profile" -H "Accept: application/json" -H "Authorization: Bearer YOUR_API_KEY"
<?php
$ch = curl_init('https://app.faturaentegrator.com/api/helpers/profile');
curl_setopt_array($ch, [CURLOPT_HTTPHEADER => ['Accept: application/json', 'Authorization: Bearer YOUR_API_KEY'], CURLOPT_RETURNTRANSFER => true]);
$data = json_decode(curl_exec($ch), true);
curl_close($ch);
const res = await fetch('https://app.faturaentegrator.com/api/helpers/profile', { headers: { 'Accept': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY' } });
const data = await res.json();
import requests
response = requests.get(
'https://app.faturaentegrator.com/api/helpers/profile',
headers={'Accept': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY'}
)
data = response.json()
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Accept", "application/json");
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_API_KEY");
var response = await client.GetAsync("https://app.faturaentegrator.com/api/helpers/profile");
var data = await response.Content.ReadFromJsonAsync<JsonElement>();