Integration .reconnect
POST /{namespace}/integrations/{integration}/reconnect
Reconnect re-approves an Integration in place, keeping its id and cursor, so nothing re-imports.
- Noun
- Integration
- Mode
do- Event
Integration.reconnected
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
integration | Integration | required | The Integration in needsReauth. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
connectUrl | url | required | The approval page; it expires in one hour. |
integration | Integration | required | The Integration, its id and cursor kept. |
Effects
- Emits
Integration.reconnected. - Two-way: it runs at once, in the
try,sendanddomodes. - Resumes the Actions that waited on it, oldest first.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Integration.reconnect |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |