Skip to content

πŸ› οΈ Developer GuideΒΆ

This guide provides everything developers need to integrate Good Bards into their workflows β€” including authentication, API usage, webhooks, and best practices.


πŸ”‘ AuthenticationΒΆ

All API requests must be authenticated using a Bearer token.

πŸ” How to AuthenticateΒΆ

  1. Obtain your API token from Settings > API Keys
  2. Include it in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN

Explore: Authentication API


🧾 API Overview¢

The Good Bards REST API gives you programmatic access to:

  • πŸ“ Assets & versions
  • πŸ“„ Campaigns & documents
  • πŸ—ƒοΈ Folders & organization
  • πŸ“ˆ Analytics & reports
  • πŸ”„ Webhooks and automations

Explore: API Reference


πŸ“‚ Example: Create a New AssetΒΆ

POST /v1/{tenantId}/assets
Content-Type: application/json
Authorization: Bearer YOUR_API_TOKEN
{
  "title": "New Product One-Pager",
  "folder": "/Q4/Launch",
  "assetType": "document",
  "content": {
    "blocks": [
      { "type": "text", "value": "Welcome to our launch!" }
    ]
  }
}

Explore: Assets API


πŸ“‘ WebhooksΒΆ

Webhooks let you receive real-time notifications for platform events like:

  • asset.published
  • campaign.created
  • asset.updated
  • webhook.failed

πŸ”§ Setting Up WebhooksΒΆ

  1. Go to Settings > Webhooks
  2. Register your endpoint URL
  3. Choose the events you want to subscribe to

Webhook payloads are sent as POST requests with a JSON body and HMAC-SHA256 signature.

Explore: Webhooks API


🧠 Use Cases¢

  • Sync assets with an external DAM or CMS
  • Trigger internal approval workflows
  • Monitor campaign publishing status
  • Build analytics dashboards with raw campaign data

🧩 Platform Integrations¢

Use Connectors to link your dev stack to Good Bards:

  • βœ… Google Drive, Dropbox
  • βœ… Slack, Discord
  • βœ… Webhooks & Custom APIs

Explore: Connectors


🚧 Rate Limits¢

  • Standard Plan: 60 requests/minute
  • Pro Plan: 200 requests/minute
  • Burst: Limited to 5 concurrent API calls per token

For bulk operations, use batch endpoints or asynchronous processing.


πŸ§ͺ Testing & StagingΒΆ

A sandbox environment is available on request. It mirrors production behavior but doesn't affect real data or metrics.

Info

Contact support to request sandbox access or to rotate API keys.


πŸ“¬ Support & DocsΒΆ

Need help? We offer: - Full API reference
- Contact support
- Postman collections (coming soon)

You can also join our developer Slack by request.