Build the future of communications.
Start building for free

API posts

  • By Jordan Hanley
    Dynamic Contact Center Opening Hours Powered by Twilio Studio and Google Places Dynamic Contact Center Opening Hours with Google Places

    The Problem

    One of the most frequent asks when building out an IVR for a contact center is for the IVR to change when the contact center is closed. To deliver a great customer experience, you may want to direct the customer online, give them different options to self-serve, send them to voicemail or simply ask them to call back at a different time.

    This kind of functionality can be built out relatively easily using Twilio Functions with Twilio Studio to lookup a spreadsheet or database and some kind of logic to decide if your business is currently open. However, this can become complex when managing public holidays, business downtime or other exceptions.

    How Can This Be Easier?

    In the online-first world that we live in, most businesses have a presence on Google, and some are even striving to be the most visible in their sector or region. As such, …

    Read More
  • By Ashley Boucher
    How to Use Postman to Make Requests and Test APIs Copy of TwilioQuest  Blog Headers  1200X628.png

    This post is a part of a series that supports an expanded adventure, as of May 2022, in TwilioQuest, but it will be relevant to anyone curious about Postman. Happy reading!

    Ahoy, operator. Congratulations on gaining acceptance into the Arcane Academy of API Arts. I’m Professor Rose Barrington, head of House Hopper. In House Hopper we believe that code is everywhere. We use tools to magnify our magic and bring code to smart devices all over the world. One tool, in particular, that supports our work is Postman.

    Postman is “an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration.”

    You can see why students in House Hopper would make great use of this tool! If you’re exploring your connection to House Hopper, feel free to read this lesson, where I’ll be explaining more about what Postman …

    Read More
  • By Twilio
    5 Best Chat APIs & Messaging SDKs of 2022 messaging api.png

    Real-time chat is a powerful channel for your business to reach customers. In a customer service context, it allows you to handle inquiries immediately. For outbound sales, you can interact with potential customers as soon as they land on your website. As your business connects directly with customers through real-time chat, those connections can translate to sales, growth, and value.

    Fortunately, it has never been easier to integrate such a solution into your business. Instead of building a messaging solution from scratch, companies can leverage prebuilt solutions to easily integrate chat into existing apps and websites.

    Below, we’ll look at 5 of the best chat application programming interfaces (APIs) and messaging software development kits (SDKs) of 2022—but first, let’s lay a foundation by reviewing core concepts.

    What are chat and messaging APIs and SDKs?

    Chat platform APIs and SDKs allow a company to integrate existing real-time chat solutions into its …

    Read More
  • By Seif Hateb
    Basic API Security Guide Basic API Security Guide

    APIs are existing blocks of codes that facilitate the communication between software without the need to rewrite code. That’s making API usage exponentially increase every year.

    (Learn more about APIs in Twilio’s Glossary.)

    Developers use APIs to integrate information from outside sources into their applications and gain access to a large repository of resources and data, simplifying the coding process. However, users also benefit as it makes building interactive applications easier.

    In this post, I will walk you through the whats, hows, and whys of APIs, and discuss basic API security.

    Common API Security Risks

    According to Gartner, by 2022, APIs will become the largest attack vector due to their broad usage. APIs are highly targeted and have even larger attack surfaces than user interfaces (UIs) – and perhaps even larger than email (see the FBI Internet Threat Report).

    So, what makes APIs a new preferred target? …

    Read More
  • By Simonetta Turek
    Twilio Flex Conversations - デジタル時代の真の統合コンタクトセンター & API Flex Conversations Beta JP

    この記事はSimonetta Turekこちらで公開した記事(英語)を日本語化したものです。

    世界で最も柔軟性の高いコンタクトセンタープラットフォームが、その柔軟性をさらに高め、開発者やお客様の役に立つツールとして刷新されます。

    Twilio® Flex® Conversationsは、Flexプラットフォーム上のSMS、チャット、WhatsAppに対応する単一のAPIであり、2022年3月末にパブリックベータ版が公開されました。Flexユーザーはデジタルチャネル環境を簡単に統合し、差別化を図るためのビジョンを実践・推進できるようになり、結果として、パーソナライズの深化とお客様の満足度向上を促進できます。Flex Conversationsを使用することで、Twilio Flexは、業界初と言えるほどの真の統合マルチチャネル型コンタクトセンタープラットフォームとなります。

    なぜこれが重要なのでしょうか?使用するAPIが単一であれば、シームレスな環境を簡単に構築できるうえ、チャット、SMS、メール、WhatsAppなど、お客様とのやり取りに使用するデジタルチャネルを橋渡しできるためです。

    お客様の期待に上限はないため、これは重要です。お客様は、カスタマージャーニーのあらゆる段階でブランドによるパーソナライズを期待しています。お客様の期待に応えられなければ、すぐにでも別のブランドに浮気されてしまいます。こうした認識をふまえ、世界中のあらゆる業界のブランド …

    Read More
  • By Miko Bautista
    APIs are the Last Missing Piece to Enable a New Age of IoT APIs are the Last Missing Piece to Enable a New Age of IoT.png

    Now is the perfect time for forward-looking companies to incorporate globally-scaled IoT into their corporate strategy. Smart connected devices act as carriages for these companies to deliver more efficient processes, smarter decision making, and more autonomy to their customers. In this blog post, we will talk about why building IoT solutions is easier than ever before and why achieving scale is only possible by integrating with highly reliable, maintainable, and available APIs.

    Prefer to LISTEN to this content rather than read it? Miko recently presented on this topic live, at the Helsinki edition of APIDays:

    What sparked the current explosion of IoT use cases

    The recent conclusion of the “smartphone war” has left players Apple and Google standing at the top. By now, it’s common knowledge that most smartphone users own either an iPhone or an Android. What might not be as obvious, however, is that the remnants of this …

    Read More
  • By Matthew Setter
    Send Scheduled SMS with PHP and Twilio Programmable Messaging Send Scheduled SMS with PHP and Twilio Programmable Messaging

    Twilio Programmable Messaging lets you send SMS, MMS, and WhatsApp messages. However, up until recently, it didn't support scheduling messages for a future date and time. If you wanted to do that, you had to roll that functionality yourself, likely using a Cron job, or some scheduling tool, to retrieve stored messages from a database, and create them when they needed to be sent.

    Now, though, you can schedule SMS messages with a single API call using Message Scheduling!

    In this tutorial, you’ll learn how to schedule SMS ahead of time using PHP. To make the tutorial a little more meaningful, assume that you are writing the code to help remind people about upcoming meetings of the local club that you're a member of.

    Tutorial Requirements

    You will need these items to follow along with this tutorial:

    • PHP 7.4 (ideally 8.1)
    • Composer installed globally
    • A free or paid Twilio …
    Read More
  • By Funke Olasupo
    How to Customize Email Verification and Password Resets in Laravel How to Customize Email Verification and Password Resets in Laravel

    Email verification and password resetting are two integral authentication features of modern applications. In most web apps, users usually reset their lost passwords, however, they must also verify their email address before accessing the web app for the first time.

    Laravel provides handy, built-in services for sending and verifying email verification requests,and securely resetting passwords. But in this tutorial, you will learn how to create custom email verification and reset passwords in Laravel.

    Prerequisites

    Email verification and resetting passwords at a glance

    A password reset option is required whenever you add login and signup functionality for user authentication. Doing so, whenever users forget their password they have the means to reset it. As part of this process, there will usually be a token in the reset link, and that token …

    Read More
  • By Kenneth Ekandem
    How to Create a Restful CRUD API in PHP Using Laravel and Google Firebase How to Create a Restful CRUD API in PHP Using Laravel and Google Firebase

    In this tutorial, you will learn how to create a RESTful CRUD (Create, Read, Update, and Delete) API with Laravel that stores its data in a Firebase realtime database.

    What is Firebase?

    Google Firebase is a Google-backed application development platform that enables developers to develop iOS, Android, and Web-based applications. Firebase provides tools for tracking analytics, reporting and fixing app crashes, creating marketing and product experiments, and much more.

    So, without wasting time, let us dive in.

    Prerequisites

    1. PHP 7.4, though ideally 8.1.
    2. Composer installed globally.
    3. jq.
    4. Prior experience with Laravel.
    5. A text editor such as Visual Studio Code or an IDE such as PhpStorm.
    6. A Google account.

    Install and set up the Laravel application

    To begin, you first have to install a Laravel application and run it on your local development machine.

    To do that, in your terminal, run the command …

    Read More
  • By Ijeoma Nelson
    How to Create a RESTful API in PHP With SlimPHP 4 and MySQL How to Create a Restful API With SlimPHP 4 and MySQL

    For those times when all you need is a simple solution that enables you to write quick, yet powerful applications, Slim is a great contender amongst the myriad of available PHP frameworks.

    At its core, Slim is a microframework designed to receive HTTP requests, route the requests to the relevant controllers, and return the corresponding HTTP responses.

    Slim’s minimalist environment makes it ideal for the development of both microservices and APIs that consume, repurpose, or publish data.

    In this tutorial, you’re going to learn how to create a RESTful API using Slim 4, PHP, and MySQL.

    Prerequisites

    To complete this tutorial you will need the following:

    • PHP 7.4. Ideally version 8.1.
    • Composer installed globally.
    • MySQL 8.
    • Postman.

    Let's create the API!

    To begin, you need to create the project’s root directory, named customers-api. You can do this in your editor/IDE or by running the following commands on a …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.