Skip to navigation

Create a add-on

ID is server-generated (JQ-08). Definition, pricing, availability and office settings save in one transaction (JQ-03).

Authentication

AuthorizationBearer

API session token from POST /v1/admin/session (8 hours). Sign-in itself is Google Workspace; see research R2.

Headers

Idempotency-KeystringOptionalformat: "uuid"

One key per user attempt; retries reuse it and get the original result.

Query parameters

officeIdstringOptional

Set when creating while viewing one office: the new item is active only there.

Request

This endpoint expects an object.
titlestringRequired1-100 characters
compatiblePlanIdslist of stringsRequired
activebooleanRequired
pricingobjectRequired

Quotes resolve each of initial and recurring as: office price, else per-plan price, else global price (FR-046).

descriptionstringOptional<=1000 characters
linkedPestIdslist of stringsOptional
officeslist of objectsOptional

Saved in the same transaction (JQ-03).

versionintegerOptional

Version you last read. Omit on create; required on update. A stale value returns 409 version_conflict.

Response

Created
titlestring1-100 characters
compatiblePlanIdslist of strings
activeboolean
pricingobject

Quotes resolve each of initial and recurring as: office price, else per-plan price, else global price (FR-046).

idstringOptionalRead-only<=255 characters

Server-generated.

descriptionstringOptional<=1000 characters
linkedPestIdslist of stringsOptional
officeslist of objectsOptional

Saved in the same transaction (JQ-03).

versionintegerOptional

Version you last read. Omit on create; required on update. A stale value returns 409 version_conflict.

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error