Skip to content

IntegrationsMarketing Automation · Beta

LinkedIn API integration

Put LinkedIn in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Built for specific customer use cases. Issues are resolved quickly.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1,150+ apps

01Proxy API

Call the LinkedIn API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the LinkedIn API. You call us, we call LinkedIn, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APILinkedIn

GEThttps://api.truto.one/proxy/me?integrated_account_id=…

  • GET/proxy/creatives
  • GET/proxy/conversions
  • GET/proxy/events
  • GET/proxy/posts

LinkedIn’s own response, passed back

02MCP server

LinkedIn tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets LinkedIn tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin LinkedIn
  • MeList
  • Ad accountsList, Get one, Create, Update, Delete
  • Ad campaignsList, Get one, Create, Update, Delete, Batch get
  • Ad campaign groupsList, Get one, Create, Update, Delete, Partial update, Batch get, Batch update, Batch delete
  • CreativesList, Get one, Create, Update, Delete, Batch get, Batch update, Batch delete, Create inline, List by criteria
  • In mail contentsList, Get one, Create, Update, Partial update, Send test
  • Carousel adGet one, Create
  • Text adGet one, Create, Update
  • Image adCreate
  • Article adGet one, Create
  • Video adCreate
  • Document adCreate
  • AssetsGet one, Create, Complete multipart upload
  • Dmp segmentsList, Get one, Create, Update, Delete, Batch get, Batch delete, Partial update, Generate upload url
  • Dmp segments userCreate
  • Dmp segments companyCreate
  • Ad account usersList, Get one, Create, Update, Delete, List by account
  • Ad account trust preferenceGet one, Update
  • Conversation adsGet one, Create, Update, Batch get
  • Sponsored message contentsList, Get one, Create, Update, Batch update, Batch delete
  • Ad previewsList, Live preview, Live preview inline
  • Ad targeting facetsList
  • Ad targeting entitiesList, Typeahead, List by urns, List similar
  • Audience countsList
  • Ad budget pricingList
  • Ad supply forecastsList
  • Country groupsList
  • Ad target templatesList, Get one, Create, Update, Delete, Batch delete
  • Ad publisher restrictionsList, Get one, Create, Update, Generate download url, Generate upload url
  • Global publisher listCreate
  • Ad experimentsList, Get one, Create, Update, Delete, Batch get, Validate setup
  • Ad experiment resultsList, Get one, List by criteria
  • Ad lift testsList, Get one, Create, Update, Delete, Validate, Get required budget
  • Ad lift test surveysList, Create, Batch delete
  • Ad lift test resultsList
  • Ad lift test benchmarksList
  • Organization share authorizationGet one
  • Dmp segment destinationsList, Get one, Create
  • Dmp segment list uploadsList, Get one, Create
  • Dmp engagement rulesList, Get one, Create, Delete, Batch delete

And 53 more. Open the tool names to see all.

Show tool names295 tools, for developers
  • list_all_linked_in_meGet the signed-in member (OpenID Connect userinfo): member id (sub), name, email and picture. GET /v2/userinfo. Needs the openid, profile and email scopes.
  • list_all_linked_in_ad_accountsSearch the ad accounts the member can access (GET /rest/adAccounts?q=search). Optional search filters by status, type, name, reference or test. Paginated with pageToken.
  • get_single_linked_in_ad_account_by_idGet one ad account by its numeric ID (GET /rest/adAccounts/{id}): name, currency, type, status, owning organization and serving statuses.
  • create_a_linked_in_ad_accountCreate an ad account (POST /rest/adAccounts) owned by an organization. Required: name, currency, reference (organization URN) and type. The new ID is returned in the x-restli-id header.
  • update_a_linked_in_ad_account_by_idUpdate Ad Account. Ad Accounts can be updated through a partial update by patching the fields you want to change. A successful response returns a HTTP status code. LinkedIn POST /rest/adAccounts/{id}. id: URL-encode URNs. Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, patch.
  • delete_a_linked_in_ad_account_by_idDelete Ad Account. Ad Account can be deleted. Use DELETE method to delete a account. To start the process of deleting non DRAFT account, update the status to . LinkedIn DELETE /rest/adAccounts/{id}. id: URL-encode URNs. Required: id.
  • list_all_linked_in_ad_campaignsSearch campaigns in an ad account (GET /rest/adAccounts/{ad_account_id}/adCampaigns?q=search). Optional search by status, type, campaignGroup, name or id. Paginated.
  • get_single_linked_in_ad_campaign_by_idGet one campaign (GET /rest/adAccounts/{ad_account_id}/adCampaigns/{id}): budget, bid, schedule, targeting and status. Required: id, ad_account_id.
  • create_a_linked_in_ad_campaignCreate a campaign (POST …/adCampaigns). Required: account, campaignGroup, name, type, costType, dailyBudget or totalBudget, unitCost, locale, runSchedule, targetingCriteria, status.
  • update_a_linked_in_ad_campaign_by_idPartially update a campaign (POST …/adCampaigns/{id} with X-RestLi-Method PARTIAL_UPDATE), e.g. {"patch": {"$set": {"status": "PAUSED"}}}. Required: id, ad_account_id, patch.
  • delete_a_linked_in_ad_campaign_by_idDelete a DRAFT campaign (DELETE …/adCampaigns/{id}); live campaigns are archived or canceled with update instead. Required: id, ad_account_id.
  • linked_in_ad_campaigns_batch_getBatch-get adCampaigns. Batch Get Campaigns. Multiple campaigns can be fetched in a single call by chaining together multiple . All requested campaigns must belong to the same Ad Account. LinkedIn GET /rest/adAccounts/{ad_account_id}/adCampaigns. Required: ad_account_id, ids.
  • list_all_linked_in_ad_campaign_groupsSearch campaign groups in an ad account (GET /rest/adAccounts/{ad_account_id}/adCampaignGroups?q=search). Optional search by status, name, id or test. Paginated.
  • get_single_linked_in_ad_campaign_group_by_idGet one campaign group (GET /rest/adAccounts/{ad_account_id}/adCampaignGroups/{id}). Required: id, ad_account_id.
  • create_a_linked_in_ad_campaign_groupCreate a campaign group in an ad account (POST …/adCampaignGroups). Required: account URN, name, runSchedule.start and status; totalBudget optional.
  • update_a_linked_in_ad_campaign_group_by_idPartially update a campaign group (…/adCampaignGroups/{id}) with a Rest.li patch, e.g. {"patch": {"$set": {"status": "PAUSED"}}}. Required: id, ad_account_id, patch.
  • delete_a_linked_in_ad_campaign_group_by_idDelete a DRAFT campaign group (DELETE …/adCampaignGroups/{id}); other statuses must be archived or canceled with update instead. Required: id, ad_account_id.
  • linked_in_ad_campaign_groups_partial_updateUpdate a Campaign Group. Campaign groups can be updated with a partial update. LinkedIn POST /rest/adAccounts/{ad_account_id}/adCampaignGroups/{campaign_group_id}. Sends X-RestLi-Method PARTIAL_UPDATE. Required: ad_account_id, campaign_group_id, patch.
  • linked_in_ad_campaign_groups_batch_getBatch-get adCampaignGroups. Batch Get Campaign Groups. Multiple campaign groups can be requested in a single call by chaining together parameters that each have a corresponding campaign group ID. LinkedIn GET /rest/adAccounts/{ad_account_id}/adCampaignGroups. Required: ad_account_id, ids.
  • linked_in_ad_campaign_groups_batch_updateBatch-update adCampaignGroups. Batch Update Campaign Groups. Multiple campaign groups can be updated in a single call. LinkedIn POST /rest/adAccounts/{ad_account_id}/adCampaignGroups. Sends X-RestLi-Method BATCH_PARTIAL_UPDATE. Required: ad_account_id, ids, entities.
  • linked_in_ad_campaign_groups_batch_deleteBatch-delete adCampaignGroups. Batch Delete Campaign Groups. Multiple campaign groups can be deleted. Use DELETE method to delete campaign groups. LinkedIn DELETE /rest/adAccounts/{ad_account_id}/adCampaignGroups. Sends X-RestLi-Method BATCH_DELETE. Required: ad_account_id, ids.
  • list_all_linked_in_creativesSearch creatives (ads) in an ad account (GET /rest/adAccounts/{ad_account_id}/creatives finder). Filter with campaigns, intendedStatuses, isTestAccount. Paginated.
  • get_single_linked_in_creative_by_idGet one creative (GET …/creatives/{id}). id is the URL-encoded creative URN, e.g. urn%3Ali%3AsponsoredCreative%3A123. Required: id, ad_account_id.
  • update_a_linked_in_creative_by_idPartially update a creative (POST …/creatives/{id}, PARTIAL_UPDATE), e.g. {"patch": {"$set": {"intendedStatus": "PAUSED"}}}. id is the URL-encoded creative URN.
  • create_a_linked_in_creativeCreate a creative that sponsors an existing post (POST …/creatives). Required: campaign URN, content.reference (post URN) and intendedStatus.
  • delete_a_linked_in_creative_by_idDelete a DRAFT creative (DELETE …/creatives/{id}). id is the URL-encoded creative URN; live creatives are archived with update instead. Required: id, ad_account_id.
  • linked_in_creatives_batch_getBatch-get creatives. Batch Get Ad Creatives. Fetch a list of Ad Creatives with associated IDs. When you perform a batch create, the header X-RestLi-Method must be included in the request and set to . LinkedIn GET /rest/adAccounts/{ad_account_id}/creatives. Required: ad_account_id, ids.
  • linked_in_creatives_batch_updateBatch-update creatives. Batch Partial Update Ad Creatives. When you perform a batch partial update, the header X-RestLi-Method must be included in the request and set to . LinkedIn POST /rest/adAccounts/{ad_account_id}/creatives. Sends X-RestLi-Method BATCH_PARTIAL_UPDATE. Required: ad_account_id, ids, entities.
  • linked_in_creatives_batch_deleteBatch-delete creatives. Batch Delete Ad Creatives. Multiple creatives can be deleted. Use DELETE method to delete creatives that meet one of the following conditions. LinkedIn DELETE /rest/adAccounts/{ad_account_id}/creatives. Sends X-RestLi-Method BATCH_DELETE. Required: ad_account_id, ids.
  • linked_in_creatives_create_inlineCreatives Inline Schema. The following tables describe the schemas available for . LinkedIn POST /rest/adAccounts/{ad_account_id}/creatives (action=createInline). Required: ad_account_id.
  • linked_in_creatives_list_by_criteriaCursor based Pagination for search APIs. The creatives API implements cursor based pagination using the pageSize and pageToken parameters for search method. The max allowed pageSize is 100. LinkedIn GET /rest/adAccounts/{ad_account_id}/creatives (q=criteria). Required: ad_account_id.
  • list_all_linked_in_in_mail_contentsBatch-get Message Ad (InMail) contents by ID (GET /rest/inMailContents?ids=…). Required: ids, one or more URL-encoded adInMailContent URNs separated as the API expects.
  • get_single_linked_in_in_mail_content_by_idGet one Message Ad content (GET /rest/inMailContents/{id}). id is the URL-encoded adInMailContent URN.
  • create_a_linked_in_in_mail_contentCreate Message Ad content (POST /rest/inMailContents). Required: account, name, subject, sender (person URN), htmlBody and subContent (regular CTA or guidedReplies).
  • update_a_linked_in_in_mail_content_by_idPartially update Message Ad content (/rest/inMailContents/{id}) with a Rest.li patch, e.g. {"patch": {"$set": {"subject": "New subject"}}}. id is the URL-encoded URN.
  • linked_in_in_mail_contents_partial_updateSample Request. http curl. LinkedIn POST /rest/inMailContents/{in_mail_content_urn}. Sends X-RestLi-Method PARTIAL_UPDATE. Required: in_mail_content_urn, patch.
  • linked_in_in_mail_contents_send_testSend Test InMail. The sendTestInMail action can be used to trigger a test message for a draft message or conversation ad. LinkedIn POST /rest/inMailContents (action=sendTestInMail). Required: account.
  • get_single_linked_in_carousel_ad_by_idGet a carousel ad post (GET /rest/posts/{id}). id is the URL-encoded post URN, e.g. urn%3Ali%3Ashare%3A123.
  • create_a_linked_in_carousel_adCreate a sponsored carousel post (POST /rest/posts) with 2-10 image cards; then sponsor it with creatives.create. Required: author, commentary, visibility, distribution, content.carousel, lifecycleState.
  • create_a_linked_in_text_adCreate a text ad creative (POST /rest/creatives) in a TEXT_AD campaign: headline, description, landing page and optional image. Required: campaign, content.textAd, intendedStatus.
  • get_single_linked_in_text_ad_by_idGet a text ad creative (GET /rest/creatives/{id}). id is the URL-encoded creative URN, e.g. urn%3Ali%3AsponsoredCreative%3A123.
  • update_a_linked_in_text_ad_by_idPartially update a text ad creative (POST /rest/creatives/{id}) with a Rest.li patch, e.g. {"patch": {"$set": {"intendedStatus": "PAUSED"}}}.
  • create_a_linked_in_image_adCreate a sponsored single-image post (POST /rest/posts); upload the image first (assets.create), then sponsor the post with creatives.create.
  • get_single_linked_in_article_ad_by_idGet an article (link) ad post (GET /rest/posts/{id}). id is the URL-encoded post URN.
  • create_a_linked_in_article_adCreate a sponsored article (link) post (POST /rest/posts) with source URL, title, description and thumbnail image; then sponsor it with creatives.create.
  • create_a_linked_in_video_adCreate a sponsored video post (POST /rest/posts) referencing an uploaded video URN; then sponsor it with creatives.create.
  • create_a_linked_in_document_adCreate a sponsored document post (POST /rest/posts) referencing an uploaded document URN (PDF, PPT, DOC); then sponsor it with creatives.create.
  • create_a_linked_in_assetRegister an image or video upload (POST /rest/assets?action=registerUpload). Returns the asset URN and an uploadUrl; PUT the file bytes to uploadUrl, then use the URN in ad posts.
  • get_single_linked_in_asset_by_idCheck Status of Upload. Retrieve asset information using the Asset ID from the URN. Depending on content size, it might take a few minutes for the upload to complete. LinkedIn GET /rest/assets/{id}. id: URL-encode URNs. Required: id.
  • linked_in_assets_complete_multipart_uploadComplete Multi-Part Upload. When you register a video as a multi-part upload by setting and , you receive a response with multiple upload URLs and headers. LinkedIn POST /rest/assets (action=completeMultiPartUpload).
  • list_all_linked_in_dmp_segmentsList Matched Audience (DMP) segments of an ad account (GET /rest/dmpSegments?q=account). Required: ad_account_id.
  • get_single_linked_in_dmp_segment_by_idGet one Matched Audience segment (GET /rest/dmpSegments/{id}): type, status and matched audience size per destination.
  • create_a_linked_in_dmp_segmentCreate a Matched Audience segment (POST /rest/dmpSegments) to upload users or companies into. Required: name, account, type, sourcePlatform, destinations.
  • update_a_linked_in_dmp_segment_by_idPartially update a Matched Audience segment (/rest/dmpSegments/{id}), e.g. {"patch": {"$set": {"name": "New name"}}}.
  • delete_a_linked_in_dmp_segment_by_idDelete a Matched Audience segment (DELETE /rest/dmpSegments/{id}).
  • linked_in_dmp_segments_batch_getBatch-get dmpSegments. Sample Request. http curl. LinkedIn GET /rest/dmpSegments. Required: ids.
  • linked_in_dmp_segments_batch_deleteBatch-delete dmpSegments. Sample Request. http curl. LinkedIn DELETE /rest/dmpSegments. Sends X-RestLi-Method BATCH_DELETE. Required: ids.
  • linked_in_dmp_segments_partial_updateSample Request. http curl A successful response returns a HTTP status code. LinkedIn POST /rest/dmpSegments/{dmp_segment_id}. Sends X-RestLi-Method PARTIAL_UPDATE. Required: dmp_segment_id, patch.
  • linked_in_dmp_segments_generate_upload_urlGenerate File Upload URL. To upload the CSV list file to LinkedIn, use the method. The files must be in CSV format and should contain either company lists or contact lists. LinkedIn POST /rest/dmpSegments (action=generateUploadUrl).
  • create_a_linked_in_dmp_segments_userAdd or remove users in a segment in a batch (POST /rest/dmpSegments/{dmp_segment_id}/users, BATCH_CREATE). Each element: action ADD or REMOVE plus hashed userIds. Required: dmp_segment_id.
  • create_a_linked_in_dmp_segments_companyAdd or remove companies in a segment in a batch (POST /rest/dmpSegments/{dmp_segment_id}/companies, BATCH_CREATE). Each element: action plus company name, domain, page URL or identifiers.
  • list_all_linked_in_ad_account_usersList the ad accounts the signed-in member has access to and their role in each (GET /rest/adAccountUsers?q=authenticatedUser).
  • get_single_linked_in_ad_account_user_by_idGet one ad account user (GET /rest/adAccountUsers/{id}). id is the compound key (account:urn%3Ali%3AsponsoredAccount%3A123,user:urn%3Ali%3Aperson%3Aabc).
  • create_a_linked_in_ad_account_userSample Request. http curl A successful response returns a HTTP status code. Note A failure can occur if: The and URL params don't match the values in the request body. LinkedIn PUT /rest/adAccountUsers/(account:{account_urn},user:{user_urn}). Required: account_urn, user_urn.
  • update_a_linked_in_ad_account_user_by_idSample Request. The following example updates a user's role to : http curl A successful response returns a HTTP status code. LinkedIn POST /rest/adAccountUsers/{id}. id is the compound key (account:urn%3Ali%3AsponsoredAccount%3A123,user:urn%3Ali%3Aperson%3Aabc). Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, patch.
  • delete_a_linked_in_ad_account_user_by_idSample Request. http curl. LinkedIn DELETE /rest/adAccountUsers/{id}. id is the compound key (account:urn%3Ali%3AsponsoredAccount%3A123,user:urn%3Ali%3Aperson%3Aabc). Required: id.
  • linked_in_ad_account_users_list_by_accountFind Ad Account Users by Accounts. The inverse of the previous endpoint is to fetch all users associated with a specific ad account. LinkedIn GET /rest/adAccountUsers (q=accounts). Required: accounts.
  • get_single_linked_in_ad_account_trust_preference_by_idGet Publisher Restriction Files Details Applied at Advertiser Account. Retrieves the applied at the ad account level. Allows you to view the current publisher restriction files configured for a specific sponsored account. LinkedIn GET /rest/adAccountTrustPreferences/{id}. id: URL-encode URNs. Required: id.
  • update_a_linked_in_ad_account_trust_preference_by_idApply Publisher Restriction at Ad Account Level. The API is used to manage account-level brand safety controls, specifically allowlists and blocklists for the LinkedIn Audience Network. LinkedIn PUT /rest/adAccountTrustPreferences/{id}. id: URL-encode URNs. Required: id, offsiteAccountPreferences.
  • create_a_linked_in_conversation_adCreate a Sponsored Conversation. http curl Successful response will have Status and the ID in the response header. For example,. LinkedIn POST /rest/conversationAds.
  • get_single_linked_in_conversation_ad_by_idGet a Sponsored Conversation. http curl Sample Response. LinkedIn GET /rest/conversationAds/{id}. id: URL-encode URNs. Required: id.
  • update_a_linked_in_conversation_ad_by_idUpdate a Sponsored Conversation. In the following example, the field is changed to point to the first message of the conversation. http curl A successful response returns a HTTP status code. LinkedIn POST /rest/conversationAds/{id}. id: URL-encode URNs. Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, patch.
  • linked_in_conversation_ads_batch_getBatch-get conversation ads. Batch Get Sponsored Conversations. http curl Sample Response. LinkedIn GET /rest/conversationAds. Required: ids.
  • list_all_linked_in_sponsored_message_contentsGet All Sponsored Message Content. http curl Sample Response. LinkedIn GET /rest/conversationAds/{conversation_ad_urn}/sponsoredMessageContents. Required: conversation_ad_urn.
  • create_a_linked_in_sponsored_message_contentCreate Sponsored Message Content. Note is returned in the response header as shown in the first step when you create a Sponsored Conversation using . LinkedIn POST /rest/conversationAds/{conversation_ad_urn}/sponsoredMessageContents. Required: conversation_ad_urn, bodySource.
  • get_single_linked_in_sponsored_message_content_by_idGet Sponsored Message Content. http curl Sample Response. LinkedIn GET /rest/conversationAds/{conversation_ad_urn}/sponsoredMessageContents/{id}. id: URL-encode URNs. Required: id, conversation_ad_urn.
  • update_a_linked_in_sponsored_message_content_by_idUpdate Sponsored Message Content. In the following example, the text field is updated. http curl A successful response returns a HTTP status code. LinkedIn POST /rest/conversationAds/{conversation_ad_urn}/sponsoredMessageContents/{id}. id: URL-encode URNs. Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, conversation_ad_urn, patch.
  • linked_in_sponsored_message_contents_batch_updateBatch-update sponsored message contents. Batch Update Sponsored Message Content. http curl. LinkedIn POST /rest/conversationAds/{conversation_ad_urn}/sponsoredMessageContents. Sends X-RestLi-Method BATCH_PARTIAL_UPDATE. Required: conversation_ad_urn, ids, entities.
  • linked_in_sponsored_message_contents_batch_deleteBatch-delete sponsored message contents. Batch Delete Sponsored Message Content. LinkedIn DELETE /rest/conversationAds/{conversation_ad_urn}/sponsoredMessageContents. Sends X-RestLi-Method BATCH_DELETE. Required: conversation_ad_urn, ids.
  • list_all_linked_in_ad_previewsGet Accurate Preview. Get an accurate preview of the creative by calling the GET API. LinkedIn GET /rest/adPreviews (q=creative). Required: creative.
  • linked_in_ad_previews_live_previewLive Preview Creative Action. View the Live Preview of a creative by calling the API. LinkedIn POST /rest/adPreviews (action=livePreviewForCreative).
  • linked_in_ad_previews_live_preview_inlineLive Preview CreativeInline Action. View the Live Preview of a creative inline content by calling the API. LinkedIn POST /rest/adPreviews (action=livePreviewForCreativeInline).
  • list_all_linked_in_ad_targeting_facetsAd Targeting Facets. Sample Request. LinkedIn GET /rest/adTargetingFacets.
  • list_all_linked_in_ad_targeting_entitiesFind Entities by Facet. This method returns targeting entities contained within a given targeting facet. LinkedIn GET /rest/adTargetingEntities (q=adTargetingFacet). Required: facet.
  • linked_in_ad_targeting_entities_typeaheadFind Entities by Typeahead. This method allows search of targeting entities within a given targeting facet. LinkedIn GET /rest/adTargetingEntities (q=typeahead). Required: facet, query.
  • linked_in_ad_targeting_entities_list_by_urnsFind Entities by URNs. Get the metadata and value information for a collection of URNs. LinkedIn GET /rest/adTargetingEntities (q=urns). Required: urns.
  • linked_in_ad_targeting_entities_list_similarFind Entities by Similar Entities. This method returns targeting entities that are similar to a given targeting entity. LinkedIn GET /rest/adTargetingEntities (q=similarEntities). Required: facet, entities.
  • list_all_linked_in_audience_countsAudience Counts. Sample request Sample Response The API returns a list of results based on the parameters input above. The following example shows the data that's returned. LinkedIn GET /rest/audienceCounts (q=targetingCriteria). Required: targetingCriteria.
  • list_all_linked_in_ad_budget_pricingAd Budget Pricing. Sample request Sample Response To learn more, see Ad Budget Pricing . LinkedIn GET /rest/adBudgetPricing (q=criteria). Required: account, bidType, campaignType, matchType, target.
  • list_all_linked_in_ad_supply_forecastsAd Supply Forecasts. The API provides a forecast of the reach, cost, and supply for an ad using specified targeting criteria. LinkedIn GET /rest/adSupplyForecasts (q=criteria). Required: account, targetingCriteria.
  • list_all_linked_in_country_groupsRetrieve legacy locations using legacy geo API. REQUEST: RESPONSE:. LinkedIn GET /rest/countryGroups.
  • create_a_linked_in_ad_target_templateSchema. Sample Request http curl Sample Response A successful response returns a HTTP status code and the saved audience template ID in the response header. LinkedIn POST /rest/adTargetTemplates. Required: account, targetingCriteria, name.
  • get_single_linked_in_ad_target_template_by_idGet Saved Audience Template. Get a single Saved Audience Template given the unique template id. Sample Request http curl Sample Response. LinkedIn GET /rest/adTargetTemplates/{id}. id: URL-encode URNs. Required: id.
  • update_a_linked_in_ad_target_template_by_idSupported schema fields that can be updated. Sample Request http curl Sample Response A successful response returns a HTTP status code. LinkedIn POST /rest/adTargetTemplates/{id}. id: URL-encode URNs. Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, patch.
  • delete_a_linked_in_ad_target_template_by_idDelete Saved Audience Template. Delete a single Saved Audience Template given the unique key. Sample Request http curl Sample Response A successful response returns a HTTP status code. LinkedIn DELETE /rest/adTargetTemplates/{id}. id: URL-encode URNs. Required: id.
  • linked_in_ad_target_templates_batch_deleteBatch-delete ad target templates. Batch Delete Saved Audience Templates. Batch delete multiple Saved Audience Templates given a set of template IDs. Sample Request http curl Sample Response. LinkedIn DELETE /rest/adTargetTemplates. Sends X-RestLi-Method BATCH_DELETE. Required: ids.
  • list_all_linked_in_ad_target_templatesFind Saved Audience Templates by Account. This finder returns a collection of Saved Audience Templates an ad account can access that match the search parameters. LinkedIn GET /rest/adTargetTemplates (q=account). Required: account.
  • create_a_linked_in_ad_publisher_restrictionCreate the Publisher Restriction. Now that the Publisher list file has been uploaded, you can create an to be used in an Ad Campaign. LinkedIn POST /rest/adPublisherRestrictions.
  • get_single_linked_in_ad_publisher_restriction_by_idSample Request. http curl. LinkedIn GET /rest/adPublisherRestrictions/{id}. id: URL-encode URNs. Required: id.
  • update_a_linked_in_ad_publisher_restriction_by_idCreate the Publisher Restriction. Now that the Publisher list file has been uploaded, you can create an to be used in an Ad Campaign. LinkedIn POST /rest/adPublisherRestrictions/{id}. id: URL-encode URNs. Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, patch.
  • list_all_linked_in_ad_publisher_restrictionsGet All Publisher List File Details by Advertiser Account. Fetch publisher restriction lists by Ad Account. Sample Request http curl Sample Response In API version and later, each list also returns . LinkedIn GET /rest/adPublisherRestrictions (q=entity). Required: entity.
  • linked_in_ad_publisher_restrictions_generate_download_urlGet Publisher List File Download URL. The following API returns a URL where the block/allow list file content can be downloaded. Request Body Request Header. LinkedIn POST /rest/adPublisherRestrictions (action=generateRestrictionsDownloadUrl).
  • linked_in_ad_publisher_restrictions_generate_upload_urlObtain a URL to Upload the Content. Use the following API to get the URL where you can upload your publisher restriction list file. Sample Request http curl Sample Response Response Body Fields. LinkedIn POST /rest/adPublisherRestrictions (action=generateRestrictionsUploadUrl).
  • create_a_linked_in_global_publisher_listSample Request. http curl. LinkedIn POST /rest/globalPublisherList.
  • create_a_linked_in_ad_experimentAdExperimentErrorDetailCode Schema. The shows all the errors that can be expected from the REST end point. Sample Erroneous Request Sample Error Response. LinkedIn POST /rest/adExperiments.
  • get_single_linked_in_ad_experiment_by_idGet Experiment. Experiments can be fetched individually. Use the endpoint below to fetch a single experiment. LinkedIn GET /rest/adExperiments/{id}. id: URL-encode URNs. Required: id.
  • update_a_linked_in_ad_experiment_by_idUpdate Experiments. Experiments can be updated before and after the experiment starts. Before the experiment starts, nearly all fields can be updated. LinkedIn POST /rest/adExperiments/{id}. id: URL-encode URNs. Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, patch.
  • delete_a_linked_in_ad_experiment_by_idDelete Experiments. An experiment can be deleted by issuing a DELETE call to the URL below. Experiments can only be deleted individually. LinkedIn DELETE /rest/adExperiments/{id}. id: URL-encode URNs. Required: id.
  • linked_in_ad_experiments_batch_getBatch-get ad experiments. Batch Get Experiments. Experiments can be fetched in batch as below. LinkedIn GET /rest/adExperiments. Required: ids.
  • list_all_linked_in_ad_experimentsFind Experiments. Experiments can be fetched in batch according to certain search criteria. LinkedIn GET /rest/adExperiments (q=search). Required: search.
  • linked_in_ad_experiments_validate_setupValidate Endpoint. These warnings are retrievable through a sub-resource to check the validity of an experiment. This endpoint returns an AdExperimentValidationResult object. LinkedIn POST /rest/adExperiments (action=validateExperimentSetup).
  • get_single_linked_in_ad_experiment_result_by_idAdExperimentCellResult Schema. Sample Request Sample Response. LinkedIn GET /rest/adExperimentResults/{id}. id: URL-encode URNs. Required: id.
  • list_all_linked_in_ad_experiment_resultsFind Experiments Results. Experiment results can be fetched in batch according to certain search criteria. LinkedIn GET /rest/adExperimentResults (q=search). Required: search.
  • linked_in_ad_experiment_results_list_by_criteriaSample Request. The following sample request finds the experiment results for experiments with id and . LinkedIn GET /rest/adExperimentResults (q=searchByCriteria). Required: adExperiments.
  • create_a_linked_in_ad_lift_testAdLiftTestValidationResultItem Schema. Sample Request Sample Response. LinkedIn POST /rest/adLiftTests.
  • get_single_linked_in_ad_lift_test_by_idGet Lift Tests. Ad Lift Tests can be fetched individually. Use the endpoint below to fetch a single Ad LiftTest. LinkedIn GET /rest/adLiftTests/{id}. id: URL-encode URNs. Required: id.
  • update_a_linked_in_ad_lift_test_by_idActivate Ad Lift Test. All survey questions need to be created before activating the lift test. When ready, you can activate the lift test as following. Sample Request with response. LinkedIn POST /rest/adLiftTests/{id}. id: URL-encode URNs. Sends X-RestLi-Method PARTIAL_UPDATE. Required: id, patch.
  • delete_a_linked_in_ad_lift_test_by_idDelete Ad Lift Tests. An Ad Lift Test can be deleted by issuing a DELETE call to the URL below. Ad Lift Tests can be deleted individually. LinkedIn DELETE /rest/adLiftTests/{id}. id: URL-encode URNs. Required: id.
  • list_all_linked_in_ad_lift_testsFind Ad Lift Tests. Search for an ad lift test using a number of criteria. Supported search parameters: The request must include a header for Restli Protocol 2.0.0 as . LinkedIn GET /rest/adLiftTests (q=criteria). Required: account.
  • linked_in_ad_lift_tests_validateAdLiftTestValidationResultItem Schema. Sample Request Sample Response. LinkedIn POST /rest/adLiftTests (action=validateAdLiftTest).

And 175 more. Filter to find one.

AMCP serverno code

For any MCP client

One URL per connected LinkedIn account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every LinkedIn tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified APIs

LinkedIn is in 2 unified APIs. One call for every app in a category.

Ask for accounts, ad groups or campaigns the same way for LinkedIn and every other Ads Management app. Truto makes LinkedIn’s own call and returns the same data shape.

In the Pro add-on, $499 a month. 30-day trial on Free.

LinkedIn is mappedSame call, same data shapeStart free

Unified Ads Management API4 resources

  • AccountsAccounts are the top level resource in the Ads API. Each account has a unique ID and contains a set of campaigns.Docs for Accounts
  • Ad GroupsAd Groups are the third level resource in the Ads API. Each ad_group has a unique ID and contains a set of ads.Docs for Ad Groups
  • CampaignsCampaigns are the second level resource in the Ads API. Each campaign has a unique ID and contains a set of ad_groups.Docs for Campaigns
  • Custom AudiencesDocs for Custom Audiences

Unified User Directory API2 resources

04Sync and webhooks

Sync LinkedIn data on a schedule. Sent to your webhook.

A sync job reads LinkedIn records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any LinkedIn endpoint. With the Truto CLI.

Need a LinkedIn endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any LinkedIn path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use LinkedIn in ChatGPT, Claude or Cursor with Elaichi.

Truto puts LinkedIn in the product you build. To use LinkedIn yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship LinkedIn tools in your product

Give the AI in your product access to each customer’s own LinkedIn account, with one MCP server per connected account.

Start free with LinkedIn

Rather talk it through? Book a demo

Elaichi

For your own team

Use LinkedIn in your own AI

Connect your company’s LinkedIn once, then ask in the AI you already use, with exactly your own access.

Works in

LinkedIn on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with LinkedIn.

  1. Centralize cross-platform ad reporting with LinkedIn data

    Analytics and BI SaaS companies can pull LinkedIn Ads accounts, campaign groups, campaigns, and performance metrics alongside Google and Meta Ads data through Truto's Unified Ads Management API, giving their users a single pane of glass for ad spend, impressions, and cost-per-acquisition across all networks.

  2. Power ABM campaigns with dynamic audience syncing

    Account-based marketing and intent-data platforms can push high-intent company or contact lists into LinkedIn as Custom Audiences via Truto, enabling their users to instantly target decision-makers at surging accounts without manual CSV uploads.

  3. Automate audience suppression to reduce wasted ad spend

    CRM and marketing automation platforms can programmatically update LinkedIn Custom Audiences to exclude converted leads or existing customers, ensuring their users' ad budgets are focused on net-new prospects rather than people already in the pipeline.

  4. Sync LinkedIn campaign structure into multi-channel orchestration tools

    Campaign management SaaS products can read a user's LinkedIn Ad Accounts, Ad Groups, and Campaigns through Truto to map them alongside campaigns on other channels, enabling unified budget allocation and performance comparison without switching between platforms.

What you can build

Ship these with Truto and LinkedIn.

  • Unified ad spend dashboard across LinkedIn, Meta, and Google

    Fetch Accounts, Campaigns, and Ad Groups from LinkedIn alongside other ad platforms through Truto's Unified Ads Management API and render normalized spend, impressions, and click metrics in a single dashboard.

  • One-click Custom Audience creation from CRM segments

    Let your users select a CRM segment or intent-signal cohort and push it directly to LinkedIn as a Matched Audience for targeted advertising or exclusion.

  • Automated audience refresh on conversion events

    Trigger Custom Audience updates whenever a lead converts in your platform, automatically removing them from prospecting audiences and adding them to upsell or exclusion lists on LinkedIn.

  • Cross-channel campaign hierarchy explorer

    Display a user's full LinkedIn campaign structure — Accounts → Campaign Groups → Campaigns — alongside their other ad platforms so they can compare naming conventions, budgets, and statuses in one view.

  • ABM target-account audience builder

    Allow users to upload or select a list of target companies from your platform and automatically create a LinkedIn Company List Custom Audience, ready for immediate campaign activation.

Security

Your customers’ LinkedIn data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s LinkedIn account

    Use Truto’s frontend SDK to connect your customer’s LinkedIn account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call LinkedIn

    Truto’s Proxy API is a 1-to-1 mapping of the LinkedIn API. You call us, we call LinkedIn, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate LinkedIn’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about LinkedIn on Truto.

What LinkedIn resources are available through Truto's Unified Ads Management API?

The Unified Ads Management API maps to four core LinkedIn objects: Accounts (Ad Accounts), Ad Groups (Campaign Groups), Campaigns, and Custom Audiences (Matched Audiences). These cover the primary campaign structure and audience management capabilities of LinkedIn Campaign Manager.

How does authentication work for LinkedIn integrations via Truto?

LinkedIn uses OAuth 2.0 for API access. Truto manages the full OAuth flow — including token acquisition, storage, and automatic refresh — so your end users simply authorize their LinkedIn Ads account through a connect dialog and you never handle raw tokens.

Are there rate limits I need to worry about with the LinkedIn Marketing API?

Yes. LinkedIn enforces daily API call limits that vary by endpoint and application approval tier. Truto handles retry logic and rate-limit awareness on your behalf, but if you're syncing large volumes of campaign data or frequently updating Custom Audiences, it's worth designing your sync cadence to stay within LinkedIn's quotas.

Can I sync LinkedIn Lead Gen Form responses through Truto?

Lead Gen Form response syncing is not currently part of the standard Unified Ads Management API resources. However, Truto builds additional tools and endpoints on request — if lead syncing is critical to your use case, reach out to discuss enabling it for your workspace.

What if I need LinkedIn API capabilities beyond Accounts, Ad Groups, Campaigns, and Custom Audiences?

Truto builds new tools on request. If you need access to additional LinkedIn Marketing API resources — such as Creatives, ad analytics breakdowns, or Lead Gen Forms — you can request them and Truto will scope and build them for your integration.

Does Truto normalize LinkedIn data with other ad platforms?

Yes. The Unified Ads Management API provides a consistent schema for Accounts, Ad Groups, Campaigns, and Custom Audiences across supported ad platforms including LinkedIn. This means you write one integration and get normalized data regardless of the underlying ad network.

LinkedIn

Get LinkedIn integrated into your app

Sign up free, connect a test LinkedIn account and make your first call today. No card and no sales call.