Tikin · Docs
API ReferenceServicesNotifications

Listar notificaciones de la cuenta

GET
/notification/inapp/personal_notifications

Filtra por usuario y cuenta origen o destino. Conserva el historial aunque el push falle o no haya dispositivo. pending_to_read cuenta todas las visibles sin leer, independientemente del filtro read.

Authorization

productSession
AuthorizationBearer <token>

Sesión del usuario del producto Tikin, con headers Tenant y Account; distinta del token de tenant de plataforma.

In: header

Query Parameters

page?integer
Range1 <= value
Default1
size?integer
Range1 <= value <= 100
Default20
read?boolean

Header Parameters

Tikin-Version?string

La versión del contrato a la que anclas este pedido, como fecha YYYY-MM-DD. Rige la última publicada en o antes de esa fecha; sin el header, la más reciente.

Formatdate
user-id*string
Formatuuid
account*string
Formatuuid

Response Body

application/json

curl -X GET "https://example.com/notification/inapp/personal_notifications" \  -H "user-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "account: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "pending_to_read": 0,  "total_notifications": 0,  "actual_page": 0,  "total_pages": 0,  "notifications": [    {      "identification": 0,      "notification_title": "string",      "notification_message": "string",      "notification_type": "string",      "wallet_transaction_id": "2ad24cca-d953-4dcc-b2e2-90de3a110f93",      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",      "source_account_wallet_id": "66b7fa26-bc38-416e-888d-c5d6b1b1e69e",      "destination_account_wallet_id": "3a04000e-6093-4ac7-b145-cac4a5394e6e",      "visible": true,      "read": true,      "success": true,      "created_at": "2019-08-24T14:15:22Z"    }  ]}