SaasGuru Logo

🎉Master Salesforce CPQ in 6 Weeks: Streamline Sales and Drive Revenue– Enroll Now! 🎉

🎉Master Salesforce CPQ in 6 Weeks: Streamline Sales and Drive Revenue– Enroll Now! 🎉
salesforce object key prefix list

Salesforce Object Key Prefix List

When working with data in Salesforce, understanding the unique key prefixes associated with each object is essential. These key prefixes play a critical role in identifying and accessing the various objects within your Salesforce organization.

In this blog post, we’ll take a closer look at the Salesforce Object Key Prefix List, what it is, and how it can be used to make working with your Salesforce data even more efficient and effective. 

Whether you’re a seasoned Salesforce pro or just getting started, this list is an invaluable resource for understanding and navigating the many objects in your Salesforce organization. So, let’s dive in and explore what the Salesforce Object Key Prefix List offers!

What is the Salesforce Object Key Prefix?

A Salesforce Object Key Prefix is a unique three-character code used to identify and reference a specific object within a Salesforce organization. 

These key prefixes are used in Salesforce’s API and URLs to identify the specific object being accessed or manipulated. Each object in Salesforce, such as Accounts, Contacts, Leads, Users, Campaigns, Cases, Solutions, Contracts, Products, Orders, Opportunities, Custom Objects, Notes, and Tasks, has a unique key prefix. 

These key prefixes can be used programmatically to access and manipulate the data within those objects.

For instance, if you wanted to access the Accounts object in a Salesforce organization, you would use the key prefix “001” in the URL or API call. This would tell the system that you want to access the Accounts object and the data within it.

Salesforce Bootcamp

Below is the List of Salesforce Object Key Prefix

Object Key prefixObject Type
1Account
00rAccount Share
04mAdditional Directory Number
01pApex Class
07LApex Debug Log
707Apex job
01qApex Trigger
806Approval
04iApproval Request
ka0,KA0Article
02iAsset
00PAttachment
01mBusiness Hours
19Business process
04vCall Center
701Campaign
00vCampaign Member
01YCampaign Member Status
08sCampaign Share
500Case
00aCase Comment
01nCase Share
10Case Solution
02oCategory Data
02nCategory Node
0F9Chatter Group
0FBChatter Group Member
09aCommunity
3Contact
00K,02Z,03j,02aContact Role
03sContact Share
68,069Content
800Contract
00bCustom Button or Link
01NCustom S-Control
15Document
05XDocument Entity Map
91Email Service
93Email Services Address
18Email Status
00XEmail Template
0.00E+0Entity Subscription
00UEvent
20Event Attendee
0D7Feed Comment
0F7Feed Post
0D6Feed Tracked Change
22Fiscal Year Settings
00lFolder
608Forecast Share
00GGroup
11Group Member
0C0Holiday
87Idea
00aIdea Comment
kA#Knowledge Article
ka#Knowledge Article Version
00QLead
01oLead Share
16Letterhead
01HMail merge Template
0D5News Feed
2Note
6Opportunity
8Opportunity History
00kOpportunity Product
00tOpportunity Share
00JOpportunity Competitor
00DOrganization
0D2Org Wide Email Address
00lPartner
26Period
01sPrice book2
01uPrice book Entry
04gProcess Instance
04hProcess Instance Step
01tProduct
00eProfile
03gQueue Sobject
12Record Type
00EUser Role
08eScheduled Job
0DMSite
501Solution
81Static Resource
00TTask
5User
100User License
03uUser Preference
0D5User Profile Feed
99Visual force component
66Visual force Page
83Vote

How Can the Salesforce Object Key Prefix Be Used in Salesforce? 

Salesforce Object Key Prefixes are like secret codes that unlock the gates to all of your organization’s Salesforce data. These three-character codes are like keys that help you identify and access specific Salesforce objects.

Assume you’re a detective trying to unravel a case and need to gather data from various sources. 

Likewise, in Salesforce, you may need to collect data from various objects such as Accounts, Contacts, Leads, and so on. Each object in Salesforce has its unique key prefix, and by using these key prefixes, you can programmatically access and alter the information within those objects.

Salesforce Object Key Prefix List

Predict you want to fetch all information related to Accounts in your organization. Use the key prefix “001” in the URL or API call, and you’re done! You will have direct exposure to all Accounts data in your Salesforce organization.

These key prefixes can also be used to generate custom URLs for objects, which can be useful for creating custom links in emails.

In short, Salesforce Object Key Prefixes are an influential and compelling tool that will aid you in streamlining your data management and making it simpler to access the information you demand when you entail it.

Get your Salesforce Certifications on the first go

Use Coupon Code BLOG20 to avail flat 20% discount on saasguru Programs.

Summing Up 

The Salesforce Object Key Prefix List is a powerful resource for any Salesforce user. With this list, users can quickly detect objects and fields in Salesforce and build special objects. When working with Salesforce, you can save significant time and effort by getting acquainted with the list. 

When equipped with the right tools, Salesforce can be an influential platform for handling data and developing custom applications. What are you waiting for? Begin exploring the Salesforce Object Key Prefix List. 

If you need more clarification on this or anything on Salesforce, join the saasguru Slack community and interact with experienced Salesforce professionals.

Are you looking to start your career in Salesforce? Take that first step by enrolling in our Salesforce Admin Exam Prep Course and getting certified on your first attempt. Get personalized study plans, free mock exams, quizzes, flashcards and so on. 

Frequently Asked Questions (FAQs)

1. How to find the Salesforce Object Key Prefix for an object?

To find the Salesforce Object Key Prefix for a specific object, you can refer to the Salesforce Object Key Prefix List provided in the Salesforce documentation or platform. Additionally, when accessing an object in Salesforce through the URL, the key prefix can be seen as the first three characters of the record ID in the URL.

2. What are the different types of Salesforce Object Key Prefix?

The Salesforce Object Key Prefix is a unique three-character code used to identify and reference specific objects within a Salesforce organization. The content you provided lists several key prefixes for various objects. Some examples include:

  • “001” for Account
  • “01p” for Apex Class
  • “3” for Contact
  • “6” for Opportunity
  • “5” for User

and many more. Each object in Salesforce has its unique key prefix, which can be found in the Salesforce Object Key Prefix List.

3. What are the limitations of using the Salesforce Object Key Prefix?

  • The key prefix is specific to the object type and not to individual records. This means you cannot identify a unique record using the key prefix alone.
  • Relying solely on key prefixes can be confusing if you’re not familiar with the corresponding objects, as they are just three-character codes.
  • Key prefixes are essential for developers and administrators but might not be as relevant for end-users who interact with Salesforce through the user interface.
  • Using key prefixes requires a deeper understanding of Salesforce’s data structure, which might not be suitable for beginners.
Table of Contents

Subscribe & Get Closer to Your Salesforce Dream Career!

Get tips from accomplished Salesforce professionals delivered directly to your inbox.

Looking for Career Upgrade?

Book a free counselling session with our Course Advisor.

By providing your contact details, you agree to our Terms of use & Privacy Policy

Unlock Your AI -Powered Assistant

Gain Exclusive Access to Your Salesforce Copilot

Related Articles

Top Dreamforce 2024 Keynote Announcements You Can’t Miss!

Welcome to our Dreamforce 2024 live blog, where we’ll cover the biggest announcements from this year’s event. Here’s what you can expect: Key insights on Salesforce’s Agentforce for autonomous agents. Major AI advancements and a $1B investment in AI technologies. Exciting partnerships with IBM and Google to extend agent capabilities. Data Cloud enhancements for faster, …

Top Dreamforce 2024 Keynote Announcements You Can’t Miss! Read More »

Dreamforce 2024 Live: Real-Time Updates, AI News, and Event Highlights

Stay updated with live insights, breaking news, and exclusive highlights from Dreamforce 2024 in San Francisco. Check now!

Choosing Between Apex and Flows: A Comprehensive Salesforce Guide

Explore the key differences between Apex and Flows in Salesforce. Discover which tool suits your automation needs best, from ease of use to performance.