Integración mediante API

Con nuestra API podrás integrar muchas de las peticiones de información, modificación, etc de números y servicios contratados. Además podrás integrar las llamadas en tiempo real mediante tus propios webhooks o usando Zapier o IFTTT. Más abajo puedes ver las funciones disponibles. Puedes proponernos nuevas si crees que nos falta alguna que te puede ser útil. Estamos abiertos a ampliarlo en lo que necesitéis.

Integración API Flash Telecom

Acciones que puedes realizar con la API

Los métodos de solicitud de información son GET. Los de introducción de información son POST y los de borrado de información DELETE.

Cuando damos de alta tu ficha en el API recibirás un apikey que usarás en las peticiones.

TARIFAS PLANAS POR NÚMERO (GET)
https://api.fmeuropa.com/v1/get-flatrates-number/tunumero?apikey=xxxxxxxx
TARIFAS PLANAS POR USUARIO (GET)
https://api.fmeuropa.com/v1/get-flatrates-user?apikey=xxxxxxxx
LISTADO DE LLAMADAS ENTRANTES (paginado) (GET)
https://api.fmeuropa.com/numbers/tunumero/calls?start=01-04-2010&end=10-04-2020&apikey=xxxxxxxxxxx
LISTADO DE LLAMADAS SALIENTES (paginado) (GET)
https://api.fmeuropa.com/numbers/tunumero/calls/sent?start=01-04-2010&end=10-04-2010&apikey=xxxxxxxxxxxx
INFORMACIÓN GENERAL DEL NÚMERO (GET)
https://api.fmeuropa.com/numbers/<numero>?apikey=xxxxxxx
INFORMACIÓN GENERAL DEL CLIENTE (incluyendo el saldo) (GET)
https://api.fmeuropa.com/user/id_cliente?apikey=xxxxxxxxxxx
LISTAR NÚMEROS EN LISTA NEGRA (GET)
https://api.fmeuropa.com/numbers/tunumero/blacklist?apikey=xxxxxxxxx
AÑADIR UN NÚMERO A LA LISTA NEGRA (POST)
https://api.fmeuropa.com/numbers/tunumero/blacklist?apikey=xxxxxxxxx
Parámetro: number=xxxxxxxx (siendo x el número a añadir)
BORRAR UN NÚMERO DE LA LISTA NEGRA (DELETE)
https://api.fmeuropa.com/numbers/tunumero/blacklist/numeroaborrar?apikey=xxxxxxxxxx
Parámetro: number=xxxxxxxx (siendo x el número a borrar)
LISTAR NÚMEROS EN LISTA BLANCA (GET)
https://api.fmeuropa.com/numbers/tunumero/whitelist?apikey=xxxxxxxxxx
AÑADIR UN NÚMERO A LA LISTA BLANCA (POST)
https://api.fmeuropa.com/numbers/tunumero/whitelist?apikey=xxxxxxxxx
Parámetro: number=xxxxxxxx (siendo x el número a añadir)
BORRAR UN NÚMERO DE LA LISTA BLANCA (DELETE)
https://api.fmeuropa.com/numbers/tunumero/whitelist/numeroaborrar?apikey=xxxxxxxxx
Parámetro: number=xxxxxxxxxxxxx
OBTENER EL LISTADO DE GRABACIONES (GET)
https://betaapi.fmeuropa.com/numbers/tunumero/recordings?apikey=xxxxxxxxxxxxxxxxxxxxxxxxx
Esto te devolverá un JSON con las URLs de cada llamada. Obtén esas URLs para hacer la descarga.
Ejemplo:
{
  "status": "success",
  "data": {
    "recordings": [
      {
        "file": "900900900_976976976_20201026112347.wav",
        "date": "26/10/2020 11:23:47",
        "download_url": "https://files.fmeuropa.com/download?file=900900900_976976976_20201026112347.wav-xxx&number=xxxxxxxxxx&expires=1606478713&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "from": "900900900",
        "to": "976976976"
      }
    ]
  }
}
Go top