AUTH_REQUIRED when placing order

curl -X POST “https://api.smarkets.com/v3/orders/
-H “accept: application/json”
-H “Authorization: (token)”
-H “Content-Type: application/json”
-d “{“contract_id”:“37169891”,“label”:“strategy_1”,“market_id”:“10598329”,“minimum_accepted_quantity”:100,“price”:64000,“quantity”:100,“side”:“buy”,“type”:“good_til_halted”}”

{“data”:null,“error_type”:“AUTH_REQUIRED”}

Any clues? All other APIs work as expected. Thanks!

Fixed - I wasn’t prepending the token with “Session-Token”. Now I’m getting 403-Forbidden, so I guess I need to email my contact for him to flick the switch! :slight_smile: