Wait for code
wait_for_codeWait for the next email that contains a verification code or a magic link and return it. Long-polls up to timeout_seconds (1-55, default 30) and returns {message:null, timeout:true} if nothing arrives. Use this right after you submit the address on a signup form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only consider mail newer than this message id. Optional. | |
| read_token | No | The read_token returned by create_inbox (or send it as Authorization: Bearer). | |
| timeout_seconds | No | How long to wait for mail before giving up, in seconds (1-55). Default 30. |