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, 12 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

    Quote Templates in Salesforce: What Do You Need to Know to Use Them Right

    Blog in Salesforce Tools

    The C, P, and Q in CPQ stand for Configuration, Pricing, and Quote—a powerful combination that simplifies the proposal process. Creating accurate and professional-looking quotes…

    Branding Consistency, Business Software, Configure Price Quote, Configure Pricebook, CPQ
    Sculptor CPQ Jul 11, 2024
    862  Views
    ServiceNow Integration

    How to Set up a Salesforce ServiceNow Integration [Step-by-Step Guide]

    Blog in Salesforce integration

    How to Set up a Salesforce ServiceNow Integration [Step-by-Step Guide] Salesforce ServiceNow integration can assist your teams in better acquiring and aggregating their already increasing…

    AppExchange, AppExchange Dashboard, Applications, Apps, Automation Application
    jameel Feb 2, 2022
    4,940  Views

    How is Salesforce SMS Pricing Helpful in Improving your Sales Strategy?

    Blog in Others

    Seamless communication acts as a catalyst to ensure enhanced sales and marketing for your business on a continued basis. It is undoubtedly a great tool…

    Automated Follow-Ups, Boost Sales Strategy, Business, Campaign Effectiveness, Challenges
    360 SMS APP Dec 11, 2023
    1,715  Views

    Popular Salesforce Videos

    TrailheaDX '18 Opening Keynote - Part 2: Salesforce Platform

    TrailheaDX '18 Opening Keynote - Part 2: Salesforce Platform

    Video in Trailhead

    Salesforce TrailheaDX ’18 Opening Keynote – Part 1: Create Connected Customer Experiences TrailheaDX ’18 Opening Keynote – Part 3: Connect Every Experience Salesforce TrailheaDX ’18…

    Salesforce Lightning, Salesforce Trailhead, Customer Success, Salesforce Trailblazers, Developer Evangelism
    Abhay Mar 29, 2018
    1,691  Views
    Features of Salesforce Industries (Vlocity)

    Features of Salesforce Industries (Vlocity)

    Video in Salesforce Training

    There are many features of Salesforce Industries that make it a one-stop solution for businesses. Salesforce Industries or Vlocity offers Omnichannel processes with lightning Web,…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Webinar, data migration
    Cyntexa Sep 16, 2022
    1,745  Views
    How to Choose Salesforce Career Path | How To Start a Salesforce Career

    How to Choose Salesforce Career Path | How To Start a Salesforce Career

    Video in Salesforce Stories, Salesforce Training

    With most of the businesses using Salesforce finding access to talent to be a ‘critical challenge’, it’s no wonder so many people are choosing a…

    Salesforce Training, Salesforce Tutorial, salesforce, CRM, Salesforce Video
    Nauman Nov 8, 2021
    1,421  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.