The Quantfolio Webhooks API allows you to receive real-time notifications when specific events occur in the Quantfolio Advisory Platform. Instead of continuously polling for changes, webhooks provide an efficient way to stay updated on important events by sending HTTP POST requests to your specified endpoints.
Events follow a three-part naming convention: service.object.action
Examples:
qap.investor.created - An investor was createdqap.advice_session.completed - An advice session was completedqap.advice_session_report.signed - An advice session report was signed*.*.created - Subscribe to all creation events (using wildcards)All webhook payloads follow this structure:
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "qap.investor.created",
"time": "2024-01-15T10:30:00.000",
"object_id": "123e4567-e89b-12d3-a456-426614174000",
"owner_id": "987fcdeb-51a2-3d4e-b567-890123456789",
"object_owner_id": "987fcdeb-51a2-3d4e-b567-890123456789",
"data": {
"investor_type": "person",
"investor_name": "John Doe"
},
"tenant_code": "{{tenant_slug}}",
"tenant_id": 0
}