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 8 years, 1 month 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

    Salesforce Managed Services

    Is Salesforce Managed Services a Fit for You? Pros and Cons to Consider

    Blog in Salesforce

    With tech-integrated personalized and adaptive solutions becoming the norm across businesses, it’s crucial to stay ahead of the curve. Salesforce is one such platform that…

    Architects, Business Ecosystem, Business Needs, Business Practices, Business Risks
    Jessica Anderson Dec 14, 2021
    3,040  Views

    7 Qualities to Look for in a Salesforce Consulting Partner

    Blog in Salesforce Consultant

    Over the past few years, there has been a notable expansion in the Salesforce consulting partner network, which now encompasses individuals and global consulting agencies.…

    Automation, Building, Business Processes, Business World, Cheap Services
    Concretio Jun 27, 2023
    1,677  Views

    Which Steps To Follow to Level up your Salesforce DevOps Maturity?

    Blog in Others, Salesforce Data integration

    It is high-time that tech companies transform themselves digitally. This can be done only when companies adopt leading cloud platforms that are present in the…

    Devops, Devops implementation, Salesforce Automation, Salesforce Designs, Salesforce Implementation
    Algoworks Jul 26, 2019
    4,787  Views

    Popular Salesforce Videos

    7 Tips To Choose The Right CRM For Your Business

    7 Tips To Choose The Right CRM For Your Business

    Video in Others

    A Customer Relationship Management (CRM) system can be overwhelming to choose from. You have so many options to choose from, each offering different tools and…

    Salesforce Video, Salesforce Learning, SalesforceDevelopment, SalesforceCRM, ​ Salesforce Release​
    Cyntexa Jan 23, 2023
    1,578  Views
    Salesforce Mobile Publisher Demo

    Salesforce Mobile Publisher Demo

    Video in Salesforce Stories, Mobile, Salesforce Apps

    With Salesforce Mobile Publisher, you can create pixel-perfect mobile applications for employees, customers, and partners. Check out this video and learn all you need to…

    salesforce, Salesforce Apps, Salesforce Video, Customers, Salesforce Learning
    Pooja Sep 30, 2020
    2,125  Views
    MuleSoft Integration: Salesforce Event with AWS MySQL Database

    MuleSoft Integration: Salesforce Event with AWS MySQL Database

    Video in Salesforce Integration

    Learn how to integrate Salesforce Event with AWS MySQL Database using MuleSoft. The video will cover these four points - 1. Introduction Integrating Salesforce and…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, Salesforce Event, Salesforce Video
    Algoworks Aug 27, 2021
    1,436  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.