URL: https://www.epicgames.com/id/api/state
Method: POST
Auth Required: Yes
{
"redirectUrl": "http://localhost",
"psnRedirectUrl": "https://sony.com",
"oauthRedirectUrl": "http://fortnite.com",
"isPopup": true,
"isWeb": false,
"steamAccountId": "1",
"accountId": "39032a71931a4f129f01d6899da9e036",
"loginRequestId": "39032a71931a4f129f01d6899da9e036",
"code": "39032a71931a4f129f01d6899da9e036",
"allowThirdParties": true,
"parentalControls": {
"voiceChat": "nobody",
"textChat": "nobody"
},
"system": "PEGI",
"rating": "unrated",
"trackingUuid": "58a9874d11ae4d619e1dd98a028229c4"
}
redirectUrl
: the redirect url receiving the state
psnRedirectUrl
: The Playstation Network redirect url returning the state (Note: Can't be used with oauthRedirectUrl
)
oauthRedirectUrl
: The epic OAuth redirect url returning the state (Note: Can't be used with psnRedirectUrl
)
isPopup
: Is the external authorization a popup?
isWeb
: Is the external authorization a webpage?
steamAccountId
: The steam account id authorizing using the state in authorization
accountId
: The epic account id authorizing using the state in authorization
loginRequestId
: Unknown for now
code
: The Authorization Code
used for authorization
allowThirdParties
: Should third parties use this state?
parentalControls
: A JSON Object with parental controls
system
Rating system used. Valid: PEGI
, ESRB
(Note: when using this rating
param will become required)
rating
The rating for the state's app. Valid for PEGI: (pegi3
, pegi7
, pegi10
, pegi12
, pegi16
, pegi18
, unrated
), Valid for ESRB: (everyone
, everyone10
, teen
, mature
, adultsOnly
, unrated
)
trackingUuid
: Tracking UUID grabbed from Analytics API
Example Response (Successful):
Plain Text Response
eyJpZCI6IjJmYjY2YmZkZDk4NzRmNjFhYWYyMjkwN2VmNjU3Yjg5IiwibG9naW5SZXF1ZXN0SWQiOiIzOTAzMmE3MTkzMWE0ZjEyOWYwMWQ2ODk5ZGE5ZTAzNiJ9