The webhook credentials are determined by the organization in the platform. To access them, click on the arrow next to the organization's name on the top bar and click on the button with the pencil icon next to 'Settings' to enter your organization. Once inside your organization, you will find 'Integration Tokens' and 'Secrets Variables.' Click on the plus sign (+) button next to the name 'Integration Tokens.
A message box will appear, where you should choose the type of webhook that will be registered (Hits/Failure and Deploy) and give it a name for identification as your credential.
After filling in the fields, click on 'Generate Integration Token' and wait for it to process.
Once the process is complete, your credential will be created, and you will see an image like the one below:
Click on the button with the paper icon to have the curl command copied to your clipboard. In case of consulting, editing, or removing, your token will be registered within your organization in the platform.
After copying the curl command, you can paste and execute the command in the terminal of your choice.
Your API activation token will be generated, similar to the image below:
After following the steps to create credentials and choosing the type "deploy" for the webhook, the message box will be closed, and your credentials page will be refreshed, showing only the description of the credential, as shown in the image below:
The token generated by the credential is registered on the application page in your product. Additionally, you will have a token for each application you want to update.
Editing Webhook Credentials
To access your list of credentials and edit an already created token, click on the icon represented by a pencil to edit the credential. This allows you to modify the settings or details of the webhook credential as needed.
After enabling editing, you will see a message box displaying the current credential with its name and token. Click on "Generate Integration Token" and wait for the platform to generate a new credential. Once the new credential is created, you need to redo the previous steps to execute the command in any terminal of your choice and obtain the new token.
After generating a new credential, the old token will become invalid. If needed, you can also change the name of the credential. However, please be aware that new credentials will be generated every time the name is changed.
For questions, inquiries, or technical support, please contact us through the chat on the ElvenWorks platform or on our website.