Dougs icon

Dougs

Record expenses, mileage allowances and invoices in Dougs

Actions8

Session → Verify Code

AI-generated

Summary

Verify the email login code using the pending session token from Request Code, then return the authenticated session token and its expiry time. Use this operation to complete Dougs email verification and save the returned token in the Dougs credentials.

Inputs

  • Pending Session Token (required) — Token returned by Request Code; defaults to the incoming item's sessionToken.
  • Code (required) — Verification code received by email.

Output shape

A single JSON object per input item, containing sessionToken and expiresAt.

The returned sessionToken is the verified session token. expiresAt is an ISO timestamp, or null if the SDK provides no expiry. Errors stop execution unless Continue On Fail is enabled, in which case that item returns an error field.

Links

Discussion