Skip to main content

Retrieve Webhook Event

GET 

https://secure.fleetio.com/api/v1/webhook_events/:id

Retrieve the details of an existing Webhook Event.

Request

Path Parameters

    id stringrequired

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Responses

OK

Schema
    idinteger

    Possible values: >= 1

    created_atdate-time

    The date and time at which this record was created.

    Example: 2023-03-14T13:46:27-06:00
    updated_atdate-time

    The date and time at which this record was most recently updated.

    Example: 2023-03-14T13:46:27-06:00
    attemptsinteger

    The number of times Fleetio attempted to send this event to the Webhook endpoint.

    eventstring

    The event that triggered this Webhook.

    last_errorstringnullable

    The last error that occurred when attempting to trigger this Webhook.

    last_sent_atdate-timenullable

    The date and time at which this webhook event was last sent.

    Example: 2023-03-14T13:46:27-06:00
    payloadstring

    The payload that was sent to the Webhook endpoint.

    response_bodystringnullable

    The response body from the Webhook endpoint.

    response_codeintegernullable

    The response code from the Webhook endpoint.

    retried_atdate-timenullable

    The date and time at which this Webhook was last retried.

    Example: 2023-03-14T13:46:27-06:00
    statusstringnullable

    The status of this Webhook event.

    webhook_idId (integer)

    Possible values: >= 1

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64".
You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
curl -L 'https://secure.fleetio.com/api/v1/webhook_events/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!