Accounts
List all proposals of an account
List all proposals of an account
GET
/
accounts
/
{account_id}
/
purchase_proposals
curl --request GET \
--url https://api.togai.com/accounts/{account_id}/purchase_proposals \
--header 'Authorization: <authorization>'
{
"data": [
{
"id": "purchase.1zYnCiM9Bpg.lv25y",
"pricePlanId": "pp.20dINmd0lBg.05sKa",
"pricePlanName": "Advanced Tier",
"pricePlanVersion": 2,
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z"
}
]
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
account_id
string
requiredaccount_id corresponding to an account
Response
200 - application/json
data
object[]
nextToken
string
context
object
curl --request GET \
--url https://api.togai.com/accounts/{account_id}/purchase_proposals \
--header 'Authorization: <authorization>'
{
"data": [
{
"id": "purchase.1zYnCiM9Bpg.lv25y",
"pricePlanId": "pp.20dINmd0lBg.05sKa",
"pricePlanName": "Advanced Tier",
"pricePlanVersion": 2,
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z"
}
]
}