Skip to main content
PUT
Update project safe mode

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.

Path Parameters

projectId
string<uuid>
required

Identifier of the Polymorfa project that owns this resource.

Value constraints

Body

application/json
presence
enum<string>

Specifies presence for this schema.

Allowed values

Available options:
dark,
online_while_sending,
online_hours
typing
enum<string>

Specifies typing for this schema.

Allowed values

Available options:
off,
before_text,
before_all
reads
enum<string>

Specifies reads for this schema.

Allowed values

Available options:
off,
replied_chats,
all_inbound
pacing
enum<string>

Specifies pacing for this schema.

Allowed values

Available options:
off,
jittered,
conversation
onlineStart
integer

Specifies online start for this schema.

Value constraints

Required range: 0 <= x <= 23
onlineEnd
integer

Specifies online end for this schema.

Value constraints

Required range: 0 <= x <= 23

Response

Project Safe Mode ceiling updated

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.