Skip to main content

PATCH /contact-books/:id

Update a contact book’s name.

Authentication

JWT Bearer token (dashboard auth)

Request Body

FieldTypeRequiredDescription
namestringYesNew contact book name

Response

{
  "success": true,
  "data": {
    "contactBook": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "user_id": "user_uuid",
      "name": "Updated Newsletter",
      "created_at": "2026-03-07T12:00:00Z",
      "updated_at": "2026-03-07T12:30:00Z"
    }
  }
}

Errors

StatusErrorCause
404Contact book not foundInvalid ID or not owned by user