Headers
-
Content-Type string
-
Accept string
Body
-
email string
The new email the user wants to change to.
-
current_password string
Current password of the account
-
password string
New password chosen
-
password_confirmation string
Confirmation of the new password, it must be the same value as passwor
-
should_auto_save_notes boolean
Denotes if the user wants to use the auto-save notes feature. Can reduce browser performance on low-powered machines.
PUT
/api/v1/me
curl \
--request PUT https://api.plannrcrm.com/api/v1/me \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"email":"example@email.com","current_password":"kI4esnkFKH","password":"_24AtOn^hjs45I_","password_confirmation":"_24AtOn^hjs45I_","should_auto_save_notes":true}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"email": "example@email.com",
"current_password": "kI4esnkFKH",
"password": "_24AtOn^hjs45I_",
"password_confirmation": "_24AtOn^hjs45I_",
"should_auto_save_notes": true
}
Response examples (200)
{
"name": "Gareth Thompson",
"type": "standard",
"uuid": "32eff28c-ba47-4954-8e80-8962fa42424a",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-02-20T10:12:59+00:00",
"first_name": "Gareth",
"updated_at": "2025-02-20T10:12:59+00:00",
"otp_pending": false,
"current_login": {
"firm": "App\\Http\\Resources\\FirmResource",
"uuid": "011ec672-a9c5-4475-b4cc-cad89d30a4f5",
"email": "gareth@plannrcrm.com",
"account": "App\\Http\\Resources\\AccountResource",
"primary": false,
"last_name": "Thompson",
"created_at": "2025-02-20T10:12:59+00:00",
"expires_at": "2025-05-31T10:12:59+01:00",
"first_name": "Gareth",
"updated_at": "2025-02-20T10:12:59+00:00",
"goals_enabled": true,
"tasks_enabled": true,
"wealth_enabled": true,
"is_impersonated": false,
"welcome_enabled": true,
"factfind_enabled": true,
"has_write_permission": false,
"has_delete_permission": false,
"receives_unread_notifications_email": true
},
"current_account": {
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Gareth Thompson",
"role": "client",
"tags": "App\\Http\\Resources\\TagResource",
"type": "client",
"uuid": "f3b5fc7d-aa8f-4653-a7f5-db0ebbbf45a0",
"email": "gareth@codepotato.co.uk",
"groups": "App\\Http\\Resources\\GroupResource",
"owners": "App\\Http\\Resources\\AccountResource",
"last_name": "Thompson",
"created_at": "2025-02-20T10:12:59+00:00",
"first_name": "Gareth",
"updated_at": "2025-02-20T10:12:59+00:00",
"with_login": true,
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"introduced_by": "App\\Http\\Resources\\AccountResource",
"primary_email": "App\\Http\\Resources\\ContactDetailResource",
"can_be_deleted": "false",
"assigned_adviser": "App\\Http\\Resources\\AccountResource",
"next_review_date": "2025-02-20T10:12:59+00:00",
"has_joint_account": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"first_contact_date": "2025-02-20T10:12:59+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"previous_review_date": "2025-02-20T10:12:59+00:00",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"anniversary_review_date": "2025-02-20T10:12:59+00:00"
},
"two_factor_type": "sms",
"otp_confirmed_at": "2025-02-20T10:12:59+00:00",
"two_factor_mobile": true,
"current_time_entry": {
"name": "Research",
"uuid": "eb1c7d62-8ebb-48c4-aa11-1e7f7737abda",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"end_date": "2025-02-20T09:50:59+00:00",
"is_active": true,
"trackable": "App\\Http\\Resources\\MinimalAccountResource",
"created_at": "2025-02-20T10:12:59+00:00",
"start_date": "2025-02-20T09:22:59+00:00",
"updated_at": "2025-02-20T10:12:59+00:00",
"description": "This is a description.",
"trackable_type": "Client",
"total_time_in_minutes": 28,
"computed_time_elapsed_in_seconds": 1680
},
"session_expires_at": "2025-02-20T10:12:59+00:00",
"two_factor_enabled": true,
"should_auto_save_notes": true,
"sms_two_factor_enabled": true,
"two_factor_mobile_meta": {
"country": "GB",
"formatted": "0333 090 3630"
}
}