Webhooks

Create Webhook

This endpoint allows you to create an Webhook based on JSON input.

You will only be able to create an Webhook after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST BODY

AttributeTypeDescription
action (Required)StringThe values can be: insert, update or delete
entity (Required)StringThe values can be: account, contact, opportunity, activity, calendar, salesorder
name (Required)StringThe name of the Webhook
url (Required)StringThe endpoint of the Webhook
versionStringThe Webhook version

RESPONSE

AttributeTypeDescription
idIntegerId assigned to the new Webhook
MessageStringShows the operation status

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
post/hooks

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/hooks
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Request body

namestring
actionstring
entitystring
urlstring

Response

Create Webhook

Changes

No recorded changes to this operation across all 1 revision of this API.