Help

Webhook callback body missing data

Solved
Jump to Solution
630 2
cancel
Showing results for 
Search instead for 
Did you mean: 
jtreuting
4 - Data Explorer
4 - Data Explorer

I've successfully created a webhook via the Airtable API using the following json:

 

{
    "notificationUrl": "https://mycallback.app/",
    "specification": {
      "options": {
        "filters": {
          "dataTypes": [
            "tableData"
          ],
          "recordChangeScope": "tbla....."
        }
      }
    }
  }

 

It seems to work in the sense that my callback URL gets called.  Right now all I'm doing is logging the request body that is sent back to my endpoint and it seems to be missing all the important data about what has changed.  This is what I get back:

 

{
	base: { id: 'app6......' },
	webhook: { id: 'achnoA6.....' },
	timestamp: '2024-02-22T23:46:02.849Z'
}

 

ANy idea what I did wrong or what I should be doing to get the details of what field changed.  I see the change in the UI and I've tried making the change in the UI as well as via code using an Airtable library.  And again, I see the change when viewing in the UI and the logs show I am receiving a callback.

1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

I think you're supposed to make another request for the contents after that?

Screenshot 2024-02-23 at 8.40.44 AM.png


Documentation here

See Solution in Thread

2 Replies 2
TheTimeSavingCo
18 - Pluto
18 - Pluto

I think you're supposed to make another request for the contents after that?

Screenshot 2024-02-23 at 8.40.44 AM.png


Documentation here

jtreuting
4 - Data Explorer
4 - Data Explorer

Yes wow, I totally missed that part.  Now it makes sense why it's called a notification URL and not a callback URL.  Thank you.