Ana içeriğe geç

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

<?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);