v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Create a Pool

Creates a new pool

post/pools/my

Headers

Content-Typestring required

application/json

Authorizationstring required

Bearer {access_token}

Request body

poolNamestring required

The name of the pool.

Response

200

poolIdstring
poolNamestring
updatedAtstring

Example response

{
  "poolId": "e744dde5-fd28-499e-9689-518ecc5709e8",
  "poolName": "my pool",
  "smsSettings": {
    "sticky": true,
    "geomatch": true,
    "defaultCountry": "US",
    "alphanumericSenderId": "pool sender",
    "multipleSender": [
      {
        "country": "string",
        "senderId": "string",
        "keyword": "string",
        "shortCode": "string"
      }
    ],
    "callback": {
      "url": "http://xxxx.xx",
      "strategy": "OnChange"
    },
    "inboundSMSCallbackUrl": "http://xxxx.xx"
  },
  "updatedAt": "2018-11-20T13:48:45.228Z"
}