OneSignal REST API

Send push alerts and look up devices from your OneSignal REST API during calls.

Connect your OneSignal REST API to your AgentCalls agent with your own credentials from the OneSignal REST API settings. During a call, your agent can check whether a customer's device is registered, look up a notification that was sent to them, and list the segments your app already uses. It can also send a push notification to a target audience when a caller asks for an update, such as an order ready for pickup or a schedule change. Your agent works with the 15 OneSignal REST API actions your team has access to, so it only touches the data you allow.

What your agent can do with OneSignal REST API

  • Check whether a customer's device is registered in your OneSignal app
  • Look up recent notifications and confirm what was sent and when
  • List your audience segments so callers can be routed to the right group
  • Send a push notification to a target audience after a call
  • Update or remove a device when a customer asks to change or stop alerts

OneSignal REST API exposes 15 actions. You choose which ones the agent may use and whether each runs during or after the call.

Example calls

Caller asks whether they got the appointment reminder

  1. Caller

    Hi, I think I missed my reminder for tomorrow's appointment. Can you check?

  2. Agent

    Sure, let me look that up. I can see a reminder was sent to your phone at 6:00 PM yesterday and it was delivered. Would you like me to send it again now?

  3. Caller

    Yes, please. Thanks.

  4. Agent

    Done. The reminder is on its way to your device now.

Customer wants to stop app alerts on an old phone

  1. Caller

    I got a new phone and I don't want notifications on the old one anymore.

  2. Agent

    No problem. I found the device linked to your account under the name Sarah's iPhone 12. Should I remove it from our notification list?

  3. Caller

    Yes, remove it.

  4. Agent

    It's removed. You'll still get alerts on your new phone once it's registered in the app.

Outbound call about a schedule change

  1. Agent

    Hello, this is Daniel from Brightside Dental calling for Mr. Okafor. Your Thursday 10:30 cleaning has moved to 2:15 PM.

  2. Caller

    Okay, that works for me. Can you let my app know too?

  3. Agent

    I'm sending a push notification to your device now with the new time. You should see it in a moment.

How to connect OneSignal REST API

  1. 1

    Create your agent

    Sign up to AgentCalls, pick an English or Arabic voice and write what the agent should know and do in plain language.

  2. 2

    Connect OneSignal REST API

    From Integrations in the dashboard, choose OneSignal REST API and enter the connection details from your OneSignal REST API account settings.

  3. 3

    Choose the actions

    In the agent editor, enable the OneSignal REST API actions the agent may use and set each to run during the call or afterwards. Then test it from your browser.

Questions, answered.

Does the agent work with OneSignal REST API during the call or after it?

Both. During a call your agent can look up devices, notifications and segments, and send a push notification. Actions are logged so you can review them after the call.

What do I need to connect OneSignal REST API?

You need a OneSignal account with an app set up. Copy your credentials from the OneSignal REST API settings, then sign in to the AgentCalls dashboard and add them under Tools. Your agent can start using the connection right away.

Which plan includes this integration?

Integrations, including OneSignal REST API, are included from the Growth plan.

Page drafted from the tool's public description and reviewed automatically for accuracy of claims

Put your agent to work with OneSignal REST API.

Connect in minutes, test from your browser, go live on a number in the US, UK or Gulf. Free to start, no card needed.