Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 7 years, 11 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

    application solution

    Popular Salesforce Blogs

    Experience Builder: Unlocking the Potential of Salesforce Experience Cloud

    Blog in Salesforce Products

    No-code and low-code development approaches are gaining immense popularity. These approaches have revolutionized how businesses, regardless of their size or technical expertise, can create websites…

    AppExchange Solutions, Automated email notifications, Brand Identity, Branded websites, Branding sets
    Advanced Oct 26, 2023
    2,760  Views
    Salesforce AppExchange

    Publishing an App on Salesforce AppExchange

    Blog in Others

    Introduction There are three major steps to be followed to get your App on Salesforce AppExchange. Plan ( what type of App you want to…

    App, App on Salesforce AppExchange, App Payments, AppExchange Applications, AppExchange for Security Review
    Kirandeep Oct 22, 2020
    7,863  Views

    Why Should I Move My Business to Salesforce

    Blog in Salesforce Consultant

    If you are exploring the realm of the CRM business, you will run into plenty of CRMs, with a considerable lot of them offering the…

    Cloud Based CRM, Features of Salesforce, Programming Model, Salesforce Businesses, Salesforce Consultant
    William Apr 26, 2019
    3,606  Views

    Popular Salesforce Videos

    Salesforce To Salesforce Integration Using REST API

    Salesforce To Salesforce Integration Using REST API

    Video in Salesforce Integration

    Salesforce to Salesforce integration using REST API. In this video, you will learn how two Salesforce Orgs can be integrated using REST API. This tutorial…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, Salesforce Video
    Algoworks Apr 8, 2021
    2,123  Views
    How Is The Future Of Salesforce?

    How Is The Future Of Salesforce?

    Video in Salesforce Development

    Wondering about the future of Salesforce? Join this useful group for Salesforce job & career info and get all the details you need.

    Salesforce Training, Salesforce Tutorial, Salesforce Development, Salesforce Admin, Salesforce Developers
    Intelogik Nov 18, 2022
    1,631  Views
    Before Delete Trigger in Salesforce Flows - Winter '21 update

    Before Delete Trigger in Salesforce Flows - Winter '21 update

    Video in Salesforce Training

    In this video, I'm talking about one of the new features of the Salesforce Winter '21 flow builder i.e is before delete trigger. Watch and…

    Salesforce Training, Salesforce Tutorial, Salesforce Video, Salesforce Learning, Flow Builder
    Shubham Jan 22, 2021
    3,494  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.