Switch user accounts Run in API Explorer
Ask AI
POST
/api/v1/me/switch-account
curl \
--request POST 'https://api.plannrcrm.com/api/v1/me/switch-account' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"account_uuid":"b7a1af08-a07f-4b9b-985e-3cb23c355997","mobile_account_uuid":"05bee7b2-8ccd-4f3b-b254-f5d9a815c78b"}'
Request examples
{
"account_uuid": "b7a1af08-a07f-4b9b-985e-3cb23c355997",
"mobile_account_uuid": "05bee7b2-8ccd-4f3b-b254-f5d9a815c78b"
}
Response examples (200)
{
"uuid": "a73716e6-d341-48f4-82a7-3dfe17a4ee3d",
"created_at": "2026-04-29T16:54:30+01:00",
"updated_at": "2026-04-29T16:54:30+01:00",
"type": "standard",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"current_account": {
"uuid": "7194cb4a-9153-4faa-8f59-4f375d5cbec2",
"created_at": "2026-04-29T16:54:30+01:00",
"updated_at": "2026-04-29T16:54:30+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"firm": "App\\Http\\Resources\\FirmResource",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"primary_email": "App\\Http\\Resources\\ContactDetailResource",
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"assigned_adviser": "App\\Http\\Resources\\AccountResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"introduced_by": "App\\Http\\Resources\\AccountResource",
"business_unit": "App\\Http\\Resources\\BusinessUnitResource",
"groups": "App\\Http\\Resources\\GroupResource",
"tags": "App\\Http\\Resources\\TagResource",
"owners": "App\\Http\\Resources\\AccountResource",
"first_contact_date": "2026-04-29T16:54:30+01:00",
"next_review_date": "2026-04-29T16:54:30+01:00",
"previous_review_date": "2026-04-29T16:54:30+01:00",
"anniversary_review_date": "2026-04-29T16:54:30+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"joint_account_circle": "App\\Http\\Resources\\CircleResource",
"circles": "App\\Http\\Resources\\CircleResource",
"ownership_percentage": 100,
"inactive_at": "2026-04-29",
"last_interaction_at": "2026-04-29 16:54:30",
"referral_code": "ABC12345",
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
},
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"current_login": {
"uuid": "17026332-3053-4788-b823-d92a410411f6",
"created_at": "2026-04-29T16:54:30+01:00",
"updated_at": "2026-04-29T16:54:30+01:00",
"expires_at": "2026-08-07T16:54:30+01:00",
"has_write_permission": false,
"has_delete_permission": false,
"primary": false,
"receives_unread_notifications_email": true,
"wealth_enabled": true,
"goals_enabled": true,
"factfind_enabled": true,
"tasks_enabled": true,
"welcome_enabled": true,
"first_name": "Gareth",
"last_name": "Thompson",
"email": "gareth@plannrcrm.com",
"user_type": "standard",
"account": "App\\Http\\Resources\\AccountResource",
"firm": "App\\Http\\Resources\\FirmResource",
"is_impersonated": false
},
"two_factor_enabled": true,
"two_factor_type": "sms",
"otp_confirmed_at": "2026-04-29T16:54:30+01:00",
"otp_pending": false,
"sms_two_factor_enabled": true,
"two_factor_mobile": true,
"two_factor_mobile_meta": {
"country": "GB",
"formatted": "0333 090 3630"
},
"current_time_entry": {
"uuid": "4ba41e5e-50fe-4914-a898-d7c3292fc584",
"created_at": "2026-04-29T16:54:30+01:00",
"updated_at": "2026-04-29T16:54:30+01:00",
"name": "Research",
"description": "This is a description.",
"trackable_type": "Client",
"trackable": "App\\Http\\Resources\\MinimalAccountResource",
"start_date": "2026-04-29T16:04:30+01:00",
"end_date": "2026-04-29T16:32:30+01:00",
"is_active": true,
"total_time_in_minutes": 28,
"computed_time_elapsed_in_seconds": 1680,
"account": "App\\Http\\Resources\\MinimalAccountResource"
},
"session_expires_at": "2026-04-29T16:54:30+01:00",
"remember_token_expires_at": true,
"should_auto_save_notes": true
}