Obtén los usuarios
curl --request GET \
--url https://backend.identifai.net/api/partner/users \
--header 'X-Api-Key: <api-key>'import requests
url = "https://backend.identifai.net/api/partner/users"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://backend.identifai.net/api/partner/users', 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://backend.identifai.net/api/partner/users",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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://backend.identifai.net/api/partner/users"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://backend.identifai.net/api/partner/users")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://backend.identifai.net/api/partner/users")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"current_page": 1,
"data": [
{
"id": 222,
"name": "User",
"email": "User@mail.com",
"email_verified_at": "2025-03-03T13:28:03.000000Z",
"address": null,
"zip": null,
"city": null,
"country": null,
"phone": null,
"contact": null,
"vat": null,
"created_at": "2025-03-03T13:28:03.000000Z",
"updated_at": "2025-03-12T09:32:43.000000Z",
"balance": 0,
"heuristic": "AverageExcludeObsolete",
"readonly": null,
"pricing": {
"id": 1,
"name": "TestB",
"sku": "testB"
},
"partner": {
"id": 221,
"name": "Partner",
"email": "Partner@gmail.com",
"email_verified_at": "2025-03-03T11:22:49.000000Z",
"address": null,
"zip": null,
"city": null,
"country": null,
"phone": null,
"contact": null,
"vat": null,
"created_at": "2025-03-03T11:22:49.000000Z",
"updated_at": "2025-03-03T13:27:06.000000Z",
"balance": 0,
"heuristic": "Average",
"readonly": false,
"pricing": {
"id": 2,
"name": "TestAC",
"sku": "testAC"
},
"partner": null
}
}
],
"from": 1,
"last_page": 1,
"next_page_url": null,
"per_page": 100,
"to": 1,
"total": 1
}{
"error": "Too Many Attempts."
}Partner
Obtén los usuarios
Obtiene una lista de usuarios según los filtros indicados.
Obtén los usuarios
curl --request GET \
--url https://backend.identifai.net/api/partner/users \
--header 'X-Api-Key: <api-key>'import requests
url = "https://backend.identifai.net/api/partner/users"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://backend.identifai.net/api/partner/users', 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://backend.identifai.net/api/partner/users",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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://backend.identifai.net/api/partner/users"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://backend.identifai.net/api/partner/users")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://backend.identifai.net/api/partner/users")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"current_page": 1,
"data": [
{
"id": 222,
"name": "User",
"email": "User@mail.com",
"email_verified_at": "2025-03-03T13:28:03.000000Z",
"address": null,
"zip": null,
"city": null,
"country": null,
"phone": null,
"contact": null,
"vat": null,
"created_at": "2025-03-03T13:28:03.000000Z",
"updated_at": "2025-03-12T09:32:43.000000Z",
"balance": 0,
"heuristic": "AverageExcludeObsolete",
"readonly": null,
"pricing": {
"id": 1,
"name": "TestB",
"sku": "testB"
},
"partner": {
"id": 221,
"name": "Partner",
"email": "Partner@gmail.com",
"email_verified_at": "2025-03-03T11:22:49.000000Z",
"address": null,
"zip": null,
"city": null,
"country": null,
"phone": null,
"contact": null,
"vat": null,
"created_at": "2025-03-03T11:22:49.000000Z",
"updated_at": "2025-03-03T13:27:06.000000Z",
"balance": 0,
"heuristic": "Average",
"readonly": false,
"pricing": {
"id": 2,
"name": "TestAC",
"sku": "testAC"
},
"partner": null
}
}
],
"from": 1,
"last_page": 1,
"next_page_url": null,
"per_page": 100,
"to": 1,
"total": 1
}{
"error": "Too Many Attempts."
}Parámetros de consulta
Respuesta
Lista paginada de los usuarios que cumplen los criterios de búsqueda.