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
Output:
Record<string, any>
copyMedia
actions.copyMedia
Copy Media
Risk: write
Output:
Record<string, any>
createAccountRole
actions.createAccountRole
Create Account Role
Risk: write
Output:
Record<string, any>
createAdAccount
actions.createAdAccount
Create Ad Account
Risk: write
Output:
Record<string, any>
createAdaccountsAudienceSizeV2
actions.createAdaccountsAudienceSizeV2
Create Adaccounts Audience Size V2
Risk: write
Output:
Record<string, any>
createAdaccountsCreativeElements
actions.createAdaccountsCreativeElements
Create Adaccounts Creative Elements
Risk: write
Output:
Record<string, any>
createAdaccountsDynamicTemplates
actions.createAdaccountsDynamicTemplates
Create Adaccounts Dynamic Templates
Risk: write
Output:
Record<string, any>
createAdaccountsEventDetails
actions.createAdaccountsEventDetails
Create Adaccounts Event Details
Risk: write
Output:
Record<string, any>
createAdaccountsInteractionZones
actions.createAdaccountsInteractionZones
Create Adaccounts Interaction Zones
Risk: write
Output:
Record<string, any>
createAdaccountsOfferDisclaimers
actions.createAdaccountsOfferDisclaimers
Create Adaccounts Offer Disclaimers
Risk: write
Output:
Record<string, any>
createAdaccountsReservedForecasting
actions.createAdaccountsReservedForecasting
Create Adaccounts Reserved Forecasting
Risk: write
Output:
Record<string, any>
createAdaccountsTargetingInsights
actions.createAdaccountsTargetingInsights
Create Adaccounts Targeting Insights
Risk: write
Output:
Record<string, any>
createAdSquad
actions.createAdSquad
Create Ad Squad
Risk: write
Output:
Record<string, any>
createBillingCenter
actions.createBillingCenter
Create Billing Center
Risk: write
Output:
Record<string, any>
createCampaign
actions.createCampaign
Create Campaign
Risk: write
Output:
Record<string, any>
createCatalogRole
actions.createCatalogRole
Create Catalog Role
Risk: write
Output:
Record<string, any>
createCatalogsFacets
actions.createCatalogsFacets
Create Catalogs Facets
Risk: write
Output:
Record<string, any>
createCatalogsFlightsSearch
actions.createCatalogsFlightsSearch
Create Catalogs Flights Search
Risk: write
Output:
Record<string, any>
createCatalogsProductFeeds
actions.createCatalogsProductFeeds
Create Catalogs Product Feeds
Risk: write
Output:
Record<string, any>
createCatalogsProductSets
actions.createCatalogsProductSets
Create Catalogs Product Sets
Risk: write
Output:
Record<string, any>
createMedia
actions.createMedia
Create Media
Risk: write
Output:
Record<string, any>
createOrganizationsCatalogs
actions.createOrganizationsCatalogs
Create Organizations Catalogs
Risk: write
Output:
Record<string, any>
createOrgRole
actions.createOrgRole
Create Org Role
Risk: write
Output:
Record<string, any>
createSegment
actions.createSegment
Create Segment
Risk: write
Output:
Record<string, any>
deleteAdaccountsOfferDisclaimers
actions.deleteAdaccountsOfferDisclaimers
Delete Adaccounts Offer Disclaimers
Risk: destructive
Output:
Record<string, any>
deleteAdsquads
actions.deleteAdsquads
Delete Adsquads
Risk: destructive
Output:
Record<string, any>
deleteAllSegmentUsers
actions.deleteAllSegmentUsers
Delete All Segment Users
Risk: destructive
Output:
Record<string, any>
deleteCampaign
actions.deleteCampaign
Delete Campaign
Risk: destructive
Output:
Record<string, any>
deleteCatalogs
actions.deleteCatalogs
Delete Catalogs
Risk: destructive
Output:
Record<string, any>
deleteEventDetails
actions.deleteEventDetails
Delete Event Details
Risk: destructive
Output:
Record<string, any>
deleteMember
actions.deleteMember
Delete Member
Risk: destructive
Output:
Record<string, any>
deleteProductFeeds
actions.deleteProductFeeds
Delete Product Feeds
Risk: destructive
Output:
Record<string, any>
deleteRole
actions.deleteRole
Delete Role
Risk: destructive
Output:
Record<string, any>
deleteSegment
actions.deleteSegment
Delete Segment
Risk: destructive
Output:
Record<string, any>
deleteSegmentUsers
actions.deleteSegmentUsers
Delete Segment Users
Risk: destructive
Output:
Record<string, any>
getAdAccount
actions.getAdAccount
Get Ad Account
Risk: read
Output:
Record<string, any>
getAdaccountsAdsquads
actions.getAdaccountsAdsquads
Get Adaccounts Adsquads
Risk: read
Output:
Record<string, any>
getAdaccountsAdSquadUiRenderData
actions.getAdaccountsAdSquadUiRenderData
Get Adaccounts Ad Squad Ui Render Data
Risk: read
Output:
Record<string, any>
getAdaccountsDynamicTemplates
actions.getAdaccountsDynamicTemplates
Get Adaccounts Dynamic Templates
Risk: read
Output:
Record<string, any>
getAdaccountsEventDetails
actions.getAdaccountsEventDetails
Get Adaccounts Event Details
Risk: read
Output:
Record<string, any>
getAdaccountsInteractionZones
actions.getAdaccountsInteractionZones
Get Adaccounts Interaction Zones
Risk: read
Output:
Record<string, any>
getAdAccountsLeadGenerationForms
actions.getAdAccountsLeadGenerationForms
Get Ad Accounts Lead Generation Forms
Risk: read
Output:
Record<string, any>
getAdaccountsLeadsReport
actions.getAdaccountsLeadsReport
Get Adaccounts Leads Report
Risk: read
Output:
Record<string, any>
getAdaccountsMobileApps
actions.getAdaccountsMobileApps
Get Adaccounts Mobile Apps
Risk: read
Output:
Record<string, any>
getAdaccountsOfferDisclaimers
actions.getAdaccountsOfferDisclaimers
Get Adaccounts Offer Disclaimers
Risk: read
Output:
Record<string, any>
getAdaccountsSpendGuidance
actions.getAdaccountsSpendGuidance
Get Adaccounts Spend Guidance
Risk: read
Output:
Record<string, any>
getAdAccountsStats
actions.getAdAccountsStats
Get Ad Accounts Stats
Risk: read
Output:
Record<string, any>
getAdaccountsStatsReport
actions.getAdaccountsStatsReport
Get Adaccounts Stats Report
Risk: read
Output:
Record<string, any>
getAdSquad
actions.getAdSquad
Get Ad Squad
Risk: read
Output:
Record<string, any>
getAdSquadRestrictions
actions.getAdSquadRestrictions
Get Ad Squad Restrictions
Risk: read
Output:
Record<string, any>
getAdsquadsAudienceSizeV2
actions.getAdsquadsAudienceSizeV2
Get Adsquads Audience Size V2
Risk: read
Output:
Record<string, any>
getAdsquadsStatsReport
actions.getAdsquadsStatsReport
Get Adsquads Stats Report
Risk: read
Output:
Record<string, any>
getAdSquadStats
actions.getAdSquadStats
Get Ad Squad Stats
Risk: read
Output:
Record<string, any>
getAdSquadTargeting
actions.getAdSquadTargeting
Get Ad Squad Targeting
Risk: read
Output:
Record<string, any>
getAdStats
actions.getAdStats
Get Ad Stats
Risk: read
Output:
Record<string, any>
getAuthenticatedUser
actions.getAuthenticatedUser
Get Authenticated User
Risk: read
Record<string, any>
getBillingCenter
actions.getBillingCenter
Get Billing Center
Risk: read
Output:
Record<string, any>
getCampaign
actions.getCampaign
Get Campaign
Risk: read
Output:
Record<string, any>
getCampaignChangelog
actions.getCampaignChangelog
Get Campaign Changelog
Risk: read
Output:
Record<string, any>
getCampaignsByIds
actions.getCampaignsByIds
Get Campaigns By Ids
Risk: read
Output:
Record<string, any>
getCampaignStats
actions.getCampaignStats
Get Campaign Stats
Risk: read
Output:
Record<string, any>
getCatalogs
actions.getCatalogs
Get Catalogs
Risk: read
Output:
Record<string, any>
getCatalogsProductSets
actions.getCatalogsProductSets
Get Catalogs Product Sets
Risk: read
Output:
Record<string, any>
getDynamicTemplate
actions.getDynamicTemplate
Get Dynamic Template
Risk: read
Output:
Record<string, any>
getDynamicTemplatesExternalChangelogs
actions.getDynamicTemplatesExternalChangelogs
Get Dynamic Templates External Changelogs
Risk: read
Output:
Record<string, any>
getEventDetails
actions.getEventDetails
Get Event Details
Risk: read
Output:
Record<string, any>
getFundingSource
actions.getFundingSource
Get Funding Source
Risk: read
Output:
Record<string, any>
getInteractionZone
actions.getInteractionZone
Get Interaction Zone
Risk: read
Output:
Record<string, any>
getInvoice
actions.getInvoice
Get Invoice
Risk: read
Output:
Record<string, any>
getMedia
actions.getMedia
Get Media
Risk: read
Output:
Record<string, any>
getMediaByIds
actions.getMediaByIds
Get Media By Ids
Risk: read
Output:
Record<string, any>
getMediaStats
actions.getMediaStats
Get Media Stats
Risk: read
Output:
Record<string, any>
getMember
actions.getMember
Get Member
Risk: read
Output:
Record<string, any>
getOrganization
actions.getOrganization
Get Organization
Risk: read
Output:
Record<string, any>
getOrganizationsCatalogs
actions.getOrganizationsCatalogs
Get Organizations Catalogs
Risk: read
Output:
Record<string, any>
getOrganizationsMobileApps
actions.getOrganizationsMobileApps
Get Organizations Mobile Apps
Risk: read
Output:
Record<string, any>
getOrganizationsPublicProfiles
actions.getOrganizationsPublicProfiles
Get Organizations Public Profiles
Risk: read
Output:
Record<string, any>
getPixels
actions.getPixels
Get Pixels
Risk: read
Output:
Record<string, any>
getProductFeeds
actions.getProductFeeds
Get Product Feeds
Risk: read
Output:
Record<string, any>
getProductFeedsFeedUploads
actions.getProductFeedsFeedUploads
Get Product Feeds Feed Uploads
Risk: read
Output:
Record<string, any>
getProductSets
actions.getProductSets
Get Product Sets
Risk: read
Output:
Record<string, any>
getSegment
actions.getSegment
Get Segment
Risk: read
Output:
Record<string, any>
getTargetingCarriers
actions.getTargetingCarriers
Get Targeting Carriers
Risk: read
Output:
Record<string, any>
getTargetingConnectionTypes
actions.getTargetingConnectionTypes
Get Targeting Connection Types
Risk: read
Output:
Record<string, any>
getTargetingDemographicsAdvancedDemographics
actions.getTargetingDemographicsAdvancedDemographics
Get Targeting Demographics Advanced Demographics
Risk: read
Output:
Record<string, any>
getTargetingDemographicsAgeGroup
actions.getTargetingDemographicsAgeGroup
Get Targeting Demographics Age Group
Risk: read
Output:
Record<string, any>
getTargetingDemographicsGender
actions.getTargetingDemographicsGender
Get Targeting Demographics Gender
Risk: read
Output:
Record<string, any>
getTargetingDemographicsLanguages
actions.getTargetingDemographicsLanguages
Get Targeting Demographics Languages
Risk: read
Output:
Record<string, any>
getTargetingDeviceIosOsVersion
actions.getTargetingDeviceIosOsVersion
Get Targeting Device Ios Os Version
Risk: read
Output:
Record<string, any>
getTargetingDeviceMarketingNames
actions.getTargetingDeviceMarketingNames
Get Targeting Device Marketing Names
Risk: read
Output:
Record<string, any>
getTargetingGeoPostalCode
actions.getTargetingGeoPostalCode
Get Targeting Geo Postal Code
Risk: read
Output:
Record<string, any>
getTargetingGeoRegion
actions.getTargetingGeoRegion
Get Targeting Geo Region
Risk: read
Output:
Record<string, any>
getTargetingGeoUsPostalCode
actions.getTargetingGeoUsPostalCode
Get Targeting Geo Us Postal Code
Risk: read
Record<string, any>
getTargetingGeoUsRegion
actions.getTargetingGeoUsRegion
Get Targeting Geo Us Region
Risk: read
Record<string, any>
getTargetingInterestsDlxc
actions.getTargetingInterestsDlxc
Get Targeting Interests Dlxc
Risk: read
Record<string, any>
getTargetingInterestsDlxp
actions.getTargetingInterestsDlxp
Get Targeting Interests Dlxp
Risk: read
Record<string, any>
getTargetingInterestsDlxs
actions.getTargetingInterestsDlxs
Get Targeting Interests Dlxs
Risk: read
Record<string, any>
getTargetingInterestsNln
actions.getTargetingInterestsNln
Get Targeting Interests Nln
Risk: read
Record<string, any>
getTargetingInterestsPlc
actions.getTargetingInterestsPlc
Get Targeting Interests Plc
Risk: read
Output:
Record<string, any>
getTargetingLocationCategoriesLoi
actions.getTargetingLocationCategoriesLoi
Get Targeting Location Categories Loi
Risk: read
Output:
Record<string, any>
getTargetingMetros
actions.getTargetingMetros
Get Targeting Metros
Risk: read
Output:
Record<string, any>
getTargetingOsTypes
actions.getTargetingOsTypes
Get Targeting Os Types
Risk: read
Record<string, any>
getTargetingOsVersions
actions.getTargetingOsVersions
Get Targeting Os Versions
Risk: read
Record<string, any>
getTargetingV1InterestsScLs
actions.getTargetingV1InterestsScLs
Get Targeting V1 Interests Sc Ls
Risk: read
Output:
Record<string, any>
getTargetingV1InterestsShp
actions.getTargetingV1InterestsShp
Get Targeting V1 Interests Shp
Risk: read
Output:
Record<string, any>
getTargetingV1InterestsVac
actions.getTargetingV1InterestsVac
Get Targeting V1 Interests Vac
Risk: read
Record<string, any>
getTargetingV1Options
actions.getTargetingV1Options
Get Targeting V1 Options
Risk: read
Record<string, any>
listAccountRoles
actions.listAccountRoles
List Account Roles
Risk: read
Output:
Record<string, any>
listAdAccounts
actions.listAdAccounts
List Ad Accounts
Risk: read
Output:
Record<string, any>
listAdsByAccount
actions.listAdsByAccount
List Ads By Account
Risk: read
Output:
Record<string, any>
listAdsByAdSquad
actions.listAdsByAdSquad
List Ads By Ad Squad
Risk: read
Output:
Record<string, any>
listAdsByCampaign
actions.listAdsByCampaign
List Ads By Campaign
Risk: read
Output:
Record<string, any>
listAdSquads
actions.listAdSquads
List Ad Squads
Risk: read
Output:
Record<string, any>
listBillingCenters
actions.listBillingCenters
List Billing Centers
Risk: read
Output:
Record<string, any>
listCampaigns
actions.listCampaigns
List Campaigns
Risk: read
Output:
Record<string, any>
listCatalogRoles
actions.listCatalogRoles
List Catalog Roles
Risk: read
Output:
Record<string, any>
listCreatives
actions.listCreatives
List Creatives
Risk: read
Output:
Record<string, any>
listFundingSources
actions.listFundingSources
List Funding Sources
Risk: read
Output:
Record<string, any>
listInvoices
actions.listInvoices
List Invoices
Risk: read
Output:
Record<string, any>
listMedia
actions.listMedia
List Media
Risk: read
Output:
Record<string, any>
listMemberRoles
actions.listMemberRoles
List Member Roles
Risk: read
Output:
Record<string, any>
listMembers
actions.listMembers
List Members
Risk: read
Output:
Record<string, any>
listOrganizations
actions.listOrganizations
List Organizations
Risk: read
Record<string, any>
listOrgPixels
actions.listOrgPixels
List Org Pixels
Risk: read
Output:
Record<string, any>
listOrgRoles
actions.listOrgRoles
List Org Roles
Risk: read
Output:
Record<string, any>
listPhoneNumbers
actions.listPhoneNumbers
List Phone Numbers
Risk: read
Output:
Record<string, any>
listSegments
actions.listSegments
List Segments
Risk: read
Output:
Record<string, any>
listSponsoredContent
actions.listSponsoredContent
List Sponsored Content
Risk: read
Record<string, any>
listTransactions
actions.listTransactions
List Transactions
Risk: read
Output:
Record<string, any>
searchAdsLibrarySponsoredContent
actions.searchAdsLibrarySponsoredContent
Search Ads Library Sponsored Content
Risk: read
Output:
Record<string, any>
searchCatalogProducts
actions.searchCatalogProducts
Search Catalog Products
Risk: read
Output:
Record<string, any>
searchCatalogsHotels
actions.searchCatalogsHotels
Search Catalogs Hotels
Risk: read
Output:
Record<string, any>
updateAdAccount
actions.updateAdAccount
Update Ad Account
Risk: write
Output:
Record<string, any>
updateAdSquad
actions.updateAdSquad
Update Ad Squad
Risk: write
Output:
Record<string, any>
updateBillingCenter
actions.updateBillingCenter
Update Billing Center
Risk: write
Output:
Record<string, any>
updateCampaign
actions.updateCampaign
Update Campaign
Risk: write
Output:
Record<string, any>
updateSegment
actions.updateSegment
Update Segment
Risk: write
Output:
Record<string, any>
uploadMediaMultipart
actions.uploadMediaMultipart
Upload Media Multipart
Risk: write
Output:
Record<string, any>
validateConversionEvent
actions.validateConversionEvent
Validate Conversion Event
Risk: write
Output:
Record<string, any>