How does my service code know which user made a request?

Every authenticated request Forte forwards to your service carries an X-Forte-User-Id header. Read it and, when you need more than the ID, fetch the full profile with the SDK's getUser call — contact methods, verification state, and any custom attributes you've stored.

Read more about this in the documentation

Related questions

Still need help?

If this didn't answer your question, our team is one message away.

Contact support