Send X-On-Behalf-Of for an end user
Use X-On-Behalf-Of when your server is making a request for one of your end users.
Set the header value to your own stable end user identifier.
user_123, use that value consistently in requests made for that user.
X-On-Behalf-Of.
Choose the right pattern
Use onlyAuthorization when:
- You are calling the MKA1 API for your own backend workflow.
- The request is not tied to a specific end user.
Authorization and X-On-Behalf-Of when:
- Your server is acting for one of your end users.
- You want requests, responses, files, or usage to stay associated with that end user.