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

    How Can Customizing Salesforce Help Non-Profit Organizations?

    How Can Customizing Salesforce Help Non-Profit Organizations?

    Blog in Salesforce

    Salesforce can support every industry sector, helping companies earn more profits and achieve business growth. But what about the non-profit sector? The good thing is…

    fundraising, Fundraising Campaign Management, Fundraising Campaigns, IT Teams, Lead Nurturing
    360degreecloud Salesforce Feb 22, 2023
    1,447  Views

    Salesforce Dreamforce 2024: Experience with Salesforce+ & Trailblazer

    Blog in Salesforce

    The world's community comes together to examine the newest advancements in [AI] Artificial Intelligence, customer success, and innovation at Dreamforce 2024, an event that Salesforce…

    Customer Success Salesforce, Dreamforce 2024, Dreamforce 2024 Agenda, Dreamforce After Hours Events, Dreamforce AI Automation
    AwsQuality Sep 13, 2024
    599  Views

    Salesforce Indexes: Detailed Overview

    Blog in Salesforce customization

    In today's article, we will provide a comprehensive overview of Salesforce indexes, addressing key questions you may have about them. What are Salesforce Indexes? Salesforce…

    B-tree Indexing, Business Needs, Custom Field, Custom Index, Custom Indexed Fields
    Sparkybit Sep 27, 2023
    3,234  Views

    Popular Salesforce Videos

    Salesforce SOAP API integration using Partner WSDL

    Salesforce SOAP API integration using Partner WSDL

    Video in Salesforce Integration

    This video is another one on our Salesforce Integration learning video series, through this video our experts will be going to demonstrate how to use…

    Salesforce Development, SOAP, Salesforce Integration, Apex SOAP API, Salesforce Apex Code
    Pooja Apr 14, 2018
    2,388  Views
    How to Set Up a Journey in Journey Builder

    How to Set Up a Journey in Journey Builder

    Video in Salesforce Training

    Learn to build a customer journey with guidance from our experts. This video provides an overview of Journey Builder features and best practices. Get expert…

    Salesforce Training, Salesforce Tutorial, Salesforce Video, Salesforce Learning, Best Practices
    Prafull Sep 22, 2021
    1,767  Views
    Zero Bug Revolution Episode 05 : The Expert Advice with Deepak Visweswaraiah.

    Zero Bug Revolution Episode 05 : The Expert Advice with Deepak Visweswaraiah.

    Video in Others

    "Join us on ""Zero Bug Revolution: The Expert Advice"" with Rupesh Garg, our CEO, and Deepak Visweswaraiah, VP of Platform Engineering at Pega, for a…

    seo Sep 5, 2025
    66  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.