The webhook credentials are determined by organization in 1P and to access, just click on the name of the organization below your profile photo in your user panel in the sidebar.



(in this case, the organization is Elvenworks Demo)

 

Click on the button symbolized with a plus icon as in the image below.



A message box will open which you must choose the type of webhook that will be registered and name it to identify your credential.




Click on the “generate integration token” button and wait for the message box to process.



Hits/Failure credential


After following the previous steps, in a few seconds your credential will be created and an image similar to the one below will appear:



(illustrative image, some information may vary)


 

Your credential is created and ready to use. Click on the icon  to have the curl command copied to your clipboard.

Your token will be registered inside your organization in 1P in case you need to consult, edit or remove it.


 

Then, you can paste and execute the command in the terminal of your choice:


(illustrative image, some information may vary)

 

Your token for activating the API will be generated, similar to the image below:


(illustrative image, some information may vary)


Deploy Credential


After following the steps outlined in “Creating Webhook Credentials”, your message box will close and your credentials page will reload. Displaying only the description of the credential, as the image below:



 

The token generated by the credential is registered on the application page in your product. Also, you will have a token for each application you want to update.


Editing Webhook credentials


By accessing your list of credentials it is possible to edit an already created token.


Click on the icon represented by a pencil as in the image below to edit the credential.



After enabling editing, a message box will appear showing the credential name and current token.


Then, click on “generate new token” and wait for the platform to generate a new credential.


After generating a new credential, it is necessary to redo the previous credential setting steps to execute the command on any terminal of your choice and obtain the new token.


WARNING


After generating a new credential, the old token will be invalidated.


If necessary, you can also change the name of the credential, however new credentials will be generated whenever the name is changed.


To delete a credential click on the button