# Configure data forwarding

How to configure data forwardings: endpoint URL, message types, auth, headers, scope, and activity state.

Audience: [Device manager](/help/by-role/device-manager/)

## Who is this for

Device managers who need to complete this workflow in iofrog.

## Outcome

You can define active forwardings with correct endpoint, payload scope, auth, headers, and device targeting.

## Before you start

- You are signed in.
- Correct group is selected.
- `READ` forwarding rights are available. Creating, editing, and deleting additionally require `INSERT`, `UPDATE`, and `DELETE`, respectively.

## Steps

1. Open Groups > Settings > Data forwarding tab.
2. Review forwarding status, scope, URL, and recent request result in the read-only table.
3. When creating or editing, configure forwarding basics:
   - Name,
   - Service type,
   - URL (supports {deviceId} placeholder),
   - Method (POST).
4. Select message types to forward:
   - Business data,
   - Sigfox data.
5. Optional: enable Basic authentication and fill username/password.
6. Define scope:
   - all devices toggle, or
   - restricted device selection,
   - Including subgroups toggle.
7. Add custom headers (name/value pairs).
8. Click Add/Update.
9. In the table, monitor:
   - active toggle,
   - last call timestamp,
   - success flag,
   - expanded request/result details.

## Practical checks

- Add/Update persists new forwarding in table.
- Active toggle changes state and persists.
- Last call and success indicators update after endpoint calls.
- Expanded detail row shows request/result payload summary.

## Common issues

- URL rejected: it must satisfy forwarding URL validation.
- Add/Update unavailable: the form is invalid or the corresponding `INSERT`/`UPDATE` permission is missing.
- Active toggle or Delete unavailable: the corresponding `UPDATE`/`DELETE` permission is missing.
- Auth errors on target endpoint: verify username/password.
- No calls visible: forwarding may be inactive or no matching message type emitted.

## Related use cases

- [Messages log tab](/help/groups-tabs-messages-log/)
- [Settings public channels tab](/help/groups-tabs-settings-public-channels/)

## Support handoff

If forwarding fails, include content_id, active group, forwarding name, URL, message type toggles, auth mode, and last request/result output.
