Get all racing codes

To retrieve all racing codes available in the system, you can make a GET request to the following endpoint:

Endpoint

GET /bet/codes/

CURL example


curl -X GET https://betmatic.app/api/bet/codes/ \
  -H 'Accept: application/json' \
  -H 'Authorization: Token {token}'

This will return a list of racing codes along with their corresponding names. You can use these code names for various purposes such as creating notifications or publishing picks.

Responses

Status
Meaning
Description
Schema

200

Success

200 Response example

{
  "codes": ["Galloping", "Harness", "Greyhounds"]
}

Last updated