Secret Token
As you expose your application endpoint to receive calls from the Webhooks service you probably want that endpoint to only receive data from your configured webhooks. Your secret token allows you to validate that the call comes from Webhooks service.
Tokens are used to sign callback payload for webhooks when an event occurs. Each application or user can register a secure token using its own client id or user id that will be later used to sign the payload.
Schema
Attribute | Description |
---|---|
token | Alphanumeric token used to sign event callback’s payload. |
Example Object
{
"token":"eyJhbGciOiJIUzI1NiIsImtpZCI6Imp3dF9zeW1tZXRyaWNfa2V5In0"
}
Supported Endpoints
Endpoint Description | |
---|---|
POST tokens | Inserts a new token |
PUT tokens/@me | Updates an existing token |
DELETE tokens/@me | Deletes a token |