Workspace Organization Member

This event is used to notify webhooks about any of these activies related to the organization's members:

  • New member added
  • Member removed
  • Member's role changed
  • Member's tag changed

Actions

  • "invited"
  • "removed"
  • "role_updated"
  • "tag_updated"

Context

AttributeTypeDescription
organizationOrganization SummaryOrganization that contains the member

Resource

AttributeTypeDescription
idstringUnique id of the resource
typestring ("OrganizationMember")Type of the resource (one of the API models)
dataOrganization MemberObject representing the resource content

Example

{
  "event": "workspace.organization.member",
  "action": "updated",
  "timestamp": 1572347818,
  "resource": {
    "type": "OrganizationMember",
    "data": {
      "user": {
        "id": "5d9caaecb4a3fa9bc9718686",
        "email": "[email protected]",
        "username": "zozo",
        "emotar": "🍎",
        "avatar": "http://placekitten.com/200/300",
        "last_seen": 1616739240
      },
      "role": "owner",
      "tags": [
        "developers"
      ],
      "restricted": false,
      "invited": 1517184000
    }
  },
  "context": {
    "organization_summary": {
      "id": "5d9caaecb4a3fa9b972f86ce",
      "name": "Acme, Inc.",
      "logo": "http://placekitten.com/200/300"
    }
  },
  "actor": {
    "user": {
      "id": "5d9caaecb4a3fa9bc9718686",
      "email": "[email protected]",
      "username": "zozo",
      "emotar": "🍎",
      "avatar": "http://placekitten.com/200/300",
      "last_seen": 1616739240
    }
  }
}