Get the current user's RCS classes
Returns the RCS tag and class of the user's linked Discord account on every RCS server, with the region of each server. `discordLinked` is false when the user has no linked Discord account.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
If-None-Match | string | header | The ETag of a cached copy. The API answers 304 Not Modified when it is still current. |
Request #
curl --request GET 'https://strave.gg/api/v2/users/@me/rcs' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response #
200Response for status 200304Not Modified. The If-None-Match ETag is current; reuse the cached body.400Response for status 400401Response for status 401403Response for status 403404Response for status 404429Response for status 429500Response for status 500503Response for status 503| Property | Type | Description |
|---|---|---|
data | objectRequired | - |
└userId | stringRequired | - |
└discordLinked | booleanRequired | Whether the user linked a Discord account. |
└memberships | object[]Required | - |
└region | stringRequired | RCS region. MENA servers belong to `emea`. |
└serverName | stringRequired | - |
└tag | string | nullRequired | - |
└classLetter | string | nullRequired | RCS class letter, `A` is the highest. Null when unknown. |
└isProbation | booleanRequired | - |
Cost #
1 API unit