Skip to main content

Update an auth session for an entity to automatically retrieve their debt accounts.
⚠️ Caution: This endpoint is only accessible to entities that have the data:retrieve capability in available_capabilities.

Parameters


answers

object[]
A list of the answers for the auth session's security questions

Required


The ID of the security question.

Required


The ID of the selected answer corresponding to the security question.

Required


Returns


Returns an object with a list of additional security questions (if necessary, otherwise an empty list), and the authenticated field indicating whether or not the entity's identity was successfully verified.

PUT /entities/:entity_id/auth_session
curl https://production.methodfi.com/entities/ent_au22b1fbFJbp8/auth_session \
-X PUT \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
-H "Content-Type: application/json" \
-d '{
"answers": [
{
"question_id": "qtn_ywWqCnXDGGmmg",
"answer_id": "ans_74H68MJjqNhk8"
},
...
]
}'
RESPONSE
{
"questions": [],
"authenticated": true
}