Groups
Set group icon
Set the group icon/photo. Requires the group to have a linked chat_guid. Uses multipart/form-data.
⚠️ Note: The icon is saved to Blooio storage but device sync (syncing to iMessage) is coming soon. The device_sync.synced field will be false until this is implemented.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Path Parameters
groupId*string
Group ID
Match
^grp_[a-zA-Z0-9]+$Request Body
multipart/form-data
icon*string
The icon image file to set as the group photo
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://backend.blooio.com/v2/api/groups/grp_abc123def456/icon" \ -F icon="string"{
"success": true,
"group_id": "string",
"icon_url": "string",
"chat_guid": "string",
"device_sync": {
"chat_guid": "string",
"synced": true,
"message": "string"
},
"message": "string"
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}