get https://api.accelevents.com/rest/u/currentEvent
This API is used to get users' current event details.
It gives us the name and event URL of the user's current event.
Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API executes it successfully.
Attribute | Description |
---|---|
eventName | its name of your event |
eventUrl | Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url. |
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | OK |
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |
4040020 | No current event found |
4010101 | Not authorized |
4040200 | Event Not Found. |