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)
{
"name": "Test Mailbox",
"type": "imap",
"uuid": "ee603b64-ac1b-49a2-bb3b-801d4e80eccf",
"email": "test@example.org",
"state": "connected",
"enabled": true,
"created_at": "2025-12-04T22:09:15+00:00",
"created_by": {
"firm": {
"example": "App\\Http\\Resources\\FirmResource",
"collection": false,
"description": "Firm"
},
"name": {
"example": "Gareth Thompson",
"collection": false,
"description": "Name"
},
"role": {
"example": "client",
"collection": false,
"description": "Account role"
},
"tags": {
"example": "App\\Http\\Resources\\TagResource",
"collection": true,
"description": "Tags"
},
"type": {
"example": "client",
"collection": false,
"description": "Account type"
},
"uuid": {
"example": "773936c1-2161-4df8-afe3-af1f8ecab8bf",
"collection": false,
"description": "The UUID of the resource."
},
"email": {
"example": "gareth@codepotato.co.uk",
"collection": false,
"description": "(Deprecated - Please use primary_email instead). The email of the account."
},
"groups": {
"example": "App\\Http\\Resources\\GroupResource",
"collection": true,
"description": "Groups"
},
"owners": {
"example": "App\\Http\\Resources\\AccountResource",
"collection": true,
"description": "Accounts that own this account"
},
"circles": {
"example": "App\\Http\\Resources\\CircleResource",
"collection": true,
"description": "The circles the account belongs to"
},
"last_name": {
"example": "Thompson",
"collection": false,
"description": "Last name"
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"collection": false,
"description": "URL for initial avatar image"
},
"created_at": {
"example": "2025-12-04T22:09:15+00:00",
"collection": false,
"description": "The timestamp of when the resource was created."
},
"first_name": {
"example": "Gareth",
"collection": false,
"description": "First name"
},
"updated_at": {
"example": "2025-12-04T22:09:15+00:00",
"collection": false,
"description": "The timestamp of when the resource was updated."
},
"with_login": {
"example": true,
"collection": false,
"description": "Denotes whether the account has a login to Plannr"
},
"inactive_at": {
"example": "2025-12-04",
"collection": false,
"description": "Inactive from date"
},
"custom_fields": {
"example": "App\\Http\\Resources\\CustomFieldValueResource",
"collection": true,
"description": "Any custom fields on the model."
},
"introduced_by": {
"example": "App\\Http\\Resources\\AccountResource",
"collection": false,
"description": "Introduced by"
},
"primary_email": {
"example": "App\\Http\\Resources\\ContactDetailResource",
"collection": false,
"description": "Primary email"
},
"can_be_deleted": {
"example": "false",
"collection": false,
"description": "Denotes if the account can be deleted"
},
"assigned_adviser": {
"example": "App\\Http\\Resources\\AccountResource",
"collection": false,
"description": "Assigned adviser"
},
"next_review_date": {
"example": "2025-12-04T22:09:15+00:00",
"collection": false,
"description": "Next review date"
},
"has_joint_account": {
"example": true,
"collection": false,
"description": "Denotes whether this account belongs to a joint account too"
},
"current_time_entry": {
"example": "App\\Http\\Resources\\TimeEntryResource",
"collection": false,
"description": "Current time entry"
},
"first_contact_date": {
"example": "2025-12-04T22:09:15+00:00",
"collection": false,
"description": "First contact date"
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"collection": true,
"description": "The external references that have been added to the client."
},
"assigned_paraplanner": {
"example": "App\\Http\\Resources\\AccountResource",
"collection": false,
"description": "Assigned paraplanner"
},
"joint_account_circle": {
"example": "App\\Http\\Resources\\CircleResource",
"collection": false,
"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."
},
"ownership_percentage": {
"example": 100,
"collection": false,
"description": "Percentage ownership of the plan (This field is only present if viewing the account record via a plans relationship eg Plan -> Accounts)"
},
"previous_review_date": {
"example": "2025-12-04T22:09:15+00:00",
"collection": false,
"description": "Previous review date"
},
"primary_phone_number": {
"example": "App\\Http\\Resources\\ContactDetailResource",
"collection": false,
"description": "Primary phone number"
},
"assigned_administrator": {
"example": "App\\Http\\Resources\\AccountResource",
"collection": false,
"description": "Assigned administrator"
},
"anniversary_review_date": {
"example": "2025-12-04T22:09:15+00:00",
"collection": false,
"description": "Anniversary review date"
}
},
"updated_at": "2025-12-04T22:09:15+00:00",
"message_count": 1
}