Skip to content
For LLMsView as Markdown·

Snapchat ​

Manage ads, campaigns, audiences, and reporting via the Snapchat Marketing API.

DetailValue
CategorySocial Media
Base URLhttps://adsapi.snapchat.com/v1
AuthenticationOAuth2
Endpoints5
Connector keysnapchat

Using Snapchat in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Snapchat from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /meGet authenticated user
GET /me/organizationsList organizations
GET /adaccounts/{adAccountId}/campaignsList campaigns
POST /adaccounts/{adAccountId}/campaignsCreate a campaign
GET /adaccounts/{adAccountId}/statsGet ad account stats

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /me ​

Get authenticated user

DetailValue
Operation IDsocial.getMe
MethodGET
Path/me

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Snapchat connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getMe.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Snapchat API reference.

GET /me/organizations ​

List organizations

DetailValue
Operation IDsocial.listOrganizations
MethodGET
Path/me/organizations

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Snapchat connection from the Connection dropdown.
  3. In the Operation dropdown, select social.listOrganizations.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Snapchat API reference.

GET /adaccounts/{adAccountId}/campaigns ​

List campaigns

DetailValue
Operation IDsocial.listCampaigns
MethodGET
Path/adaccounts/{adAccountId}/campaigns

Parameters ​

NameLocationTypeRequired
adAccountIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Snapchat connection from the Connection dropdown.
  3. In the Operation dropdown, select social.listCampaigns.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Snapchat API reference.

POST /adaccounts/{adAccountId}/campaigns ​

Create a campaign

DetailValue
Operation IDsocial.createCampaign
MethodPOST
Path/adaccounts/{adAccountId}/campaigns

Parameters ​

NameLocationTypeRequired
adAccountIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Snapchat connection from the Connection dropdown.
  3. In the Operation dropdown, select social.createCampaign.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Snapchat API reference.

GET /adaccounts/{adAccountId}/stats ​

Get ad account stats

DetailValue
Operation IDsocial.getStats
MethodGET
Path/adaccounts/{adAccountId}/stats

Parameters ​

NameLocationTypeRequired
adAccountIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Snapchat connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getStats.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Snapchat API reference.