Token Authentication for REST

are you talking about authentication into Epicor from something else? Or into something else from Epicor?

The Epicor Rest pdf on epicweb.epicor.com makes it very easy to auth into Epicor. Use Postman and Swagger to get the hang of it. You have to add an API key in Epicor, optionally but recommendedly with an access scope, then make your first url point at tokenservice (QV in the guide).

Then you harvest the token and send it back and it pretty much just works. After that you just have to figure out parsing and editing JSON, which is a bit tricky.

Many APIs work the same way. This was my first attempt: