v1

latestOpenAPI 3.1.02026-07-26261466.6 KB
Connect

Record consent

Records that the user authorized your platform to act on their behalf. Safe to retry — it's idempotent per user, so a repeat call updates the same record instead of creating a duplicate.

post/api/v2/connect/consent

Request body

user_idstring required

The user.id from /connect/verify.

terms_versionstring

Optional. The version of your terms the user accepted, stored for your audit trail.

Response

The consent record.

object'consent'
idstring
user_idstring
terms_versionstring nullable
created_atstring date-time