Skip to main content

We are wanting to use the API to create custom channels. The only piece we can't automate right now is creating the Channel. We have the inbox, but need a way to create the channel, and add it to the inbox so that we can get the channel ID, add our endpoint to the channel for messages, etc…

 

Where in the API would be input endpoint for our service when messages are sent from Front?

You'll pass a field called webhook_url in the settings object:

POST /inboxes/:inbox_id/channels

{

  "name": "New channel",

  "settings": {

    "webhook_url": "https://example.com/webhook/incoming/front",

    "all_teammates_can_reply": true,

    "undo_send_time": 0

  },

  "type": "custom"

}

 

I hope that helps! Let us know if you have any trouble. If you need more help on custom channels, here are the API docs: https://dev.frontapp.com/reference/post_inboxes-inbox-id-channels

 

If you're building a partner channel instead of a custom channel, the channels are actually created manually by teammates in Front (and this is documented here https://dev.frontapp.com/docs/getting-started-with-partner-channels )

 

--Jason


Reply