Skip to main content
GET
https://app.famulor.de
/
api
/
user
/
phone-numbers
/
all
Telefonnummern auflisten
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"
    }
  ]
}
Dieser Endpunkt gibt eine Liste aller Telefonnummern zurück, die mit Ihrem Konto verknüpft sind, einschließlich ihres Abonnementstatus und ihrer Funktionen.
Es gibt auch einen Legacy-Endpunkt 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.

Antwort-Felder

data
array
Array von Telefonnummern-Objekten
curl -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"
    }
  ]
}