Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Create Streaming PushTopic using REST API in Salesforce?

    Tagged: Account, PushTopic Query, Rest API, Salesforce Apex Code, Salesforce REST API, Salesforce sObject, Streaming API

    • Salesforce® Discussions

      Create Streaming PushTopic using REST API in Salesforce?

      Posted by Radhakrishna on June 14, 2017 at 10:49 AM

      Salesforce Streaming API documentation gives the examples of creating PushTopics through the developer console by running some APEX code. Is there a way to create PushTopics programmatically using REST API? If yes, then how? If no, then does it mean that I will have to upload this APEX for each sobject in the salesforce account?

      Manpreet replied 8 years, 8 months ago 2 Members · 1 Reply
      • Account
      • PushTopic Query
      • Rest API
      • Salesforce Apex Code
      • Salesforce REST API
      • Salesforce sObject
      • Streaming API
    • 1 Reply
    • Manpreet

      Member
      January 30, 2018 at 4:24 PM

      Hi Radhakrishna,

      Yes, you can create a PushTopic via the REST API.

      Based on the Create a Record example and PushTopic:

      curl https://na1.salesforce.com/services/data/v32.0/sobjects/PushTopic/
      -H "Authorization: Bearer token -H "Content-Type: application/json"
      -d "@newpushtopic.json"
      Request Body newpushtopic.json

      {
      "Name" : "Account",
      "Query" : "SELECT Id FROM Account",
      "ApiVersion" : 32.0,
      "NotifyForOperationCreate" : true,
      "NotifyForOperationUpdate" : true,
      "NotifyForOperationUndelete" : true,
      "NotifyForOperationDelete" : true,
      "NotifyForFields" : "All",
      }

      Thanks.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Salesforce Data Migration Services - Here are All the Details you Need

    Blog in Data Migration, Salesforce

    Companies may choose to move from one CRM to the next for a variety of reasons. It can be an indication that a company is expanding…

    Apex Schedule Jobs, Auto Launched Flows, Automate Operations, Automation Tool, Business Process
    Chloe Sep 30, 2022
    2,866  Views
    Customer Experience with Salesforce

    10 Tips For Slicker Call Handling & Improving Customer Experience with Salesforce

    Blog in Others

    In today’s world of social media, Amazon, Uber, Airbnb and the like, smartphones, tablets, touchscreens and Smart TV’s is it any wonder that as customers…

    call handling, Call Metrics, Call Monitoring, Call Recording, Connected Customer
    Ian Mar 18, 2020
    5,895  Views
    Dashboards in Salesforce

    Dashboards in Salesforce - A Brief Guide

    Blog in Salesforce

    Dashboards in Salesforce are graphical representations of reports. Visualize data from reports as components. These components provide a summary of your organization's key analytics and…

    Bar Chart, Chart, Components, Control Panel, Dashboard Component
    Romil Jun 24, 2022
    5,299  Views

    Popular Salesforce Videos

    Salesforce Career Path 2022 | How to Make Career in Salesforce

    Salesforce Career Path 2022 | How to Make Career in Salesforce

    Video in Salesforce Training

    In addition, Salesforce Developer is one of the 10 best jobs on Indeed's Best Jobs. As businesses embrace the future of mobile, big data, IoT,…

    Salesforce Training, Salesforce Tutorial, Salesforce Developer, Salesforce Video, Salesforce Career
    Jogender Oct 27, 2021
    2,145  Views
    Use Salesforce CMS to Manage and Publish Content for Experience Cloud Sites

    Use Salesforce CMS to Manage and Publish Content for Experience Cloud Sites

    Video in Salesforce Cloud Platform

    Learn how Salesforce CMS helps you create, manage, and publish your content in Experience Cloud. With Salesforce CMS, you can also customize content for specific…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Jogender Apr 25, 2022
    2,696  Views
    Salesforce Lightning User Tips and Tricks Spring 2023

    Salesforce Lightning User Tips and Tricks Spring 2023

    Video in Lightning

    SalesPath Corporation has created a video explaining tips and tricks that every Salesforce user will find helpful in order to increase productivity. This video also…

    Salesforce Training, Salesforce Tutorial, Salesforce Lightning, salesforce, Salesforce Video
    Tulika Wadhwani Dec 12, 2022
    4,806  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.