Palbase ai · API
POST
/ai/groups/{group_id}/membersAdd a chat to an actor group
Enroll a chat identifier in an actor group for multi-actor broadcast coordination.
Called by your server, with the project's secret key.
Path
group_idstring · requiredActor group identifierRequest body
chat_idstring · requiredrolestring · optionalcurl
curl -X POST "https://<your-ref>.palbase.studio/ai/groups/<group_id>/members" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"chat_id":"string"}'Responses
200Actor group members updated
400The request is malformed, or names what this module does not offer (the error names which)
401No valid credential
403A publishable key or a user's session: everything here is the project's server's, called with the secret key
404No such response, job or provider in this project
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation AddActorGroupMember of ai's contract.