Baserow ➔ SendGrid Payload Specification

Technical reference for automating data exchange between Database and Email API workflows.

💡 How this integration works:

1. Baserow triggers an event when rows.created occurs.
2. Data is packaged into a standard JSON webhook payload.
3. Payload is delivered into your SendGrid intake pipeline and mapped to your Email API targets.

Authentication & Event Specs

ParameterSource (Baserow)Destination (SendGrid)
Auth MechanismToken HeaderBearer API Key
Trigger Eventrows.createdIngest Pipeline

Sample Webhook JSON Payload

{
  "event": "rows.created_to_sendgrid",
  "timestamp": 1788105197,
  "source": {
    "platform": "Baserow",
    "auth_mode": "Token Header",
    "data": {
      "table_id": "sample_table_id_val",
      "row_id": "sample_row_id_val",
      "actor_email": "sample_actor_email_val",
      "field_values": "sample_field_values_val"
    }
  },
  "destination": {
    "platform": "SendGrid",
    "auth_mode": "Bearer API Key",
    "target_endpoint": "https://api.sendgrid.com/v1/ingest",
    "mapped_fields": {
      "msg_id": "{{source.table_id}}",
      "recipient": "{{source.row_id}}",
      "event_type": "{{source.actor_email}}",
      "smtp_code": "{{source.field_values}}"
    }
  }
}

Quick Integration Setup

  1. Retrieve your secret API credentials from your Baserow developer dashboard using authentication method Token Header.
  2. Configure the target endpoint URL to route payloads into the SendGrid intake pipeline.
  3. Map incoming schema properties according to the JSON specification detailed above.

Expected HTTP Response Codes

Status CodeMeaningTroubleshooting Step
200 OKSuccessPayload accepted and queued for routing.
401 UnauthorizedAuth FailureVerify headers for valid Token Header credentials.
422 UnprocessableSchema ErrorCheck field keys alignment between source and target payload.

Related Technical Specifications