> For the complete documentation index, see [llms.txt](https://docs.blazon.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blazon.im/desenvolvimento/webhook/payloads-dos-eventos.md). Agents can also search and read this documentation through its [MCP server](https://docs.blazon.im/~gitbook/mcp).

# Payloads dos eventos

Essa seção descreve exemplos dos payloads dos eventos disponíveis via webhook. Com base nesses payloads é possível configurar os filtros dos assinantes.

Todo payload de evento segue um padrão com 4 atributos:

1. **date**: data de envio do evento,
2. **identifier**: identificador UUID único de cada evento,
3. **type**: string que define o tipo do evento,
4. **data**: seção que carrega os dados específicos de cada evento.

## User created

| Evento                | User created             |
| --------------------- | ------------------------ |
| Type                  | `user.lifecycle.created` |
| Dados na seção "data" | user: Usuário criado     |

#### Exemplo de payload de "User created"

```json
{
    "date": "24/06/2026 16:20:08",
    "identifier": "3112ffd5-c0cd-49f0-b888-50314c92d4a4",
    "type": "user.lifecycle.created",
    "data": {
        "user": {
            "certifiable": true,
            "certificatedAt": "15/04/2026 15:31:50",
            "createdAt": "15/04/2026 15:31:50",
            "department": "Information Technology",
            "displayName": "João Carlos Silva",
            "expireAt": "31/12/2026 23:59:59",
            "firstName": "João",
            "id": 654003,
            "modifiedAt": "24/06/2026 15:04:00",
            "needChangePassword": false,
            "occupationCode": "ANL001",
            "occupationStructure": "Digital Transformation",
            "organization": "Corporate Services",
            "personalEmail": "joao.silva@empresa.com",
            "position": "Systems Analyst",
            "revalidatedAt": "15/04/2026 15:31:50",
            "risk": "LOW",
            "state": "ACTIVE",
            "username": "joao.silva@empresa.com"
        }
    }
}
```

## User updated

| Evento                | User updated                                                                          |
| --------------------- | ------------------------------------------------------------------------------------- |
| Type                  | `user.lifecycle.updated`                                                              |
| Dados na seção "data" | <p>previousUser: Usuário antes da atualização<br>user: Usuário após a atualização</p> |

#### Exemplo de payload de "User updated"

```json
{
    "date": "24/06/2026 16:20:08",
    "identifier": "3112ffd5-c0cd-49f0-b888-50314c92d4a4",
    "type": "user.lifecycle.updated",
    "data": {
        "previousUser": {
            "certifiable": true,
            "certificatedAt": "15/04/2026 15:31:50",
            "createdAt": "15/04/2026 15:31:50",
            "department": "Information Technology",
            "displayName": "João Carlos Silva",
            "expireAt": "31/12/2026 23:59:59",
            "firstName": "João",
            "id": 654003,
            "modifiedAt": "24/06/2026 15:04:00",
            "needChangePassword": false,
            "occupationCode": "ANL001",
            "occupationStructure": "Technology Operations",
            "organization": "Corporate Services",
            "personalEmail": "joao.silva@empresa.com",
            "position": "Systems Analyst",
            "revalidatedAt": "15/04/2026 15:31:50",
            "risk": "LOW",
            "state": "ACTIVE",
            "username": "joao.silva@empresa.com"
        },
        "user": {
            "certifiable": true,
            "certificatedAt": "15/04/2026 15:31:50",
            "createdAt": "15/04/2026 15:31:50",
            "department": "Information Technology",
            "displayName": "João Carlos Silva",
            "expireAt": "31/12/2026 23:59:59",
            "firstName": "João",
            "id": 654003,
            "modifiedAt": "24/06/2026 15:04:00",
            "needChangePassword": false,
            "occupationCode": "ANL001",
            "occupationStructure": "Digital Transformation",
            "organization": "Corporate Services",
            "personalEmail": "joao.silva@empresa.com",
            "position": "Systems Analyst",
            "revalidatedAt": "15/04/2026 15:31:50",
            "risk": "LOW",
            "state": "ACTIVE",
            "username": "joao.silva@empresa.com"
        }
    }
}
```

## User activated

| Evento                | User activated             |
| --------------------- | -------------------------- |
| Type                  | `user.lifecycle.activated` |
| Dados na seção "data" | user: Usuário ativado      |

#### Exemplo de payload de "User activated"

```json
{
    "date": "24/06/2026 16:20:08",
    "identifier": "3112ffd5-c0cd-49f0-b888-50314c92d4a4",
    "type": "user.lifecycle.activated",
    "data": {
        "user": {
            "certifiable": true,
            "certificatedAt": "15/04/2026 15:31:50",
            "createdAt": "15/04/2026 15:31:50",
            "department": "Information Technology",
            "displayName": "João Carlos Silva",
            "expireAt": "31/12/2026 23:59:59",
            "firstName": "João",
            "id": 654003,
            "modifiedAt": "24/06/2026 15:04:00",
            "needChangePassword": false,
            "occupationCode": "ANL001",
            "occupationStructure": "Digital Transformation",
            "organization": "Corporate Services",
            "personalEmail": "joao.silva@empresa.com",
            "position": "Systems Analyst",
            "revalidatedAt": "15/04/2026 15:31:50",
            "risk": "LOW",
            "state": "ACTIVE",
            "username": "joao.silva@empresa.com"
        }
    }
}
```

## User inactivated

| Evento                | User inactivated             |
| --------------------- | ---------------------------- |
| Type                  | `user.lifecycle.inactivated` |
| Dados na seção "data" | user: Usuário inativado      |

#### Exemplo de payload de "User inactivated"

```json
{
    "date": "24/06/2026 16:20:08",
    "identifier": "3112ffd5-c0cd-49f0-b888-50314c92d4a4",
    "type": "user.lifecycle.inactivated",
    "data": {
        "user": {
            "certifiable": true,
            "certificatedAt": "15/04/2026 15:31:50",
            "createdAt": "15/04/2026 15:31:50",
            "department": "Information Technology",
            "displayName": "João Carlos Silva",
            "expireAt": "31/12/2026 23:59:59",
            "firstName": "João",
            "id": 654003,
            "modifiedAt": "24/06/2026 15:04:00",
            "needChangePassword": false,
            "occupationCode": "ANL001",
            "occupationStructure": "Digital Transformation",
            "organization": "Corporate Services",
            "personalEmail": "joao.silva@empresa.com",
            "position": "Systems Analyst",
            "revalidatedAt": "15/04/2026 15:31:50",
            "risk": "LOW",
            "state": "ACTIVE",
            "username": "joao.silva@empresa.com"
        }
    }
}
```

## User revoked

| Evento                | User revoked             |
| --------------------- | ------------------------ |
| Type                  | `user.lifecycle.revoked` |
| Dados na seção "data" | user: Usuário revogado   |

#### Exemplo de payload de "User revoked"

```json
{
    "date": "24/06/2026 16:20:08",
    "identifier": "3112ffd5-c0cd-49f0-b888-50314c92d4a4",
    "type": "user.lifecycle.revoked",
    "data": {
        "user": {
            "certifiable": true,
            "certificatedAt": "15/04/2026 15:31:50",
            "createdAt": "15/04/2026 15:31:50",
            "department": "Information Technology",
            "displayName": "João Carlos Silva",
            "expireAt": "31/12/2026 23:59:59",
            "firstName": "João",
            "id": 654003,
            "modifiedAt": "24/06/2026 15:04:00",
            "needChangePassword": false,
            "occupationCode": "ANL001",
            "occupationStructure": "Digital Transformation",
            "organization": "Corporate Services",
            "personalEmail": "joao.silva@empresa.com",
            "position": "Systems Analyst",
            "revalidatedAt": "15/04/2026 15:31:50",
            "risk": "LOW",
            "state": "ACTIVE",
            "username": "joao.silva@empresa.com"
        }
    }
}
```

## User removed

| Evento                | User removed             |
| --------------------- | ------------------------ |
| Type                  | `user.lifecycle.removed` |
| Dados na seção "data" | user: Usuário removido   |

#### Exemplo de payload de "User removed"

```json
{
    "date": "24/06/2026 16:20:08",
    "identifier": "3112ffd5-c0cd-49f0-b888-50314c92d4a4",
    "type": "user.lifecycle.removed",
    "data": {
        "user": {
            "certifiable": true,
            "certificatedAt": "15/04/2026 15:31:50",
            "createdAt": "15/04/2026 15:31:50",
            "department": "Information Technology",
            "displayName": "João Carlos Silva",
            "expireAt": "31/12/2026 23:59:59",
            "firstName": "João",
            "id": 654003,
            "modifiedAt": "24/06/2026 15:04:00",
            "needChangePassword": false,
            "occupationCode": "ANL001",
            "occupationStructure": "Digital Transformation",
            "organization": "Corporate Services",
            "personalEmail": "joao.silva@empresa.com",
            "position": "Systems Analyst",
            "revalidatedAt": "15/04/2026 15:31:50",
            "risk": "LOW",
            "state": "ACTIVE",
            "username": "joao.silva@empresa.com"
        }
    }
}
```

## Role assigned

| Evento                | Role assigned                                                                                                             |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Type                  | `role.lifecycle.assigned`                                                                                                 |
| Dados na seção "data" | <p>role: Papel atribuído ao usuário<br>membership: Relação entre o usuário e o papel<br>user: Usuário membro do papel</p> |

#### Exemplo de payload de "Role assigned"

```json
{
    "identifier": "7c8e6d2b-4f91-4c8b-9d5a-1f2e3a4b5c6d",
    "date": "25/06/2026 16:49:30",
    "type": "role.lifecycle.assigned",
    "data": {
        "role": {
            "createdAt": "21/03/2025 16:05:06",
            "cosoCategory": "RECORD",
            "name": "Administrador de Aplicações",
            "description": "Perfil responsável pela administração das aplicações corporativas.",
            "risk": "LOW",
            "id": 634010,
            "state": "ACTIVE",
            "certifiable": true
        },
        "membership": {
            "createdAt": "25/06/2026 16:48:40",
            "risk": "LOW",
            "id": 654008,
            "certifiable": true,
            "userId": 126981,
            "roleId": 634010
        },
        "user": {
            "needChangePassword": false,
            "revalidatedAt": "15/01/2024 17:21:01",
            "lastName": "SILVA",
            "displayName": "JOÃO CARLOS SILVA",
            "modifiedAt": "07/11/2023 17:12:10",
            "inactivatedAt": null,
            "personalEmail": "joao.silva@example.com",
            "createdAt": "13/08/2019 01:33:13",
            "firstName": "JOÃO",
            "certificatedAt": "14/11/2023 08:27:28",
            "lastPasswordModificationDate": "20/06/2024 10:00:00",
            "middleName": "CARLOS",
            "risk": "MEDIUM",
            "id": 126981,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresa.com",
            "username": "joao.silva"
        }
    }
}
```

## Role revoked

| Evento                | Role revoked                                                                                                                     |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Type                  | `role.lifecycle.revoked`                                                                                                         |
| Dados na seção "data" | <p>role: Papel revogado do usuário<br>membership: Relação entre o usuário e o papel<br>user: Usuário cujo papel foi revogado</p> |

#### Exemplo de payload de "Role revoked"

```json
{
    "identifier": "7c8e6d2b-4f91-4c8b-9d5a-1f2e3a4b5c6d",
    "date": "25/06/2026 16:49:30",
    "type": "role.lifecycle.revoked",
    "data": {
        "role": {
            "createdAt": "21/03/2025 16:05:06",
            "cosoCategory": "RECORD",
            "name": "Administrador de Aplicações",
            "description": "Perfil responsável pela administração das aplicações corporativas.",
            "risk": "LOW",
            "id": 634010,
            "state": "ACTIVE",
            "certifiable": true
        },
        "membership": {
            "createdAt": "25/06/2026 16:48:40",
            "risk": "LOW",
            "id": 654008,
            "certifiable": true,
            "userId": 126981,
            "roleId": 634010
        },
        "user": {
            "needChangePassword": false,
            "revalidatedAt": "15/01/2024 17:21:01",
            "lastName": "SILVA",
            "displayName": "JOÃO CARLOS SILVA",
            "modifiedAt": "07/11/2023 17:12:10",
            "inactivatedAt": null,
            "personalEmail": "joao.silva@example.com",
            "createdAt": "13/08/2019 01:33:13",
            "firstName": "JOÃO",
            "certificatedAt": "14/11/2023 08:27:28",
            "lastPasswordModificationDate": "20/06/2024 10:00:00",
            "middleName": "CARLOS",
            "risk": "MEDIUM",
            "id": 126981,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresa.com",
            "username": "joao.silva"
        }
    }
}
```

## Account created

| Evento                | Account created                                                                       |
| --------------------- | ------------------------------------------------------------------------------------- |
| Type                  | `account.lifecycle.created`                                                           |
| Dados na seção "data" | <p>owner: Usuário da conta<br>resource: Recurso da conta<br>account: Conta criada</p> |

#### Exemplo de payload de "Account created"

```json
{
    "identifier": "b2a84f91-8f7e-4d1f-a6c5-9e3b72f4d8a1",
    "date": "25/06/2026 17:57:00",
    "type": "account.lifecycle.created",
    "data": {
        "owner": {
            "needChangePassword": false,
            "revalidatedAt": "15/01/2024 17:21:01",
            "lastName": "SILVA",
            "displayName": "JOÃO CARLOS SILVA",
            "modifiedAt": "07/11/2023 17:15:02",
            "inactivatedAt": null,
            "personalEmail": "joao.silva@example.com",
            "createdAt": "12/08/2019 23:23:04",
            "firstName": "JOÃO",
            "certificatedAt": "14/11/2023 08:27:28",
            "lastPasswordModificationDate": "20/06/2024 10:00:00",
            "middleName": "CARLOS",
            "risk": "MEDIUM",
            "id": 125723,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresa.com",
            "username": "joao.silva"
        },
        "resource": {
            "externalReference": "https://erp.example.com",
            "createdAt": "18/04/2024 14:50:37",
            "environment": "Production",
            "provisioningEnabled": true,
            "name": "ERP Corporativo",
            "risk": "LOW",
            "id": 180,
            "category": "Business Application",
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "type": "REGULAR",
            "privilegedType": "Undefined",
            "userId": 125723,
            "createdAt": "25/06/2026 17:56:40",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 653734,
                "type": "MANUAL",
                "objectIds": []
            },
            "provisioningStatus": "WAITING_PROVISIONING",
            "risk": "LOW",
            "id": 654009,
            "state": "ACTIVE"
        }
    }
}
```

## Account updated

| Evento                | Account updated                                                                           |
| --------------------- | ----------------------------------------------------------------------------------------- |
| Type                  | `account.lifecycle.updated`                                                               |
| Dados na seção "data" | <p>owner: Usuário da conta<br>resource: Recurso da conta<br>account: Conta atualizada</p> |

#### Exemplo de payload de "Account updated"

```json
{
    "identifier": "b2a84f91-8f7e-4d1f-a6c5-9e3b72f4d8a1",
    "date": "25/06/2026 17:57:00",
    "type": "account.lifecycle.updated",
    "data": {
        "owner": {
            "needChangePassword": false,
            "revalidatedAt": "15/01/2024 17:21:01",
            "lastName": "SILVA",
            "displayName": "JOÃO CARLOS SILVA",
            "modifiedAt": "07/11/2023 17:15:02",
            "inactivatedAt": null,
            "personalEmail": "joao.silva@example.com",
            "createdAt": "12/08/2019 23:23:04",
            "firstName": "JOÃO",
            "certificatedAt": "14/11/2023 08:27:28",
            "lastPasswordModificationDate": "20/06/2024 10:00:00",
            "middleName": "CARLOS",
            "risk": "MEDIUM",
            "id": 125723,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresa.com",
            "username": "joao.silva"
        },
        "resource": {
            "externalReference": "https://erp.example.com",
            "createdAt": "18/04/2024 14:50:37",
            "environment": "Production",
            "provisioningEnabled": true,
            "name": "ERP Corporativo",
            "risk": "LOW",
            "id": 180,
            "category": "Business Application",
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "type": "REGULAR",
            "privilegedType": "Undefined",
            "userId": 125723,
            "createdAt": "25/06/2026 17:56:40",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 653734,
                "type": "MANUAL",
                "objectIds": []
            },
            "provisioningStatus": "WAITING_PROVISIONING",
            "risk": "LOW",
            "id": 654009,
            "state": "ACTIVE"
        }
    }
}
```

## Account activated

| Evento                | Account activated                                                                      |
| --------------------- | -------------------------------------------------------------------------------------- |
| Type                  | `account.lifecycle.activated`                                                          |
| Dados na seção "data" | <p>owner: Usuário da conta<br>resource: Recurso da conta<br>account: Conta ativada</p> |

#### Exemplo de payload de "Account activated"

```json
{
    "identifier": "b2a84f91-8f7e-4d1f-a6c5-9e3b72f4d8a1",
    "date": "25/06/2026 17:57:00",
    "type": "account.lifecycle.activated",
    "data": {
        "owner": {
            "needChangePassword": false,
            "revalidatedAt": "15/01/2024 17:21:01",
            "lastName": "SILVA",
            "displayName": "JOÃO CARLOS SILVA",
            "modifiedAt": "07/11/2023 17:15:02",
            "inactivatedAt": null,
            "personalEmail": "joao.silva@example.com",
            "createdAt": "12/08/2019 23:23:04",
            "firstName": "JOÃO",
            "certificatedAt": "14/11/2023 08:27:28",
            "lastPasswordModificationDate": "20/06/2024 10:00:00",
            "middleName": "CARLOS",
            "risk": "MEDIUM",
            "id": 125723,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresa.com",
            "username": "joao.silva"
        },
        "resource": {
            "externalReference": "https://erp.example.com",
            "createdAt": "18/04/2024 14:50:37",
            "environment": "Production",
            "provisioningEnabled": true,
            "name": "ERP Corporativo",
            "risk": "LOW",
            "id": 180,
            "category": "Business Application",
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "type": "REGULAR",
            "privilegedType": "Undefined",
            "userId": 125723,
            "createdAt": "25/06/2026 17:56:40",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 653734,
                "type": "MANUAL",
                "objectIds": []
            },
            "provisioningStatus": "WAITING_PROVISIONING",
            "risk": "LOW",
            "id": 654009,
            "state": "ACTIVE"
        }
    }
}
```

## Account inactivated

| Evento                | Account inactivated                                                                      |
| --------------------- | ---------------------------------------------------------------------------------------- |
| Type                  | `account.lifecycle.inactivated`                                                          |
| Dados na seção "data" | <p>owner: Usuário da conta<br>resource: Recurso da conta<br>account: Conta inativada</p> |

#### Exemplo de payload de "Account inactivated"

```json
{
    "identifier": "b2a84f91-8f7e-4d1f-a6c5-9e3b72f4d8a1",
    "date": "25/06/2026 17:57:00",
    "type": "account.lifecycle.inactivated",
    "data": {
        "owner": {
            "needChangePassword": false,
            "revalidatedAt": "15/01/2024 17:21:01",
            "lastName": "SILVA",
            "displayName": "JOÃO CARLOS SILVA",
            "modifiedAt": "07/11/2023 17:15:02",
            "inactivatedAt": "07/11/2023 17:15:02",
            "personalEmail": "joao.silva@example.com",
            "createdAt": "12/08/2019 23:23:04",
            "firstName": "JOÃO",
            "certificatedAt": "14/11/2023 08:27:28",
            "lastPasswordModificationDate": "20/06/2024 10:00:00",
            "middleName": "CARLOS",
            "risk": "MEDIUM",
            "id": 125723,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresa.com",
            "username": "joao.silva"
        },
        "resource": {
            "externalReference": "https://erp.example.com",
            "createdAt": "18/04/2024 14:50:37",
            "environment": "Production",
            "provisioningEnabled": true,
            "name": "ERP Corporativo",
            "risk": "LOW",
            "id": 180,
            "category": "Business Application",
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "type": "REGULAR",
            "privilegedType": "Undefined",
            "userId": 125723,
            "createdAt": "25/06/2026 17:56:40",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 653734,
                "type": "MANUAL",
                "objectIds": []
            },
            "provisioningStatus": "WAITING_PROVISIONING",
            "risk": "LOW",
            "id": 654009,
            "state": "ACTIVE"
        }
    }
}
```

## Account revoked

| Evento                | Account revoked                                                                         |
| --------------------- | --------------------------------------------------------------------------------------- |
| Type                  | `account.lifecycle.revoked`                                                             |
| Dados na seção "data" | <p>owner: Usuário da conta<br>resource: Recurso da conta<br>account: Conta revogada</p> |

#### Exemplo de payload de "Account revoked"

```json
{
    "identifier": "a06b4e54-bb20-43a3-8352-d625f83a928a",
    "date": "13/10/2025 21:22:12",
    "type": "account.lifecycle.revoked",
    "data": {
        "owner": {
            "needChangePassword": false,
            "revalidatedAt": "15/07/2026 08:30:00",
            "lastName": "Silva",
            "displayName": "João Carlos Silva",
            "modifiedAt": "15/07/2026 16:35:18",
            "inactivatedAt": null,
            "personalEmail": "joao.silva@example.com",
            "createdAt": "10/01/2025 09:15:42",
            "firstName": "João",
            "certificatedAt": "20/02/2026 11:00:00",
            "lastPasswordModificationDate": "10/07/2026 14:20:18",
            "middleName": "Carlos",
            "risk": "LOW",
            "id": 256937,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresaexemplo.com",
            "username": "joao.silva"
        },
        "resource": {
            "externalReference": "https://erp.empresaexemplo.com",
            "createdAt": "18/02/2026 09:30:15",
            "environment": "Production",
            "provisioningEnabled": true,
            "name": "ERP Financeiro",
            "risk": "HIGH",
            "id": 180,
            "category": "Enterprise Application",
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "accountIdentifier": "ERP-JSILVA-0001",
            "type": "REGULAR",
            "privilegedType": "STANDARD",
            "userId": 256937,
            "createdAt": "15/07/2026 16:35:18",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 653760,
                "type": "AUTOMATIC",
                "objectIds": []
            },
            "provisioningStatus": "PROVISIONED",
            "risk": "LOW",
            "id": 654048,
            "state": "ACTIVE"
        }
    }
}
```

## Account removed

| Evento                | Account removed                                                                         |
| --------------------- | --------------------------------------------------------------------------------------- |
| Type                  | `account.lifecycle.removed`                                                             |
| Dados na seção "data" | <p>owner: Usuário da conta<br>resource: Recurso da conta<br>account: Conta removida</p> |

#### Exemplo de payload de "Account removed"

```json
{
    "identifier": "a5d05959-cb07-4033-8de3-e47759c39022",
    "date": "04/11/2024 07:15:52",
    "type": "account.lifecycle.removed",
    "data": {
        "owner": {
            "needChangePassword": false,
            "revalidatedAt": "15/07/2026 08:30:00",
            "lastName": "Silva",
            "displayName": "João Carlos Silva",
            "modifiedAt": "15/07/2026 16:35:18",
            "inactivatedAt": null,
            "personalEmail": "joao.silva@example.com",
            "createdAt": "10/01/2025 09:15:42",
            "firstName": "João",
            "certificatedAt": "20/02/2026 11:00:00",
            "lastPasswordModificationDate": "10/07/2026 14:20:18",
            "middleName": "Carlos",
            "risk": "LOW",
            "id": 256937,
            "state": "ACTIVE",
            "certifiable": true,
            "email": "joao.silva@empresaexemplo.com",
            "username": "joao.silva"
        },
        "resource": {
            "externalReference": "https://erp.empresaexemplo.com",
            "createdAt": "18/02/2026 09:30:15",
            "environment": "Production",
            "provisioningEnabled": true,
            "name": "ERP Financeiro",
            "risk": "HIGH",
            "id": 180,
            "category": "Enterprise Application",
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "accountIdentifier": "ERP-JSILVA-0001",
            "type": "REGULAR",
            "privilegedType": "STANDARD",
            "userId": 256937,
            "createdAt": "15/07/2026 16:35:18",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 653760,
                "type": "AUTOMATIC",
                "objectIds": []
            },
            "provisioningStatus": "PROVISIONED",
            "risk": "LOW",
            "id": 654048,
            "state": "ACTIVE"
        }
    }
}
```

## Entitlement assigned

| Evento                | Entitlement assigned                                                                                                          |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Type                  | `entitlement.lifecycle.assigned`                                                                                              |
| Dados na seção "data" | <p>entitlement: Direito atribuído<br>membership: Relação entre a conta e o direito<br>account: Conta que recebe o direito</p> |

#### Exemplo de payload de "Entitlement assigned"

```json
{
    "identifier": "9f1c2316-09db-4378-af20-279bb43ac066",
    "date": "08/09/2025 14:32:18",
    "type": "entitlement.lifecycle.assigned",
    "data": {
        "entitlement": {
            "createdAt": "18/02/2026 09:45:12",
            "resourceId": 180,
            "cosoCategory": "APPLICATION",
            "provisioningStatus": "PROVISIONED",
            "name": "FINANCE_APPROVER",
            "description": "Permite aprovar solicitações e transações financeiras no ERP.",
            "risk": "HIGH",
            "dn": "CN=FINANCE_APPROVER,OU=ERP,DC=empresaexemplo,DC=com",
            "id": 632636,
            "state": "ACTIVE",
            "certifiable": true
        },
        "membership": {
            "accountId": 632635,
            "createdAt": "15/07/2026 16:42:10",
            "provisioningStatus": "PROVISIONED",
            "entitlementId": 632636,
            "risk": "HIGH",
            "id": 654056,
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "accountIdentifier": "ERP-JSILVA-0001",
            "type": "REGULAR",
            "privilegedType": "STANDARD",
            "userId": 256937,
            "createdAt": "15/07/2026 16:35:18",
            "certificatedAt": "15/07/2026 16:35:18",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 632412,
                "type": "AUTOMATIC",
                "objectIds": []
            },
            "provisioningStatus": "PROVISIONED",
            "risk": "LOW",
            "id": 632635,
            "state": "ACTIVE"
        }
    }
}
```

## Entitlement revoked

| Evento                | Entitlement revoked                                                                                                                 |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Type                  | `entitlement.lifecycle.revoked`                                                                                                     |
| Dados na seção "data" | <p>entitlement: Direito revogado<br>membership: Relação entre a conta e o direito<br>account: Conta que teve o direito revogado</p> |

#### Exemplo de payload de "Entitlement revoked"

```json
{
    "identifier": "9f1c2316-09db-4378-af20-279bb43ac066",
    "date": "08/09/2025 14:32:18",
    "type": "entitlement.lifecycle.revoked",
    "data": {
        "entitlement": {
            "createdAt": "18/02/2026 09:45:12",
            "resourceId": 180,
            "cosoCategory": "APPLICATION",
            "provisioningStatus": "PROVISIONED",
            "name": "FINANCE_APPROVER",
            "description": "Permite aprovar solicitações e transações financeiras no ERP.",
            "risk": "HIGH",
            "dn": "CN=FINANCE_APPROVER,OU=ERP,DC=empresaexemplo,DC=com",
            "id": 632636,
            "state": "ACTIVE",
            "certifiable": true
        },
        "membership": {
            "accountId": 632635,
            "createdAt": "15/07/2026 16:42:10",
            "provisioningStatus": "PROVISIONED",
            "entitlementId": 632636,
            "risk": "HIGH",
            "id": 654056,
            "certifiable": true
        },
        "account": {
            "resourceId": 180,
            "isOrphan": false,
            "accountIdentifier": "ERP-JSILVA-0001",
            "type": "REGULAR",
            "privilegedType": "STANDARD",
            "userId": 256937,
            "createdAt": "15/07/2026 16:35:18",
            "certificatedAt": "15/07/2026 16:35:18",
            "visibleToSelfService": true,
            "managedBy": {
                "id": 632412,
                "type": "AUTOMATIC",
                "objectIds": []
            },
            "provisioningStatus": "PROVISIONED",
            "risk": "LOW",
            "id": 632635,
            "state": "ACTIVE"
        }
    }
}
```

## Task assigned to user

| Evento                | Task assigned to user                                                                                         |
| --------------------- | ------------------------------------------------------------------------------------------------------------- |
| Type                  | `task.lifecycle.assigned`                                                                                     |
| Dados na seção "data" | <p>task: Tarefa atribuída<br>assignedType: Tipo da atribuição (USER)<br>user: Usuário que recebe a tarefa</p> |

#### Exemplo de payload de "Task assigned to user"

```json
{
    "identifier": "7d8e1f42-8b31-4c83-98b7-2c4e8c6d9f15",
    "date": "15/07/2026 16:50:12",
    "type": "task.lifecycle.assigned",
    "data": {
        "task": {
            "requester": {
                "displayName": "João Carlos Silva",
                "directoryIdentifier": 256937,
                "username": "joao.silva"
            },
            "definitionName": "Account Provisioning Approval",
            "createdByObjectId": "20260710",
            "priority": "MEDIUM",
            "type": "CREATE_ACCOUNT",
            "createdAt": "15/07/2026 16:50:12",
            "createdBy": "REQUEST",
            "recipient": {
                "displayName": "Maria Fernanda Oliveira",
                "directoryIdentifier": 100245,
                "username": "maria.oliveira"
            },
            "id": 46422,
            "category": "APPROVAL_TASK",
            "deadline": "2026-07-18 16:50:12.0",
            "definitionId": 10,
            "status": "TODO"
        },
        "assignedType": "USER",
        "user": {
            "lastName": "Oliveira",
            "displayName": "Maria Fernanda Oliveira",
            "modifiedAt": "15/07/2026 09:20:45",
            "personalEmail": "maria.oliveira@example.com",
            "createdAt": "08/03/2021 08:15:30",
            "certificatedAt": "20/02/2026 11:00:00",
            "responsible": "Ricardo Almeida",
            "lastPasswordModificationDate": "10/07/2026 14:18:52",
            "occupationStructure": "MANAGEMENT",
            "id": 100245,
            "state": "ACTIVE",
            "department": "Governança de Identidades",
            "email": "maria.oliveira@empresaexemplo.com",
            "needChangePassword": false,
            "revalidatedAt": "15/07/2026 08:30:00",
            "costCenter": "CC-510",
            "lastAccess": "15/07/2026 16:32:41",
            "expireAt": "31/12/2030 23:59:59",
            "birthDate": "12/08/1988 00:00:00",
            "firstName": "Maria",
            "primaryPhone": "+55 34 3232-4567",
            "mobilePhone": "+55 34 99988-7766",
            "occupationCode": "IAM-MANAGER",
            "organization": "Empresa Exemplo S.A.",
            "middleName": "Fernanda",
            "risk": "LOW",
            "position": "Identity Governance Manager",
            "certifiable": true,
            "username": "maria.oliveira"
        }
    }
}
```

## Task assigned to queue

| Evento                | Task assigned to queue                                                                                       |
| --------------------- | ------------------------------------------------------------------------------------------------------------ |
| Type                  | `task.lifecycle.assigned`                                                                                    |
| Dados na seção "data" | <p>task: Tarefa atribuída<br>assignedType: Tipo da atribuição (QUEUE)<br>queue: Fila que recebe a tarefa</p> |

#### Exemplo de payload de "Task assigned to queue"

```json
{
    "identifier": "c8f93d5a-6b81-4e9b-a3f4-4d2d91f6b7e2",
    "date": "06/12/2025 17:05:30",
    "type": "task.lifecycle.assigned",
    "data": {
        "task": {
            "requester": {
                "displayName": "João Carlos Silva",
                "directoryIdentifier": 256937,
                "username": "joao.silva"
            },
            "definitionName": "Account Provisioning Approval",
            "createdByObjectId": "20260712",
            "priority": "HIGH",
            "type": "CREATE_ACCOUNT",
            "createdAt": "15/07/2026 17:05:30",
            "currentQueueName": "Identity Provisioning",
            "createdBy": "REQUEST",
            "currentQueueId": 38,
            "id": 46422,
            "category": "APPROVAL_TASK",
            "deadline": "18/07/2026 17:05:30",
            "definitionId": 10,
            "status": "WAITING_ASSIGN"
        },
        "assignedType": "QUEUE",
        "queue": {
            "name": "Identity Provisioning",
            "createdAt": "18/02/2026 09:00:00",
            "description": "Fila responsável pelo provisionamento e tratamento de solicitações de acesso.",
            "id": 38
        }
    }
}
```

## Task resolved

| Evento                | Task resolved             |
| --------------------- | ------------------------- |
| Type                  | `task.lifecycle.resolved` |
| Dados na seção "data" | task: Tarefa resolvida    |

#### Exemplo de payload de "Task resolved"

```json
{
    "identifier": "5e7d8f12-91ab-4f0a-bc7d-3e9f4d2a6c81",
    "date": "15/07/2026 17:42:18",
    "type": "task.lifecycle.resolved",
    "data": {
        "task": {
            "requester": {
                "displayName": "João Carlos Silva",
                "directoryIdentifier": 256937,
                "username": "joao.silva"
            },
            "definitionName": "Account Provisioning Approval",
            "resolvedAt": "15/07/2026 17:42:18",
            "createdByObjectId": "20260718",
            "priority": "MEDIUM",
            "type": "CREATE_ACCOUNT",
            "createdAt": "15/07/2026 16:50:12",
            "createdBy": "REQUEST",
            "recipient": {
                "displayName": "Maria Fernanda Oliveira",
                "directoryIdentifier": 100245,
                "username": "maria.oliveira"
            },
            "id": 46425,
            "category": "APPROVAL_TASK",
            "deadline": "18/07/2026 16:50:12",
            "definitionId": 10,
            "status": "DONE"
        }
    }
}
```

```json
{
    "identifier": "7d8e1f42-8b31-4c83-98b7-2c4e8c6d9f15",
    "date": "15/07/2026 16:50:12",
    "type": "task.lifecycle.assigned",
    "data": {
        "task": {
            "requester": {
                "displayName": "João Carlos Silva",
                "directoryIdentifier": 256937,
                "username": "joao.silva"
            },
            "definitionName": "Account Provisioning Approval",
            "createdByObjectId": "20260710",
            "priority": "MEDIUM",
            "type": "CREATE_ACCOUNT",
            "createdAt": "15/07/2026 16:50:12",
            "createdBy": "REQUEST",
            "recipient": {
                "displayName": "Maria Fernanda Oliveira",
                "directoryIdentifier": 100245,
                "username": "maria.oliveira"
            },
            "id": 46422,
            "category": "APPROVAL_TASK",
            "deadline": "2026-07-18 16:50:12.0",
            "definitionId": 10,
            "status": "TODO"
        },
        "assignedType": "USER",
        "user": {
            "lastName": "Oliveira",
            "displayName": "Maria Fernanda Oliveira",
            "modifiedAt": "15/07/2026 09:20:45",
            "personalEmail": "maria.oliveira@example.com",
            "createdAt": "08/03/2021 08:15:30",
            "certificatedAt": "20/02/2026 11:00:00",
            "responsible": "Ricardo Almeida",
            "lastPasswordModificationDate": "10/07/2026 14:18:52",
            "occupationStructure": "MANAGEMENT",
            "id": 100245,
            "state": "ACTIVE",
            "department": "Governança de Identidades",
            "email": "maria.oliveira@empresaexemplo.com",
            "needChangePassword": false,
            "revalidatedAt": "15/07/2026 08:30:00",
            "costCenter": "CC-510",
            "lastAccess": "15/07/2026 16:32:41",
            "expireAt": "31/12/2030 23:59:59",
            "birthDate": "12/08/1988 00:00:00",
            "firstName": "Maria",
            "primaryPhone": "+55 34 3232-4567",
            "mobilePhone": "+55 34 99988-7766",
            "occupationCode": "IAM-MANAGER",
            "organization": "Empresa Exemplo S.A.",
            "middleName": "Fernanda",
            "risk": "LOW",
            "position": "Identity Governance Manager",
            "certifiable": true,
            "username": "maria.oliveira"
        }
    }
}
```

## Task assigned to queue

| Evento                | Task assigned to queue                                                                                       |
| --------------------- | ------------------------------------------------------------------------------------------------------------ |
| Type                  | `task.lifecycle.assigned`                                                                                    |
| Dados na seção "data" | <p>task: Tarefa atribuída<br>assignedType: Tipo da atribuição (QUEUE)<br>queue: Fila que recebe a tarefa</p> |

#### Exemplo de payload de "Task assigned to queue"

```json
{
    "identifier": "c8f93d5a-6b81-4e9b-a3f4-4d2d91f6b7e2",
    "date": "06/12/2025 17:05:30",
    "type": "task.lifecycle.assigned",
    "data": {
        "task": {
            "requester": {
                "displayName": "João Carlos Silva",
                "directoryIdentifier": 256937,
                "username": "joao.silva"
            },
            "definitionName": "Account Provisioning Approval",
            "createdByObjectId": "20260712",
            "priority": "HIGH",
            "type": "CREATE_ACCOUNT",
            "createdAt": "15/07/2026 17:05:30",
            "currentQueueName": "Identity Provisioning",
            "createdBy": "REQUEST",
            "currentQueueId": 38,
            "id": 46422,
            "category": "APPROVAL_TASK",
            "deadline": "18/07/2026 17:05:30",
            "definitionId": 10,
            "status": "WAITING_ASSIGN"
        },
        "assignedType": "QUEUE",
        "queue": {
            "name": "Identity Provisioning",
            "createdAt": "18/02/2026 09:00:00",
            "description": "Fila responsável pelo provisionamento e tratamento de solicitações de acesso.",
            "id": 38
        }
    }
}
```

## Task resolved

| Evento                | Task resolved             |
| --------------------- | ------------------------- |
| Type                  | `task.lifecycle.resolved` |
| Dados na seção "data" | task: Tarefa resolvida    |

#### Exemplo de payload de "Task resolved"

```json
{
    "identifier": "5e7d8f12-91ab-4f0a-bc7d-3e9f4d2a6c81",
    "date": "15/07/2026 17:42:18",
    "type": "task.lifecycle.resolved",
    "data": {
        "task": {
            "requester": {
                "displayName": "João Carlos Silva",
                "directoryIdentifier": 256937,
                "username": "joao.silva"
            },
            "definitionName": "Account Provisioning Approval",
            "resolvedAt": "15/07/2026 17:42:18",
            "createdByObjectId": "20260718",
            "priority": "MEDIUM",
            "type": "CREATE_ACCOUNT",
            "createdAt": "15/07/2026 16:50:12",
            "createdBy": "REQUEST",
            "recipient": {
                "displayName": "Maria Fernanda Oliveira",
                "directoryIdentifier": 100245,
                "username": "maria.oliveira"
            },
            "id": 46425,
            "category": "APPROVAL_TASK",
            "deadline": "18/07/2026 16:50:12",
            "definitionId": 10,
            "status": "DONE"
        }
    }
}
```

## Task created

| Evento                | Task created             |
| --------------------- | ------------------------ |
| Type                  | `task.lifecycle.created` |
| Dados na seção "data" | task: Tarefa criada      |

#### Exemplo de payload de "Task created"

```json
{
    "identifier": "2f4d7b8e-3a9c-4f15-8d72-5b6e91c4a8f3",
    "date": "22/12/2025 19:48:22",
    "type": "task.lifecycle.created",
    "data": {
        "task": {
            "requester": {
                "displayName": "João Carlos Silva",
                "directoryIdentifier": 256937,
                "username": "joao.silva"
            },
            "createdAt": "15/07/2026 16:48:30",
            "definitionName": "Account Provisioning Approval",
            "createdBy": "REQUEST",
            "createdByObjectId": "20260715",
            "id": 46425,
            "category": "APPROVAL_TASK",
            "deadline": "18/07/2026 16:48:30",
            "priority": "MEDIUM",
            "type": "CREATE_ACCOUNT",
            "definitionId": 10,
            "status": "WAITING_ASSIGN"
        }
    }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blazon.im/desenvolvimento/webhook/payloads-dos-eventos.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
