Zernio
Zernio
API Reference

Profiles

List profilesGETCreate profilePOSTGet profileGETUpdate profilePUTDelete profileDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Profiles

Update profile

Updates a profile's name, description, color, or default status.


PUT
/v1/profiles/{profileId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

profileId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties

Response Body

application/json

application/json

application/json

{  "message": "Profile updated successfully",  "profile": {    "_id": "64f0a1b2c3d4e5f6a7b8c9d0",    "userId": "6507a1b2c3d4e5f6a7b8c9d0",    "name": "Marketing Team (Updated)",    "description": "Profile for marketing campaigns",    "color": "#2196F3",    "isDefault": true,    "createdAt": "2024-11-01T10:00:00Z"  }}
Was this page helpful?

Get profile

Returns a single profile by ID, including its name, color, and default status.

Delete profile

Permanently deletes a profile. Active connected accounts block deletion (returns 400) - disconnect them first. Any remaining disconnected accounts and provisioned WhatsApp numbers are moved to another of your profiles (a new one is created only if needed), never deleted.

name?string
Length1 <= length
description?|

Set to null to clear the description.

color?string
isDefault?boolean