Skip to main content

API

The API lets you integrate Swydo into your existing technology stack and build workflows that fit your agency’s needs.

Swydo API: Connect Swydo to Your Own Tools and Systems

The Swydo API allows you to access data from your Swydo account and use it in your own tools, systems, and workflows.

Whether you want to connect Swydo to a data warehouse, build custom dashboards, or automate internal processes, the API gives your technical team direct access to your Swydo data without relying on manual exports.

The Swydo API is available at https://api.swydo.com.

What can you do with the Swydo API?

With the Swydo API, you can:

  • Retrieve live marketing data: Access data directly from your connected data sources for a selected reporting period.

  • Access account information: Retrieve information about your teams, clients, users, providers, and connected data sources.

  • Access reports and monitoring boards: Retrieve report structures, widgets, manually entered KPI values, and monitoring board information.

  • Retrieve alerts and goals: Access monitoring alerts, their status and history, as well as goal settings and targets.

  • Build custom integrations: Connect Swydo to your own data warehouse, BI tools, internal dashboards, or automation platforms.

Who is the API for?

The Swydo API is designed primarily for agencies with technical or data-driven workflows, including:

  • Agencies with in-house developers or data analysts.

  • Teams using BI tools such as Looker Studio, Power BI, or Tableau.

  • Agencies using automation platforms such as Make, Zapier, or n8n.

  • Larger agencies managing multiple clients and wanting to analyse data outside Swydo.

If your agency regularly exports data, maintains internal dashboards, or automates reporting processes, the API can help reduce manual work.

How to get started

To start using the Swydo API, follow these steps:

Step 1: Create an API key

Before making API requests, you need to create an API key.

  1. Log in to your Swydo account.

  2. Go to Edit Profile.

  3. Navigate to API keys.

  4. Click Create API key.

  5. Enter a name for your API key.

  6. Select an expiration period.

  7. Create your key and copy it to a secure location.

Important: Your API key is only displayed once. Make sure to copy and store it securely, as you won’t be able to view it again after creation.

You can choose from the following expiration options:

  • 30 days

  • 90 days (default)

  • 1 year

  • Never

You can also revoke an API key at any time. Under your profile, you can see when each key was created, when it expires, and when it was last used.

Step 2: Open the API documentation

In Swydo, select API from the left-hand menu, next to MCP.
(https://app.swydo.com/teams/mzcriduM2JeF49nBZ/api)


Here you’ll find the API documentation, including:

  • The API address.

  • Instructions for authenticating your requests.

  • API version information.

  • Available endpoints and request examples.

The documentation follows the OpenAPI specification, which can also be imported into tools such as Postman or used to generate code for your integration.

Step 3: Make your first API request

Once you have your API key, you can start making requests.

For example, the following command retrieves a list of reports for a specific team:

curl https://api.swydo.com/teams/{teamId}/reports \

-H "Authorization: Bearer $API_KEY" \

-H "Api-Version: date" (see API documentation).

Replace {teamId} with the ID of your team and $API_KEY with your API key.

The Authorization header authenticates your request, while the Api-Version header specifies which version of the API you want to use.

API authentication and permissions

The Swydo API uses API keys for authentication.

Each API key inherits the permissions of the user who created it. This means:

  • The API can only retrieve information that the user is allowed to access in Swydo.

  • Creating an API key does not grant additional permissions.

  • If a user’s permissions change, their API access follows those permissions.

For security reasons, keep your API keys private and revoke any keys that are no longer needed.

API versioning

The Swydo API supports versioning to help keep your integrations working as the API evolves.

The current API version is:

("date") - see API documentation:
​

Developers should include the Api-Version header in every request to specify the version they want to use.

If the header is missing, the oldest available version will be used.

API request limits and performance

There are a few things to keep in mind when working with the API:

  • Reporting periods: Each live data request supports one reporting period at a time.

  • Metrics and dimensions: Each request supports up to 10 metrics and 2 dimensions.

  • Pagination: Requests support up to 100 items per page.

  • Request duration: Live data requests retrieve information directly from the connected provider and can take up to a few minutes.

  • Rate limits: The API documentation includes rate-limit error responses (HTTP 429), but specific rate limits are not currently documented.

Swydo API vs. MCP: What’s the difference?

Both the Swydo API and MCP provide access to Swydo functionality, but they serve different purposes.

Swydo API

Swydo MCP

Designed for developers and technical teams.

Designed for users working with AI tools.

Both provide access to the same supported Swydo capabilities.

Frequently asked questions

  • Can I create or edit clients through the API?

No. The API is currently read-only. You can retrieve information about clients, but you cannot create, edit, or delete them through the API.

  • Can I access data from all my connected marketing platforms?

You can retrieve live data from connected data sources supported by the API. Available metrics and dimensions depend on the provider and data source.

  • Does the API provide access to all Swydo features?

No. The API provides access only to the data and functionality currently supported by its endpoints.

  • Can I use the API with Power BI, Tableau, or Looker Studio?

Yes. You can build custom integrations to transfer Swydo data into these tools. However, ready-made native connectors are not currently available.

  • Can the API automatically send notifications when an alert is triggered?

No. The API does not currently support webhooks. Your integration must periodically check for triggered alerts.

  • Do I need an administrator account to use the API?

The API uses the permissions of the user who creates the API key. It does not provide additional permissions beyond those already assigned to that user.

How long does it take to retrieve live data?

Live data requests retrieve information directly from the connected provider and can take up to a few minutes to complete.

Can I revoke an API key?

Yes


Do you need help after reading this article?
Please explore our help center further or reach out to our support team through the bubble chat or at support@swydo.com. You can also schedule a demo to get an answer to all your questions

Happy reporting,
- The Swydo team

Did this answer your question?