Set Activity State
Run or Pause a specific Pearl. To run an outbound text Pearl on a WhatsApp channel, every opening sentence of its flow must match an approved WhatsApp template (case, spacing and punctuation are ignored): otherwise the Pearl is not started and the 400 names each opening sentence that has no template. Templates are managed from the platform, in Settings > Text Channels > WhatsApp. Pausing a Pearl is never blocked by this check.
Authorizations
Specify the authorization token.
For more information, check out the Authorization Guide.
Path Parameters
Body
Defines the request structure for setting the active status of an entity.
A boolean value that specifies the new active status of the entity.
True activates the entity, while false deactivates it.
Response
The active state of the Pearl.
Here is the activity status
1 - Running
2 - Paused
3 - Suspended
10 - TemporaryMaintenance

