POST Create New Callback

Set up a new callback for your API-Key.

https://openapi.paveapi.com/v1/callbacks

This endpoint allows you to create a new callback for your requesting API Key.

Sample Response (200:Ok)

{
    "api_key": "<your_request_api_key",
    "event": "SESSION:STAGE_CHANGE",
    "url": "https://your_sms_callback_url",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer <jwt_token>"
    },
    "payload": {
        "source": "PAVE", // additional attributes to pass along; setting on create callback
    }
}

Sample Response (400:Bad Request)

{
    "message": "Missing required fields."
}

Last updated