API Reference / V2 Matches Create a match chat message as the Application Posts a message to the match chat as the Application; blocked language is censored. The `Idempotency-Key` header is required: a retry with the same key and body returns the stored message with `Idempotency-Replayed: true`, and the same key with another body answers 409. Event and organisation installations can set `visibility`; team and user installations post only to their own team side.
POST /api/v2/matches/{matchId}/chat/messages
Parameters # Property Type Location Description matchIdstringRequired path- x-request-idstringheader- strave-installation-idstringheader- idempotency-keystringRequired header-
Request # curl --request POST 'https://strave.gg/api/v2/matches/MATCH_ID/chat/messages' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response # 201Response for status 201
application/json 400Response for status 400
application/json 401Response for status 401
application/json 403Response for status 403
application/json 404Response for status 404
application/json 409Response for status 409
application/json 412Response for status 412
application/json 428Response for status 428
application/json 429Response for status 429
application/json 500Response for status 500
application/json 503Response for status 503
application/json Property Type Description dataobjectRequired - └ idstringRequired - └ matchIdstringRequired - └ actorobject | object | object | objectRequired - └ typestringRequired - └ contentstring | nullRequired - └ replyToIdstring | nullRequired - └ senderSidestring | string | nullRequired - └ visibilitystring | string | stringRequired - └ reactionsobject[]Required - └ emojistringRequired - └ countintegerRequired - └ reactedByApplicationbooleanRequired - └ deletedbooleanRequired - └ createdAtstringRequired - └ updatedAtstringRequired - └ revisionintegerRequired -