Choose which of your accounts an action should be performed on. This is particularly useful if you have multiple companies or services linked to your personal number. The endpoint returns an account ID required for subsequent API calls.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/account-selection curl -X GET "https://cloud.hostup.se/api/account-selection" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"pnr": "string",
"accounts": [
{
"id": "string",
"firstname": "string",
"lastname": "string",
"email": "string",
"_ticVerified": true,
"status": "string",
"loginAllowed": true,
"loginMatchType": "string"
}
]
}
}