OpenPhn docs
Referencesms

Sms Preview

POST
/v1/numbers/{number_id}/sms/preview

Path Parameters

number_id*Number Id
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/v1/numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08/sms/preview" \  -H "Content-Type: application/json" \  -d '{    "template_id": "string"  }'
{
  "would_fire": true,
  "rendered_body": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}