curl --request POST \
--url https://api.tagada.io/api/public/v1/plugins/v2/source-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pluginId": "my-landing-page-abc123"
}
'{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}plugins-v2
Get deployment source data (V2)
Fetch the source data (e.g., FunnelTemplate) for a deployment.
This enables round-trip editing with external editors like TagadaStudio:
- Deploy plugin with sourceData
- CRM redirects to external editor with pluginId
- External editor fetches sourceData
- User edits and re-deploys
Authentication required: API key must be authorized for the account.
Request body:
- pluginId: The plugin ID to fetch source data for
- deploymentId: (optional) Specific deployment ID. If not provided, fetches latest.
Returns:
- success: Whether fetch succeeded
- pluginId: The plugin ID
- deploymentId: The deployment ID
- sourceDataUrl: URL to the source data file
- sourceData: The actual source data (fetched from URL)
- message: Human-readable status message
POST
/
api
/
public
/
v1
/
plugins
/
v2
/
source-data
curl --request POST \
--url https://api.tagada.io/api/public/v1/plugins/v2/source-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pluginId": "my-landing-page-abc123"
}
'{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}