Skip to content

URL Format


Creating a Webhook in

  1. Open up the chat Administration by clicking on Administration menu Screenshot 1

  2. Open Integrations and then click New Screenshot 2

  3. Fill in the information for the webhook and click Save. Please don't forget to Enable your integration. Screenshot 3

  4. If you did everything correctly, will give you the URL and Token to your newly created webhook. Screenshot 4

  5. Format the service URL


Additional URL configuration provides functionality to post as another user or to another channel / user, compared to the webhook configuration.
To do this, you can add a sender and/or channel / receiver to the service URL.

             └──────────┘                 └────────────────────────────────────────────────────────────────┘ └─────────────┘
                sender                                                   token                                   channel

             └──────────┘                 └────────────────────────────────────────────────────────────────┘ └───────────────┘
                sender                                                   token                                    receiver

Passing parameters via code

If you want to, you also have the possibility to pass parameters to the send function.
The following example contains all parameters that are currently supported.

params := (*types.Params)(
        "username": "overwriteUserName",
        "channel": "overwriteChannel",

service.Send("this is a message", params)

This will overwrite any options, that you passed via URL.

For more Webhooks options see official guide.