Developers Dashboard

Email, Stripe, SEO, analytics, booking, spam protection and more.

List plugins

GET/sites/{siteId}/plugins

Every plugin (email, Stripe, SEO, analytics, booking, spam protection, reviews…) with its settings fields and its state on the site. Secret values are never returned.

Path parameters

  • siteIdstringrequired

    The site’s id.

Response 200

  • itemsarray of objectsrequired
    6 child fields
    • idstringrequired
    • namestringrequired
    • descriptionstringrequired
    • categorystringrequired
    • settingsarrayrequired

      The plugin’s settings fields. Fields with secret: true are write-only.

    • stateobjectrequired
      4 child fields
      • idstringrequired
      • enabledbooleanrequired
      • configobjectrequired
      • secretsSetarray of stringsrequired
  • cursorstringnullable

    Pass as ?cursor= to get the next page. Null when there are no more.

  • totalinteger

    How many there are in all, when the list knows.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/plugins \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "id": "email",
      "name": "Ana",
      "description": "Building the homepage",
      "category": "…",
      "settings": [
        {}
      ],
      "state": {
        "id": "id_123",
        "enabled": true,
        "config": {},
        "secretsSet": []
      }
    }
  ],
  "cursor": null,
  "total": 1
}

Get a plugin

GET/sites/{siteId}/plugins/{pluginId}

One plugin with its settings fields and state.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • pluginIdstringrequired

Response 200

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • categorystringrequired
  • settingsarrayrequired

    The plugin’s settings fields. Fields with secret: true are write-only.

  • stateobjectrequired
    4 child fields
    • idstringrequired
    • enabledbooleanrequired
    • configobjectrequired
    • secretsSetarray of stringsrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/plugins/email \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "id": "email",
  "name": "Ana",
  "description": "Building the homepage",
  "category": "…",
  "settings": [
    {}
  ],
  "state": {
    "id": "id_123",
    "enabled": true,
    "config": {},
    "secretsSet": []
  }
}

Turn on or configure a plugin

PUT/sites/{siteId}/plugins/{pluginId}
Scopesettings:writeRoleowner or admin

Turn a plugin on or off and change its settings. Secret fields (API keys, tokens) go in secrets: they are encrypted, write-only and never returned. Core plugins can’t be turned off. Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • pluginIdstringrequired

Request body JSON

  • enabledboolean
  • configobject
  • secretsmap of string

Response 200

  • idstringrequired
  • enabledbooleanrequired
  • configobjectrequired
  • secretsSetarray of stringsrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X PUT https://api.unvop.com/v1/sites/site_123/plugins/email \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "config": {
      "fromEmail": "hello@example.com"
    }
  }'
Response 200
{
  "id": "email",
  "enabled": true,
  "config": {},
  "secretsSet": []
}

Test a plugin

POST/sites/{siteId}/plugins/{pluginId}/test
Scopesettings:writeRoleowner or admin

Check a plugin’s connection (for example, send a test email). Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • pluginIdstringrequired

Response 200

  • okbooleanrequired
  • messagestring

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X POST https://api.unvop.com/v1/sites/site_123/plugins/email/test \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "ok": true,
  "message": "Building the homepage"
}