Update the specified mailbox. Run in API Explorer
Ask AI
If the mailbox is disabled, we will disable the IMAP connection, which will stop webhooks being received for new messages.
PUT
/api/v1/mailboxes/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/mailboxes/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"uuid": "4fc00e84-1275-44ea-988e-64a934202f0f",
"created_at": "2026-04-29T16:54:30+01:00",
"updated_at": "2026-04-29T16:54:30+01:00",
"created_by": {
"uuid": {
"example": "3d7c1593-9a8f-4a8f-a290-0c31880bb429",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-04-29T16:54:30+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-04-29T16:54:30+01:00",
"description": "The timestamp of when the resource was updated.",
"collection": false
},
"type": {
"example": "client",
"description": "Account type",
"collection": false
},
"role": {
"example": "client",
"description": "Account role",
"collection": false
},
"first_name": {
"example": "Gareth",
"description": "First name",
"collection": false
},
"last_name": {
"example": "Thompson",
"description": "Last name",
"collection": false
},
"name": {
"example": "Gareth Thompson",
"description": "Name",
"collection": false
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "(Deprecated - Please use primary_email instead). The email of the account.",
"collection": false
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"description": "URL for initial avatar image",
"collection": false
},
"firm": {
"example": "App\\Http\\Resources\\FirmResource",
"description": "Firm",
"collection": false
},
"primary_phone_number": {
"example": "App\\Http\\Resources\\ContactDetailResource",
"description": "Primary phone number",
"collection": false
},
"primary_email": {
"example": "App\\Http\\Resources\\ContactDetailResource",
"description": "Primary email",
"collection": false
},
"current_time_entry": {
"example": "App\\Http\\Resources\\TimeEntryResource",
"description": "Current time entry",
"collection": false
},
"assigned_adviser": {
"example": "App\\Http\\Resources\\AccountResource",
"description": "Assigned adviser",
"collection": false
},
"assigned_administrator": {
"example": "App\\Http\\Resources\\AccountResource",
"description": "Assigned administrator",
"collection": false
},
"assigned_paraplanner": {
"example": "App\\Http\\Resources\\AccountResource",
"description": "Assigned paraplanner",
"collection": false
},
"introduced_by": {
"example": "App\\Http\\Resources\\AccountResource",
"description": "Introduced by",
"collection": false
},
"business_unit": {
"example": "App\\Http\\Resources\\BusinessUnitResource",
"description": "The business unit this account belongs to",
"collection": false
},
"groups": {
"example": "App\\Http\\Resources\\GroupResource",
"description": "Groups",
"collection": true
},
"tags": {
"example": "App\\Http\\Resources\\TagResource",
"description": "Tags",
"collection": true
},
"owners": {
"example": "App\\Http\\Resources\\AccountResource",
"description": "Accounts that own this account",
"collection": true
},
"first_contact_date": {
"example": "2026-04-29T16:54:30+01:00",
"description": "First contact date",
"collection": false
},
"next_review_date": {
"example": "2026-04-29T16:54:30+01:00",
"description": "Next review date",
"collection": false
},
"previous_review_date": {
"example": "2026-04-29T16:54:30+01:00",
"description": "Previous review date",
"collection": false
},
"anniversary_review_date": {
"example": "2026-04-29T16:54:30+01:00",
"description": "Anniversary review date",
"collection": false
},
"with_login": {
"example": true,
"description": "Denotes whether the account has a login to Plannr",
"collection": false
},
"has_joint_account": {
"example": true,
"description": "Denotes whether this account belongs to a joint account too",
"collection": false
},
"can_be_deleted": {
"example": "false",
"description": "Denotes if the account can be deleted",
"collection": false
},
"joint_account_circle": {
"example": "App\\Http\\Resources\\CircleResource",
"description": "This field is only present when viewing a joint account directly. This will contain the circle that we automatically created when we released circles.",
"collection": false
},
"circles": {
"example": "App\\Http\\Resources\\CircleResource",
"description": "The circles the account belongs to",
"collection": true
},
"ownership_percentage": {
"example": 100,
"description": "Percentage ownership of the plan (This field is only present if viewing the account record via a plans relationship eg Plan -> Accounts)",
"collection": false
},
"inactive_at": {
"example": "2026-04-29",
"description": "Inactive from date",
"collection": false
},
"last_interaction_at": {
"example": "2026-04-29 16:54:30",
"description": "Last interaction date",
"collection": false
},
"referral_code": {
"example": "ABC12345",
"description": "Unique referral code for the employee account (employees only)",
"collection": false
},
"permissions": {
"example": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
},
"description": "Permission map where keys are permission names and values are target arrays",
"collection": false
},
"custom_fields": {
"example": "App\\Http\\Resources\\CustomFieldValueResource",
"description": "Any custom fields on the model.",
"collection": true
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"description": "The external references that have been added to the client.",
"collection": true
}
},
"type": "imap",
"email": "test@example.org",
"name": "Test Mailbox",
"state": "connected",
"enabled": true,
"message_count": 1
}