This API is for letting user to participate in Fyre event right from their user interface.





"Content-Type": 'application/json',
"Origin": <base URL> // Registered Base URl 

Request Body

Every request body must contain three properties: message, fyresign and messageHash.

Request Body

    "appId": "6274a30fc43e35144642a484",  
     "externalUserId": "456fhrghtuht374",   
     "eventId": "6274b4cde7556226721e620c", 
     "isEmail": false, 
     "iat": 1651816302,
     "exp": 1651902702
  • message

    • appId: Id that you will get after creating app in Fyre platform.

    • externalUserId: Identifier for the user on application's platform which will be mapped with Fyre user Id.

    • iat: Timestamp at which the message was signed.

    • exp: Timestamp upto which the signature is valid.

    • isEmail: This is to identify whether application's user identifier is email or not

    • metaData: This field is to send extra parameter like limit, page values.

  • fyresign: Signature generated by signing message using app's private key. Send generated signature in this field.

  • messageHash: hash of the message.

Note: If an application's user identifier is an email, then the user need not to login again at Fyre event form otherwise they do have to login again at Fyre end and that user id (or externalUserId) will be mapped with Fyre userId.

Response Body

Sample reponse:

  "message": "Access Granted",
  "data": {
    "userRedirectionToken ": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6IjYyNzYzODcwNDBkYzQwMTRiYWM5ODVkNyIsImV4dGVybmFsVXNlcklkIjoiNDU2ZmhyZ2hmbmduanR1aHQzNzQiLCJpc0VtYWlsIjpmYWxzZSwidG9rZW5UeXBlIjoiVXNlclJlZGlyZWN0aW9uQWNjZXNzIiwiaWF0IjoxNjUyMDc0NDE2LCJleHAiOjE2NTIxNjA4MTZ9.vB01It3ZcOVkEAeRUbKPT_x26GofiS5mn3Rj1Q30MGM"
  "success": true,
  "error": false


Use this token in a query parameter userRedirectionToken in the event form URL. This is to ensure the user is coming from right application and also to map application user to the Fyre platform user.

Sample event from URL:


Developer can read the next section to know about available error codes.

Last updated