Skip to main content
POST
/
send-message
Send club chat message
curl --request POST \
  --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/send-message \
  --header 'Content-Type: application/json' \
  --data '{
  "club_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "content": "<string>",
  "message_type": "text",
  "gif_url": "<string>",
  "media": [
    {
      "media_url": "<string>",
      "media_type": "image",
      "order_index": 123,
      "alt_text": "<string>",
      "width": 123,
      "height": 123,
      "file_size": 123
    }
  ]
}'
{
  "success": true,
  "message": "<any>"
}

Body

application/json
club_id
string<uuid>
required
content
string
message_type
enum<string>
default:text
Available options:
text,
gif
gif_url
string
media
object[]

Response

Successful response

success
boolean
required
message
any