Entre em grupos usando um código de convite
curl --request POST \ --url https://api.zapsterapi.com/v1/wa/instances/{instance_id}/groups/join \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '""'
{ "description": "My group description", "id": "120363279776130958", "invite_code": "XobOM8UBL8EXR3dXoGozql", "is_community": true, "is_announcement": true, "is_restricted": true, "approval_mode": "requires_approval", "name": "My group name", "owner": { "id": "558796139874", "name": "Owner Name", "profile_picture": "https://zapsterapi.s3.us-east-1.amazonaws.com/..." }, "profile_picture": "https://zapsterapi.s3.us-east-1.amazonaws.com/...", "total_participants": 2 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
success
The response is of type object.
object