curl --request GET \
--url https://app.famulor.de/api/user/phone-numbers/all \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1,
"phone_number": "+49155551234",
"country_code": "DE",
"type": "normal",
"type_label": "Dedicated Number",
"sms_capable": true,
"region": "us1",
"has_active_subscription": true,
"created_at": "2025-01-07T10:30:00.000000Z"
},
{
"id": 2,
"phone_number": "+442071234567",
"country_code": "GB",
"type": "normal",
"type_label": "Dedicated Number",
"sms_capable": false,
"region": "us1",
"has_active_subscription": true,
"created_at": "2025-01-05T14:20:00.000000Z"
}
]
}
Ruft alle Telefonnummern des authentifizierten Benutzers ab
curl --request GET \
--url https://app.famulor.de/api/user/phone-numbers/all \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1,
"phone_number": "+49155551234",
"country_code": "DE",
"type": "normal",
"type_label": "Dedicated Number",
"sms_capable": true,
"region": "us1",
"has_active_subscription": true,
"created_at": "2025-01-07T10:30:00.000000Z"
},
{
"id": 2,
"phone_number": "+442071234567",
"country_code": "GB",
"type": "normal",
"type_label": "Dedicated Number",
"sms_capable": false,
"region": "us1",
"has_active_subscription": true,
"created_at": "2025-01-05T14:20:00.000000Z"
}
]
}
GET /user/phone-numbers, der nur SMS-fähige Telefonnummern mit aktiven Abonnements zurückgibt. Verwenden Sie diesen /all Endpunkt, wenn Sie alle Telefonnummern benötigen, unabhängig von SMS-Fähigkeit oder Abonnementstatus.Show Telefonnummer-Eigenschaften
normal, sip oder caller_idcurl -X GET "https://app.famulor.de/api/user/phone-numbers/all" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"data": [
{
"id": 1,
"phone_number": "+49155551234",
"country_code": "DE",
"type": "normal",
"type_label": "Dedicated Number",
"sms_capable": true,
"region": "us1",
"has_active_subscription": true,
"created_at": "2025-01-07T10:30:00.000000Z"
},
{
"id": 2,
"phone_number": "+442071234567",
"country_code": "GB",
"type": "normal",
"type_label": "Dedicated Number",
"sms_capable": false,
"region": "us1",
"has_active_subscription": true,
"created_at": "2025-01-05T14:20:00.000000Z"
}
]
}
Was this page helpful?