---
updatedAt: 2026-06-09T16:19:20.000Z
agentTools:
  projectIndex: https://docs.smartsurvey.io/llms.txt
---

# Send One

Send an invitation to a single recipient. Note that this is a premium endpoint and is not available on all plans.
            
If you are using the Organisation Hierarchy feature, to assign a recipient to an entity within the hierarchy, supply either `entity_id` or `entity_unique_id` (not both); the entity must be active and belong to your organisation.
            
If entity auto-insert is enabled for your organisation and this contact list's custom columns are mapped to entity fields, the mapped `custom_columns` values are also written to an entity that `entity_unique_id` creates.
            
On an SMS invitation, a mobile number that has opted out of SMS messages from this sender is not sent to, stored or charged; it comes back in `failed_contacts` with `status_code``OPTOUT` in a 200 response that charges nothing. When the invitation could not be sent, the 500 response carries `failed_contacts` too.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "SS Public API",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://{host}/v2",
      "description": "Select the host for the region your account's data is stored in.",
      "variables": {
        "host": {
          "default": "api.smartsurvey.io",
          "description": "The regional hostname for your account.",
          "enum": [
            "api.smartsurvey.io",
            "api-eu.smartsurvey.io",
            "api-us.smartsurvey.io"
          ]
        }
      }
    }
  ],
  "paths": {
    "/surveys/{surveyId}/invitations/{invitationId}/sendone": {
      "post": {
        "tags": [
          "SurveyInvitations"
        ],
        "summary": "Send One",
        "description": "Send an invitation to a single recipient. Note that this is a premium endpoint and is not available on all plans.\r\n            \r\nIf you are using the Organisation Hierarchy feature, to assign a recipient to an entity within the hierarchy, supply either `entity_id` or `entity_unique_id` (not both); the entity must be active and belong to your organisation.\r\n            \r\nIf entity auto-insert is enabled for your organisation and this contact list's custom columns are mapped to entity fields, the mapped `custom_columns` values are also written to an entity that `entity_unique_id` creates.\r\n            \r\nOn an SMS invitation, a mobile number that has opted out of SMS messages from this sender is not sent to, stored or charged; it comes back in `failed_contacts` with `status_code``OPTOUT` in a 200 response that charges nothing. When the invitation could not be sent, the 500 response carries `failed_contacts` too.",
        "parameters": [
          {
            "name": "surveyId",
            "in": "path",
            "description": "The survey id whose invitation you are sending",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "invitationId",
            "in": "path",
            "description": "The invitation id that you are sending",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.InvitationRequestContact"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.InvitationRequestContact"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.InvitationRequestContact"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.InvitationRequestContact"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.InvitationRequestContact"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.InvitationRequestContact"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Request validation errors",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient email balance to send the invitation",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Survey, Contact List or Invitation not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error with detailed message, and the contacts that failed",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationFailedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationFailedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationFailedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationFailedResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.SendInvitationFailedResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when\r\ndereferenced, it provide human-readable documentation for the problem type\r\n(e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be\r\n\"about:blank\".",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence\r\nof the problem, except for purposes of localization(e.g., using proactive content negotiation;\r\nsee[RFC7231], Section 3.4).",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "description": "A human-readable explanation specific to this occurrence of the problem.",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.",
            "nullable": true
          }
        },
        "additionalProperties": {},
        "description": "A machine-readable format for specifying errors in HTTP API responses based on <see href=\"https://tools.ietf.org/html/rfc7807\" />."
      },
      "Microsoft.AspNetCore.Mvc.ValidationProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when\r\ndereferenced, it provide human-readable documentation for the problem type\r\n(e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be\r\n\"about:blank\".",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence\r\nof the problem, except for purposes of localization(e.g., using proactive content negotiation;\r\nsee[RFC7231], Section 3.4).",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "description": "A human-readable explanation specific to this occurrence of the problem.",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.",
            "nullable": true
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "SmartSurvey.Public.API.Models.ContactList.ContactFailureInfo": {
        "type": "object",
        "properties": {
          "contact": {
            "type": "string",
            "description": "The email or mobile number of the contact that failed",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "The name of the contact that failed",
            "nullable": true
          },
          "error_message": {
            "type": "string",
            "description": "The error message explaining why the contact failed",
            "nullable": true
          },
          "status_code": {
            "type": "string",
            "description": "Why the contact failed. `OPTOUT`: the mobile number has opted out of SMS messages from this sender, so\r\nit was not sent to, nothing was stored for it and it was not charged. `OPTOUT_CODE_CLASH`: no unique\r\nSMS opt-out code could be assigned to the contact, so it was not stored or sent but was charged, as for a\r\nfailed send; sending to it again normally succeeds. An empty value: the email or SMS provider did not\r\naccept the message, and `error_message` carries the reason when the provider gave one; the contact was\r\nstored and charged.",
            "nullable": true
          },
          "mail_user_id": {
            "type": "integer",
            "description": "The ID of the mail user that was created (if any)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about a contact that failed to be sent an invitation"
      },
      "SmartSurvey.Public.API.Models.ContactList.CustomColumn": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the custom column as passed into a survey",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "The value for this custom column",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an instance of a custom column with a value for a specific respondent"
      },
      "SmartSurvey.Public.API.Models.ContactList.InvitationRequestContact": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "The name of the contact to send the invitation to"
          },
          "email": {
            "type": "string",
            "description": "The email address of the target for this invitation (if an email invitation).\r\nUnicode NFKC normalization and whitespace trimming are applied during deserialization\r\nso that compatibility characters (e.g. ligatures) are converted to ASCII equivalents\r\nbefore validation runs.",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "description": "The mobile/cell number for the target for this invitation (if an SMS invitation)",
            "nullable": true
          },
          "custom_columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.CustomColumn"
            },
            "description": "Custom column values for this recipient, if needed. If your organisation has entity auto-insert\r\nenabled and has mapped this contact list's columns to entity fields, the mapped values are also\r\nwritten to the entity that `entity_unique_id` creates.",
            "nullable": true
          },
          "entity_id": {
            "type": "integer",
            "description": "The numeric id of the entity to assign to this contact. Supply either this or\r\n`entity_unique_id`, not both. The entity must be active and belong to your organisation.",
            "format": "int32",
            "nullable": true
          },
          "entity_unique_id": {
            "type": "string",
            "description": "The customer-facing unique code of the entity to assign to this contact. Supply either this or\r\n`entity_id`, not both. The entity must be active and belong to your organisation.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "An individual contact to send an invitation to"
      },
      "SmartSurvey.Public.API.Models.ContactList.SendInvitationFailedResponse": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/System.Net.HttpStatusCode"
          },
          "code": {
            "type": "string",
            "description": "A readable version of the status code e.g. \"success\", \"created\", \"no_content\"",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "A message for the caller",
            "nullable": true
          },
          "failed_contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.ContactFailureInfo"
            },
            "description": "Details of contacts that failed to be sent invitations",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The 500 body when an invitation could not be sent to any contact: the standard response envelope plus the\r\ncontacts that failed, so a caller can tell a blocked or rejected number from a contact worth retrying."
      },
      "SmartSurvey.Public.API.Models.ContactList.SendInvitationResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "A general message for success",
            "nullable": true
          },
          "validation_errors": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Zero or more error messages for the respective zero-based entry",
            "nullable": true
          },
          "failed_contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.ContactList.ContactFailureInfo"
            },
            "description": "Details of contacts that failed to be sent invitations",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A response object that permits partial error details to be passed back"
      },
      "System.Net.HttpStatusCode": {
        "enum": [
          100,
          101,
          102,
          103,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          226,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          400,
          401,
          402,
          403,
          404,
          405,
          406,
          407,
          408,
          409,
          410,
          411,
          412,
          413,
          414,
          415,
          416,
          417,
          421,
          422,
          423,
          424,
          426,
          428,
          429,
          431,
          451,
          500,
          501,
          502,
          503,
          504,
          505,
          506,
          507,
          508,
          510,
          511
        ],
        "type": "integer",
        "format": "int32"
      }
    },
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "description": "Basic Authorization",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "Basic": []
    }
  ]
}
```