Send a credentialed cross-origin request to the API and check the response headers.
Command / Input
curl http://TARGET/api/me -H "Origin: https://evil.com" -H "Cookie: session=sess_alice_token" -v 2>&1 | grep -i "access-control"
Output
Access-Control-Allow-Origin: https://evil.com
Access-Control-Allow-Credentials: true
⚑ Wildcard + credentials is blocked by browsers, but reflecting the origin is almost as bad.