socialAccount

Enable DM messaging for a social account

Changed on

Subscribe the team's Facebook page or Instagram account to Meta DM webhooks and start processing its messages. Connecting or re-authorizing an account never does this on its own. Idempotent. Returns 403 when the organization has not been granted Instagram and Facebook direct messages and automations (email contact@bundle.social to request it), 400 when the account lacks the messaging permissions (reconnect it), and 502 when Meta rejects the subscription; the account then stays DISABLED.

post/api/v1/social-account/messaging/enable

Request

  • Base URL
    https://api.bundle.social
  • URL
    https://api.bundle.social/api/v1/social-account/messaging/enable
  • Auth
    API key in header x-api-key

Request body

teamIdstring required
type'FACEBOOK' | 'INSTAGRAM' required

Response

200

socialAccountIdstring required
type'FACEBOOK' | 'INSTAGRAM' required
messagingStatus'DISABLED' | 'ENABLED' | 'DISABLE_PENDING' required
messagingLastErrorstring nullable required

Changes