Contact List Riverpod Provider
API Contract
REST
/api/v1/contacts/providers
4 endpoints
GET
/api/v1/contacts/providers/api/v1/contacts/providers/contact-list
Resolve the full contact list state (mirrors contactListProvider)
Public
Response Example
{
"data": [
{
"id": "usr_01J3K8X",
"full_name": "Ane Berg",
"email": "ane.berg@org.no",
"role": "peer_mentor",
"org_id": "org_abc123"
},
{
"id": "usr_02M5T9Y",
"full_name": "Lars Haugen",
"email": "lars.h@org.no",
"role": "coordinator",
"org_id": "org_abc123"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 84
}
}
GET
/api/v1/contacts/providers/api/v1/contacts/providers/peer-mentor-list
Resolve the peer mentor list state (mirrors peerMentorListProvider)
Public
Response Example
{
"data": [
{
"id": "pm_88A1C",
"full_name": "Silje Dahl",
"specialty": "Integration",
"org_id": "org_abc123",
"available": true
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 12
}
}
GET
/api/v1/contacts/providers/api/v1/contacts/providers/filtered
Resolve the filtered contact list state (mirrors filteredContactListProvider)
Public
Response Example
{
"data": [
{
"id": "usr_01J3K8X",
"full_name": "Ane Berg",
"email": "ane.berg@org.no",
"role": "peer_mentor"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 3
}
}
PUT
/api/v1/contacts/providers/api/v1/contacts/providers/search-query
Update the active search query state (mirrors contactSearchQueryProvider)
Public
Request Example
{
"query": "silje"
}
Response Example
{
"query": "silje",
"updated_at": "2026-03-26T10:00:00Z"
}