Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Updated Mon Feb 6th 2023, 19:36 UTC

Get

GET /:account/account_plans/:plan

Examples

Fetch Single Account Plan

Request

GET /textus/account_plans/Ambg36B
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X GET /textus/account_plans/Ambg36B
    

Response

Status

200

Response Type

AccountPlan

Example Body

{
  "@type": "AccountPlan",
  "@context": "/contexts/AccountPlan.jsonld",
  "id": "/my_account/account_plans/6NvZNG",
  "name": "Pro Msg Account: Up to 2k Msg/Month",
  "type": "message",
  "shared": false,
  "assignable": true,
  "quantity": 2,
  "size": 2000,
  "effectiveStartDate": "2021-11-15",
  "effectiveEndDate": "2022-09-01",
  "assignments": [
    {
      "account": "/accounts/single-user-account-dev",
      "quantity": 1
    },
    {
      "account": "/accounts/bandwidth-v2-dev",
      "quantity": 1
    }
  ]
}

© 2023 TextUs