Skip to content

Account
Webhook

Request

Security
X-Signature
Headers
X-Signaturestringrequired
Example:X-Signature: t=1492774577,v1=5257a869...
Bodyapplication/json

An account was created, updated or deleted.

versionstring

The version of the event.

Example:"1"
idstring, (uuid)

The unique identifier for the event. This can be used as an idempotency key.

Example:"c478966c-f927-411c-b919-179832d3d50c"
tenantIdstring, (uuid)

The unique identifier of the tenant the event belongs to.

Example:"4f9d2e7a-1b3c-4d5e-8f6a-7c8b9d0e1f2a"
timestampinteger

When the event occurred, formatted as a UNIX timestamp (in seconds).

Example:1698604061
categorystring

The category of the event.

Value:"ENTITY"
descriptionstring

The description of the event. Note: this is subject to change and should not be used to match on this object.

Example:"employee@example.com on Google Workspace updated"
typestring

The type of event that occurred.

Enum:"CREATE""UPDATE""DELETE"
objectstring

The object that was created, updated or deleted.

Value:"ACCOUNT"
friendlyNamestring

The friendly name of this object. Note: this is subject to change and should not be used to match on this object.

Example:"Account"
newobject(Account)

The new state of the object. This is null when the event type is DELETE.

oldobject(Account)

The previous state of the object. This is null when the event type is CREATE.

POST
account
curl -i -X POST \
  https://api.pushsecurity.com/account \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Signature: X-Signature: t=1492774577,v1=5257a869...' \
  -d '{}'

Responses

Return any 2XX status to indicate that the data was received successfully