id
string
required

The unique identifier for this auth session.

objectType
string
required

The type of object. This value is always "auth_session".

Allowed value: "auth_session"
createdAt
string
required

The date and time when this auth session record was created.

endUserId
string
required

The ID of the end-user for whom to create an integration connection.

clientSecret
string
required

The secret used in authFlowUrl to securely access the authentication flow.

authFlowUrl
string
required

The URL of the authentication flow that you will pass to your client for your user to set up their integration connection.

expiresAt
string
required

The date and time when this auth session expires. By default, this value is 30 minutes from creation. You can extend this time by setting linkExpiryMins when creating the auth session.

redirectUrl
string | null
required

The URL to which Conductor will redirect your user to return to your app after they complete the authentication flow. If null, their browser tab will close instead.