Skip to main content
POST
Pin group message

Authorizations

x-api-key
string
header
required

Your ps_ API key

Headers

x-whatsapp-number-id
string

Required with a workspace key, an account key or an account-wide OAuth token: the number to act on (its id or instance id from GET /v1/numbers). A number key ignores it.

Path Parameters

groupId
string
required

Group JID ending in @g.us (Meta numbers use the pseudo-JID <META_GROUP_ID>@g.us), URL-encoded (@ → %40).

Body

application/json
messageId
string
required

Provider message id of the group message.

Minimum string length: 1
Example:

"3EB0C767D26A1D8B"

action
enum<string>
required
Available options:
pin,
unpin
Example:

"pin"

Response

Done