Tally ➔ SendGrid Payload Specification

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

💡 How this integration works:

1. Tally triggers an event when form_response 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 (Tally)Destination (SendGrid)
Auth MechanismBearer Token HeaderBearer API Key
Trigger Eventform_responseIngest Pipeline

Sample Webhook JSON Payload

{
  "event": "form_response_to_sendgrid",
  "timestamp": 1788105197,
  "source": {
    "platform": "Tally",
    "auth_mode": "Bearer Token Header",
    "data": {
      "submission_id": "sample_submission_id_val",
      "form_id": "sample_form_id_val",
      "responder_email": "sample_responder_email_val",
      "fields_payload": "sample_fields_payload_val"
    }
  },
  "destination": {
    "platform": "SendGrid",
    "auth_mode": "Bearer API Key",
    "target_endpoint": "https://api.sendgrid.com/v1/ingest",
    "mapped_fields": {
      "msg_id": "{{source.submission_id}}",
      "recipient": "{{source.form_id}}",
      "event_type": "{{source.responder_email}}",
      "smtp_code": "{{source.fields_payload}}"
    }
  }
}

Quick Integration Setup

  1. Retrieve your secret API credentials from your Tally developer dashboard using authentication method Bearer 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 Bearer Token Header credentials.
422 UnprocessableSchema ErrorCheck field keys alignment between source and target payload.

Related Technical Specifications