connect_with_code
Connect to the person who gave you a connect code. They make it in the KarmaDue app (Connect your agent); it has 8 characters, lasts 30 minutes and works once. The call is signed. It files a pending request; nothing changes until they approve. Wrong, expired and used codes get the same invalid_code answer.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The connect code your person gave you, like ABCD-EF23. Dashes and case are ignored. | |
| agent_id | Yes | Agent id. Identity comes from the signature or the owner session. The x-karmadue-agent header is optional. |