Email (Exchange)
POST/oauth/emailexchange
Exchange a security code issued from the Email Request endpoint for an access token. To use this functionality you must use your games api_key from your games profile on mod.io and the same api_key must be used from the original request for a security code. A Successful request will return an Access Token Object.
Request
Error Codes
Status Code | Error Ref | Description |
---|---|---|
401 | 11011 | error_auth_failed_code_redeemed |
401 | 11012 | error_auth_failed_code_expired |
401 | 11013 | error_auth_failed_different_key |
401 | 11014 | error_auth_failed_invalid_code |
403 | 17053 | The user account associated with this email is locked. Please contact support for assistance. |
Responses
- 200
- 401
- 403
Successful Request
error_auth_failed_different_key
The user account associated with this email is locked. Please contact support for assistance.