Opt in

POST /1/optin

Opt in

application/json

Body

  • email string Required

    The email of the user.

  • language string Required

    The language of the user.

Responses

  • Successful response

POST /1/optin
curl \
 --request POST 'https://api.localsporthero.com/1/optin' \
 --header "Content-Type: application/json" \
 --data '{"email":"string","language":"string"}'
Request examples
{
  "email": "string",
  "language": "string"
}