Ugrás a fő tartalomhoz

Telefonszámok listája

GET/api/v1/organizations/telephony-configs/{config_id}/phone-numbers

cURL példa

curl -X GET \
  'https://app.intracord.hu/api/v1/organizations/telephony-configs/{config_id}/phone-numbers' \
  -H "X-API-Key: $INTRACORD_API_KEY"

Paraméterek

NévHelyTípusLeírás
config_idkötelezőpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Válaszok

200Successful Response
application/json
Séma megtekintése
{
  "properties": {
    "phone_numbers": {
      "items": {
        "$ref": "#/components/schemas/PhoneNumberResponse"
      },
      "type": "array",
      "title": "Phone Numbers"
    }
  },
  "type": "object",
  "required": [
    "phone_numbers"
  ],
  "title": "PhoneNumberListResponse"
}
404Not found
422Validation Error
application/json
Séma megtekintése
{
  "properties": {
    "detail": {
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}