Login de experto
Login de experto
POST https://api.test.fandit.es/api/v2/experts/login
Petición para obtener el token de experto.
Parámetros de consulta (body)
Respuesta
Object
token string
expert Object
id number
first_name string
last_name string
username string
phone string
business_name string
profile_avatar string
profile_avatar_thumbnail string
communities array of objects
provinces array of objects
actions array of objects
action_items array of objects
applicant_types array of objects
fund_types array of objects
region_types array of objects
activities array of objects
expert_types array of objects
solution_types array of objects
is_super_expert boolean
groups array of strings
permissions array
active_custom_forms number
marketplace_membership object
id number
name string
funds_limit number
leads_limit number
leads_etg boolean
priority number
integrations array of objects
id number
extension_name string
handler_name string
url_api null
created_at string (ISO timestamp)
updated_at string (ISO timestamp)
is_active boolean
extension number
platforms_with_billing_access array of strings
marketplace_partners_info array of objects
name string
schema string
url string
email string
website string
contact_email string
profile_image string
title string
experience string
services string
areas string
extra_info string
marketplace_visibility boolean
marketplace_name string
slug string
assessment number
status number
daily_downloaded_instructions array of numbers
monthly_downloaded_instructions array of numbers
custom_forms_available number
access_ecosystem number
partners_with_user array of strings
workflow_funds array of numbers
curl--request POST \--url 'https://api.test.fandit.es/api/v2/experts/login' \--header 'Content-Type: application/json' import requests
url = "https://api.test.fandit.es/api/v2/experts/login"
headers = {
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers)
print(response.status_code)
print(response.json())
const url = "https://api.test.fandit.es/api/v2/experts/login";
const options = {
method: "POST",
headers: {
"Content-Type": "application/json"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
const url: string = "https://api.test.fandit.es/api/v2/experts/login";
const options: RequestInit = {
method: "POST",
headers: {
"Content-Type": "application/json"
}
};
const response = await fetch(url, options);
const data: any = await response.json();
console.log(data);
<?php
$url = "https://api.test.fandit.es/api/v2/experts/login";
$curl = curl_init($url);
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
]
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import java.io.IOException;
import okhttp3.*;
public class FanditApiExample {
public static void main(String[] args) throws IOException {
OkHttpClient client = new OkHttpClient();
String url = "https://api.test.fandit.es/api/v2/experts/login";
Request request = new Request.Builder()
.url(url)
.addHeader("Content-Type", "application/json")
.post()
.build();
try (Response response = client.newCall(request).execute()) {
System.out.println(response.body().string());
}
}
}
Respuesta Ejemplo de respuesta
{
"token": "9a1c3f5e7b2d4a6c8e0f1b3d5a7c9e1f3b5d7a9c",
"expert": {
"id": 542,
"first_name": "Carlos",
"last_name": "Ruiz",
"username": "carlos.ruiz",
"phone": "+34611223344",
"business_name": "Consultora Ayudas y Subvenciones S.L.",
"profile_avatar": "https://fandit-media.s3.amazonaws.com/experts/avatars/542.jpg",
"profile_avatar_thumbnail": "https://fandit-media.s3.amazonaws.com/experts/avatars/542_thumb.jpg",
"communities": [
{
"id": 1,
"name": "Andalucía"
},
{
"id": 13,
"name": "Madrid"
}
],
"provinces": [
{
"id": 28,
"name": "Madrid"
},
{
"id": 41,
"name": "Sevilla"
}
],
"actions": [
{
"id": 3,
"name": "Digitalización"
},
{
"id": 7,
"name": "Internacionalización"
}
],
"action_items": [
{
"id": 12,
"name": "Implantación de ERP"
}
],
"applicant_types": [
{
"id": 2,
"name": "Pyme"
}
],
"fund_types": [
{
"id": 1,
"name": "Subvención"
},
{
"id": 4,
"name": "Préstamo"
}
],
"region_types": [
{
"id": 1,
"name": "Nacional"
}
],
"activities": [
{
"id": 15,
"name": "Industria"
}
],
"expert_types": [
{
"id": 2,
"name": "Consultoría"
}
],
"solution_types": [
{
"id": 1,
"name": "Gestión de ayudas"
}
],
"is_super_expert": true,
"groups": [
"Expert"
],
"permissions": [],
"active_custom_forms": 4,
"marketplace_membership": {
"id": 2,
"name": "Premium",
"funds_limit": 50,
"leads_limit": 20,
"leads_etg": true,
"priority": 1
},
"integrations": [
{
"id": 9,
"extension_name": "CRM Sync",
"handler_name": "crm_sync_handler",
"url_api": null,
"created_at": "2025-02-10T09:30:00Z",
"updated_at": "2026-06-15T11:12:00Z",
"is_active": true,
"extension": 3
}
],
"platforms_with_billing_access": [
"FANDIT"
],
"marketplace_partners_info": [
{
"name": "FANDIT Marketplace",
"schema": "https",
"url": "marketplace.fandit.es"
}
],
"email": "carlos.ruiz@consultora-ayudas.es",
"website": "https://consultora-ayudas.es",
"contact_email": "contacto@consultora-ayudas.es",
"profile_image": "https://fandit-media.s3.amazonaws.com/experts/profile/542.jpg",
"title": "Consultor senior en subvenciones públicas",
"experience": "Más de 10 años gestionando ayudas y subvenciones para pymes.",
"services": "Diagnóstico de ayudas, tramitación y justificación de subvenciones.",
"areas": "Digitalización, Internacionalización, I+D+i",
"extra_info": "Colegiado en el Colegio de Economistas de Madrid.",
"marketplace_visibility": true,
"marketplace_name": "Consultora Ayudas y Subvenciones",
"slug": "consultora-ayudas-y-subvenciones",
"assessment": 5,
"status": 1,
"daily_downloaded_instructions": [
12,
8,
15
],
"monthly_downloaded_instructions": [
340,
298
],
"custom_forms_available": 6,
"access_ecosystem": 1,
"partners_with_user": [
"FANDIT"
],
"workflow_funds": [
101,
102,
205
]
}
}