convoy icon indicating copy to clipboard operation
convoy copied to clipboard

Improve Events API response

Open horlah opened this issue 1 year ago • 0 comments

Basically, we can help users start debugging events from anywhere, including the event trigger response. We can make an API response on triggering an event to source a little prettier with some useful information than what we have right now:

{
    "status": true,
    "message": "Event received",
    "data": 17
}

We should have something like this instead:

{
    "status": "Success",
    "message": "Event received into Convoy, debug event at on your dashboard at: https://dashboard.getconvoy.....",
    "event_id": "dsuiuwew...",
    ...
}

And consider something like this for outgoing events API response also.

horlah avatar Mar 08 '23 09:03 horlah