Resend Notification by ID
Use this endpoint to resend a specific notification by its id.
Available Environments
- Production
https://api.gateway.com.br/dispatcher
Endpoint
- Method:
POST - Endpoint:
/request/{id}/resend - Authentication: Bearer token
Path Params
| Name | Type | Required | Description | Validations |
|---|---|---|---|---|
id | string | Yes | Notification identifier | Must be a valid notification ID |
Request Example
- cURL
- JavaScript
curl --request POST \
--url https://api.gateway.com.br/dispatcher/request/553e8400-e29b-41d4-a716-446655440000/resend \
--header 'Authorization: Bearer your-jwt-token'
const response = await fetch('https://api.gateway.com.br/dispatcher/request/553e8400-e29b-41d4-a716-446655440000/resend', {
method: 'POST',
headers: {
'Authorization': 'Bearer your-jwt-token'
}
});
Success Response
| Code | Description |
|---|---|
201 Created | Notification resent successfully |
ℹ️ Response body
This endpoint returns 201 and has no response payload.
Possible Errors
| Code | Description | Solution |
|---|---|---|
| 400 | Invalid request | Check the id you sent |
| 401 | Invalid credentials | Check your token |
| 403 | No permission/authorization | Check the resend_dispatcher scope |
| 422 | Unprocessable entity | Review the data you sent |
| 500 | Internal error | Contact support |