Trialmile docs
API referenceProviders

Create

POST
/providers/create

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

provider*string

Value in

  • "vonage"
  • "twilio"
  • "mock"
label*string
Length1 <= length <= 80
credentials*

Response Body

application/json

curl -X POST "https://example.com/providers/create" \  -H "Content-Type: application/json" \  -d '{    "provider": "vonage",    "label": "string",    "credentials": {      "property1": "string",      "property2": "string"    }  }'
null