Skip to main content
Every snapchat.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Actions

addSegmentUsers

actions.addSegmentUsers Add Segment Users Risk: write
Input Output: Record<string, any>

copyMedia

actions.copyMedia Copy Media Risk: write
Input Output: Record<string, any>

createAccountRole

actions.createAccountRole Create Account Role Risk: write
Input Output: Record<string, any>

createAdAccount

actions.createAdAccount Create Ad Account Risk: write
Input Output: Record<string, any>

createAdaccountsAudienceSizeV2

actions.createAdaccountsAudienceSizeV2 Create Adaccounts Audience Size V2 Risk: write
Input Output: Record<string, any>

createAdaccountsCreativeElements

actions.createAdaccountsCreativeElements Create Adaccounts Creative Elements Risk: write
Input Output: Record<string, any>

createAdaccountsDynamicTemplates

actions.createAdaccountsDynamicTemplates Create Adaccounts Dynamic Templates Risk: write
Input Output: Record<string, any>

createAdaccountsEventDetails

actions.createAdaccountsEventDetails Create Adaccounts Event Details Risk: write
Input Output: Record<string, any>

createAdaccountsInteractionZones

actions.createAdaccountsInteractionZones Create Adaccounts Interaction Zones Risk: write
Input Output: Record<string, any>

createAdaccountsOfferDisclaimers

actions.createAdaccountsOfferDisclaimers Create Adaccounts Offer Disclaimers Risk: write
Input Output: Record<string, any>

createAdaccountsReservedForecasting

actions.createAdaccountsReservedForecasting Create Adaccounts Reserved Forecasting Risk: write
Input Output: Record<string, any>

createAdaccountsTargetingInsights

actions.createAdaccountsTargetingInsights Create Adaccounts Targeting Insights Risk: write
Input Output: Record<string, any>

createAdSquad

actions.createAdSquad Create Ad Squad Risk: write
Input Output: Record<string, any>

createBillingCenter

actions.createBillingCenter Create Billing Center Risk: write
Input Output: Record<string, any>

createCampaign

actions.createCampaign Create Campaign Risk: write
Input Output: Record<string, any>

createCatalogRole

actions.createCatalogRole Create Catalog Role Risk: write
Input Output: Record<string, any>

createCatalogsFacets

actions.createCatalogsFacets Create Catalogs Facets Risk: write
Input Output: Record<string, any>

createCatalogsFlightsSearch

actions.createCatalogsFlightsSearch Create Catalogs Flights Search Risk: write
Input Output: Record<string, any>

createCatalogsProductFeeds

actions.createCatalogsProductFeeds Create Catalogs Product Feeds Risk: write
Input Output: Record<string, any>

createCatalogsProductSets

actions.createCatalogsProductSets Create Catalogs Product Sets Risk: write
Input Output: Record<string, any>

createMedia

actions.createMedia Create Media Risk: write
Input Output: Record<string, any>

createOrganizationsCatalogs

actions.createOrganizationsCatalogs Create Organizations Catalogs Risk: write
Input Output: Record<string, any>

createOrgRole

actions.createOrgRole Create Org Role Risk: write
Input Output: Record<string, any>

createSegment

actions.createSegment Create Segment Risk: write
Input Output: Record<string, any>

deleteAdaccountsOfferDisclaimers

actions.deleteAdaccountsOfferDisclaimers Delete Adaccounts Offer Disclaimers Risk: destructive
Input Output: Record<string, any>

deleteAdsquads

actions.deleteAdsquads Delete Adsquads Risk: destructive
Input Output: Record<string, any>

deleteAllSegmentUsers

actions.deleteAllSegmentUsers Delete All Segment Users Risk: destructive
Input Output: Record<string, any>

deleteCampaign

actions.deleteCampaign Delete Campaign Risk: destructive
Input Output: Record<string, any>

deleteCatalogs

actions.deleteCatalogs Delete Catalogs Risk: destructive
Input Output: Record<string, any>

deleteEventDetails

actions.deleteEventDetails Delete Event Details Risk: destructive
Input Output: Record<string, any>

deleteMember

actions.deleteMember Delete Member Risk: destructive
Input Output: Record<string, any>

deleteProductFeeds

actions.deleteProductFeeds Delete Product Feeds Risk: destructive
Input Output: Record<string, any>

deleteRole

actions.deleteRole Delete Role Risk: destructive
Input Output: Record<string, any>

deleteSegment

actions.deleteSegment Delete Segment Risk: destructive
Input Output: Record<string, any>

deleteSegmentUsers

actions.deleteSegmentUsers Delete Segment Users Risk: destructive
Input Output: Record<string, any>

getAdAccount

actions.getAdAccount Get Ad Account Risk: read
Input Output: Record<string, any>

getAdaccountsAdsquads

actions.getAdaccountsAdsquads Get Adaccounts Adsquads Risk: read
Input Output: Record<string, any>

getAdaccountsAdSquadUiRenderData

actions.getAdaccountsAdSquadUiRenderData Get Adaccounts Ad Squad Ui Render Data Risk: read
Input Output: Record<string, any>

getAdaccountsDynamicTemplates

actions.getAdaccountsDynamicTemplates Get Adaccounts Dynamic Templates Risk: read
Input Output: Record<string, any>

getAdaccountsEventDetails

actions.getAdaccountsEventDetails Get Adaccounts Event Details Risk: read
Input Output: Record<string, any>

getAdaccountsInteractionZones

actions.getAdaccountsInteractionZones Get Adaccounts Interaction Zones Risk: read
Input Output: Record<string, any>

getAdAccountsLeadGenerationForms

actions.getAdAccountsLeadGenerationForms Get Ad Accounts Lead Generation Forms Risk: read
Input Output: Record<string, any>

getAdaccountsLeadsReport

actions.getAdaccountsLeadsReport Get Adaccounts Leads Report Risk: read
Input Output: Record<string, any>

getAdaccountsMobileApps

actions.getAdaccountsMobileApps Get Adaccounts Mobile Apps Risk: read
Input Output: Record<string, any>

getAdaccountsOfferDisclaimers

actions.getAdaccountsOfferDisclaimers Get Adaccounts Offer Disclaimers Risk: read
Input Output: Record<string, any>

getAdaccountsSpendGuidance

actions.getAdaccountsSpendGuidance Get Adaccounts Spend Guidance Risk: read
Input Output: Record<string, any>

getAdAccountsStats

actions.getAdAccountsStats Get Ad Accounts Stats Risk: read
Input Output: Record<string, any>

getAdaccountsStatsReport

actions.getAdaccountsStatsReport Get Adaccounts Stats Report Risk: read
Input Output: Record<string, any>

getAdSquad

actions.getAdSquad Get Ad Squad Risk: read
Input Output: Record<string, any>

getAdSquadRestrictions

actions.getAdSquadRestrictions Get Ad Squad Restrictions Risk: read
Input Output: Record<string, any>

getAdsquadsAudienceSizeV2

actions.getAdsquadsAudienceSizeV2 Get Adsquads Audience Size V2 Risk: read
Input Output: Record<string, any>

getAdsquadsStatsReport

actions.getAdsquadsStatsReport Get Adsquads Stats Report Risk: read
Input Output: Record<string, any>

getAdSquadStats

actions.getAdSquadStats Get Ad Squad Stats Risk: read
Input Output: Record<string, any>

getAdSquadTargeting

actions.getAdSquadTargeting Get Ad Squad Targeting Risk: read
Input Output: Record<string, any>

getAdStats

actions.getAdStats Get Ad Stats Risk: read
Input Output: Record<string, any>

getAuthenticatedUser

actions.getAuthenticatedUser Get Authenticated User Risk: read
Input: empty object Output: Record<string, any>

getBillingCenter

actions.getBillingCenter Get Billing Center Risk: read
Input Output: Record<string, any>

getCampaign

actions.getCampaign Get Campaign Risk: read
Input Output: Record<string, any>

getCampaignChangelog

actions.getCampaignChangelog Get Campaign Changelog Risk: read
Input Output: Record<string, any>

getCampaignsByIds

actions.getCampaignsByIds Get Campaigns By Ids Risk: read
Input Output: Record<string, any>

getCampaignStats

actions.getCampaignStats Get Campaign Stats Risk: read
Input Output: Record<string, any>

getCatalogs

actions.getCatalogs Get Catalogs Risk: read
Input Output: Record<string, any>

getCatalogsProductSets

actions.getCatalogsProductSets Get Catalogs Product Sets Risk: read
Input Output: Record<string, any>

getDynamicTemplate

actions.getDynamicTemplate Get Dynamic Template Risk: read
Input Output: Record<string, any>

getDynamicTemplatesExternalChangelogs

actions.getDynamicTemplatesExternalChangelogs Get Dynamic Templates External Changelogs Risk: read
Input Output: Record<string, any>

getEventDetails

actions.getEventDetails Get Event Details Risk: read
Input Output: Record<string, any>

getFundingSource

actions.getFundingSource Get Funding Source Risk: read
Input Output: Record<string, any>

getInteractionZone

actions.getInteractionZone Get Interaction Zone Risk: read
Input Output: Record<string, any>

getInvoice

actions.getInvoice Get Invoice Risk: read
Input Output: Record<string, any>

getMedia

actions.getMedia Get Media Risk: read
Input Output: Record<string, any>

getMediaByIds

actions.getMediaByIds Get Media By Ids Risk: read
Input Output: Record<string, any>

getMediaStats

actions.getMediaStats Get Media Stats Risk: read
Input Output: Record<string, any>

getMember

actions.getMember Get Member Risk: read
Input Output: Record<string, any>

getOrganization

actions.getOrganization Get Organization Risk: read
Input Output: Record<string, any>

getOrganizationsCatalogs

actions.getOrganizationsCatalogs Get Organizations Catalogs Risk: read
Input Output: Record<string, any>

getOrganizationsMobileApps

actions.getOrganizationsMobileApps Get Organizations Mobile Apps Risk: read
Input Output: Record<string, any>

getOrganizationsPublicProfiles

actions.getOrganizationsPublicProfiles Get Organizations Public Profiles Risk: read
Input Output: Record<string, any>

getPixels

actions.getPixels Get Pixels Risk: read
Input Output: Record<string, any>

getProductFeeds

actions.getProductFeeds Get Product Feeds Risk: read
Input Output: Record<string, any>

getProductFeedsFeedUploads

actions.getProductFeedsFeedUploads Get Product Feeds Feed Uploads Risk: read
Input Output: Record<string, any>

getProductSets

actions.getProductSets Get Product Sets Risk: read
Input Output: Record<string, any>

getSegment

actions.getSegment Get Segment Risk: read
Input Output: Record<string, any>

getTargetingCarriers

actions.getTargetingCarriers Get Targeting Carriers Risk: read
Input Output: Record<string, any>

getTargetingConnectionTypes

actions.getTargetingConnectionTypes Get Targeting Connection Types Risk: read
Input Output: Record<string, any>

getTargetingDemographicsAdvancedDemographics

actions.getTargetingDemographicsAdvancedDemographics Get Targeting Demographics Advanced Demographics Risk: read
Input Output: Record<string, any>

getTargetingDemographicsAgeGroup

actions.getTargetingDemographicsAgeGroup Get Targeting Demographics Age Group Risk: read
Input Output: Record<string, any>

getTargetingDemographicsGender

actions.getTargetingDemographicsGender Get Targeting Demographics Gender Risk: read
Input Output: Record<string, any>

getTargetingDemographicsLanguages

actions.getTargetingDemographicsLanguages Get Targeting Demographics Languages Risk: read
Input Output: Record<string, any>

getTargetingDeviceIosOsVersion

actions.getTargetingDeviceIosOsVersion Get Targeting Device Ios Os Version Risk: read
Input Output: Record<string, any>

getTargetingDeviceMarketingNames

actions.getTargetingDeviceMarketingNames Get Targeting Device Marketing Names Risk: read
Input Output: Record<string, any>

getTargetingGeoPostalCode

actions.getTargetingGeoPostalCode Get Targeting Geo Postal Code Risk: read
Input Output: Record<string, any>

getTargetingGeoRegion

actions.getTargetingGeoRegion Get Targeting Geo Region Risk: read
Input Output: Record<string, any>

getTargetingGeoUsPostalCode

actions.getTargetingGeoUsPostalCode Get Targeting Geo Us Postal Code Risk: read
Input: empty object Output: Record<string, any>

getTargetingGeoUsRegion

actions.getTargetingGeoUsRegion Get Targeting Geo Us Region Risk: read
Input: empty object Output: Record<string, any>

getTargetingInterestsDlxc

actions.getTargetingInterestsDlxc Get Targeting Interests Dlxc Risk: read
Input: empty object Output: Record<string, any>

getTargetingInterestsDlxp

actions.getTargetingInterestsDlxp Get Targeting Interests Dlxp Risk: read
Input: empty object Output: Record<string, any>

getTargetingInterestsDlxs

actions.getTargetingInterestsDlxs Get Targeting Interests Dlxs Risk: read
Input: empty object Output: Record<string, any>

getTargetingInterestsNln

actions.getTargetingInterestsNln Get Targeting Interests Nln Risk: read
Input: empty object Output: Record<string, any>

getTargetingInterestsPlc

actions.getTargetingInterestsPlc Get Targeting Interests Plc Risk: read
Input Output: Record<string, any>

getTargetingLocationCategoriesLoi

actions.getTargetingLocationCategoriesLoi Get Targeting Location Categories Loi Risk: read
Input Output: Record<string, any>

getTargetingMetros

actions.getTargetingMetros Get Targeting Metros Risk: read
Input Output: Record<string, any>

getTargetingOsTypes

actions.getTargetingOsTypes Get Targeting Os Types Risk: read
Input: empty object Output: Record<string, any>

getTargetingOsVersions

actions.getTargetingOsVersions Get Targeting Os Versions Risk: read
Input: empty object Output: Record<string, any>

getTargetingV1InterestsScLs

actions.getTargetingV1InterestsScLs Get Targeting V1 Interests Sc Ls Risk: read
Input Output: Record<string, any>

getTargetingV1InterestsShp

actions.getTargetingV1InterestsShp Get Targeting V1 Interests Shp Risk: read
Input Output: Record<string, any>

getTargetingV1InterestsVac

actions.getTargetingV1InterestsVac Get Targeting V1 Interests Vac Risk: read
Input: empty object Output: Record<string, any>

getTargetingV1Options

actions.getTargetingV1Options Get Targeting V1 Options Risk: read
Input: empty object Output: Record<string, any>

listAccountRoles

actions.listAccountRoles List Account Roles Risk: read
Input Output: Record<string, any>

listAdAccounts

actions.listAdAccounts List Ad Accounts Risk: read
Input Output: Record<string, any>

listAdsByAccount

actions.listAdsByAccount List Ads By Account Risk: read
Input Output: Record<string, any>

listAdsByAdSquad

actions.listAdsByAdSquad List Ads By Ad Squad Risk: read
Input Output: Record<string, any>

listAdsByCampaign

actions.listAdsByCampaign List Ads By Campaign Risk: read
Input Output: Record<string, any>

listAdSquads

actions.listAdSquads List Ad Squads Risk: read
Input Output: Record<string, any>

listBillingCenters

actions.listBillingCenters List Billing Centers Risk: read
Input Output: Record<string, any>

listCampaigns

actions.listCampaigns List Campaigns Risk: read
Input Output: Record<string, any>

listCatalogRoles

actions.listCatalogRoles List Catalog Roles Risk: read
Input Output: Record<string, any>

listCreatives

actions.listCreatives List Creatives Risk: read
Input Output: Record<string, any>

listFundingSources

actions.listFundingSources List Funding Sources Risk: read
Input Output: Record<string, any>

listInvoices

actions.listInvoices List Invoices Risk: read
Input Output: Record<string, any>

listMedia

actions.listMedia List Media Risk: read
Input Output: Record<string, any>

listMemberRoles

actions.listMemberRoles List Member Roles Risk: read
Input Output: Record<string, any>

listMembers

actions.listMembers List Members Risk: read
Input Output: Record<string, any>

listOrganizations

actions.listOrganizations List Organizations Risk: read
Input: empty object Output: Record<string, any>

listOrgPixels

actions.listOrgPixels List Org Pixels Risk: read
Input Output: Record<string, any>

listOrgRoles

actions.listOrgRoles List Org Roles Risk: read
Input Output: Record<string, any>

listPhoneNumbers

actions.listPhoneNumbers List Phone Numbers Risk: read
Input Output: Record<string, any>

listSegments

actions.listSegments List Segments Risk: read
Input Output: Record<string, any>

listSponsoredContent

actions.listSponsoredContent List Sponsored Content Risk: read
Input: empty object Output: Record<string, any>

listTransactions

actions.listTransactions List Transactions Risk: read
Input Output: Record<string, any>

searchAdsLibrarySponsoredContent

actions.searchAdsLibrarySponsoredContent Search Ads Library Sponsored Content Risk: read
Input Output: Record<string, any>

searchCatalogProducts

actions.searchCatalogProducts Search Catalog Products Risk: read
Input Output: Record<string, any>

searchCatalogsHotels

actions.searchCatalogsHotels Search Catalogs Hotels Risk: read
Input Output: Record<string, any>

updateAdAccount

actions.updateAdAccount Update Ad Account Risk: write
Input Output: Record<string, any>

updateAdSquad

actions.updateAdSquad Update Ad Squad Risk: write
Input Output: Record<string, any>

updateBillingCenter

actions.updateBillingCenter Update Billing Center Risk: write
Input Output: Record<string, any>

updateCampaign

actions.updateCampaign Update Campaign Risk: write
Input Output: Record<string, any>

updateSegment

actions.updateSegment Update Segment Risk: write
Input Output: Record<string, any>

uploadMediaMultipart

actions.uploadMediaMultipart Upload Media Multipart Risk: write
Input Output: Record<string, any>

validateConversionEvent

actions.validateConversionEvent Validate Conversion Event Risk: write
Input Output: Record<string, any>