Every argument on a command line can be read by other users through the process list.
printf 'header = "Authorization: Bearer %s"\n' "$API_TOKEN" | curl -K - https://api.example.com/me
-K - makes curl read its options from standard input, one per line in the form option = value. printf is a shell builtin, so the token never shows up in the argument list of a process, while -H "Authorization: Bearer ..." would. Keep the token in an environment variable or a file with mode 600 and do not type it into the command itself, or it lands in the shell history.
Further reading: curl manual