Submit login step
POST/v1/bridges/{bridgeID}/login-sessions/{loginSessionID}/steps/{stepID}
Submit input for the current step of a bridge login session.
Path Parameters
Body ParametersJSON
Submit login step
curl http://localhost:23373/v1/bridges/$BRIDGE_ID/login-sessions/$LOGIN_SESSION_ID/steps/$STEP_ID \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $BEEPER_ACCESS_TOKEN" \
-d '{
"type": "user_input"
}'{
"bridgeID": "bridgeID",
"loginSessionID": "loginSessionID",
"status": "waiting_for_input",
"account": {
"accountID": "accountID",
"bridge": {
"id": "id",
"provider": "cloud",
"type": "type"
},
"status": "connected",
"user": {
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
},
"capabilities": {
"foo": "bar"
},
"loginID": "loginID",
"network": "network",
"statusText": "statusText"
},
"accountID": "accountID",
"currentStep": {
"fields": [
{
"id": "id",
"initialValue": "initialValue",
"label": "label",
"optional": true,
"placeholder": "placeholder",
"type": "type"
}
],
"stepID": "stepID",
"type": "user_input",
"attachments": [
{}
],
"instructions": "instructions"
},
"error": {
"code": "code",
"message": "message",
"details": {
"foo": "bar"
}
},
"login": {
"bridgeID": "bridgeID",
"loginID": "loginID",
"removeScopes": [
"current-device"
],
"status": "connected",
"accountIDs": [
"string"
],
"statusText": "statusText",
"user": {
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
},
"loginID": "loginID"
}Returns Examples
{
"bridgeID": "bridgeID",
"loginSessionID": "loginSessionID",
"status": "waiting_for_input",
"account": {
"accountID": "accountID",
"bridge": {
"id": "id",
"provider": "cloud",
"type": "type"
},
"status": "connected",
"user": {
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
},
"capabilities": {
"foo": "bar"
},
"loginID": "loginID",
"network": "network",
"statusText": "statusText"
},
"accountID": "accountID",
"currentStep": {
"fields": [
{
"id": "id",
"initialValue": "initialValue",
"label": "label",
"optional": true,
"placeholder": "placeholder",
"type": "type"
}
],
"stepID": "stepID",
"type": "user_input",
"attachments": [
{}
],
"instructions": "instructions"
},
"error": {
"code": "code",
"message": "message",
"details": {
"foo": "bar"
}
},
"login": {
"bridgeID": "bridgeID",
"loginID": "loginID",
"removeScopes": [
"current-device"
],
"status": "connected",
"accountIDs": [
"string"
],
"statusText": "statusText",
"user": {
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
},
"loginID": "loginID"
}