Read the subscription again
Reads the account's subscription from Polar again and returns the account. Needs a session cookie (401 without one); 503 when the server has no billing or Polar did not answer.
POST
/v1/account/syncReads the account's subscription from Polar again and returns the account. Needs a session cookie (401 without one); 503 when the server has no billing or Polar did not answer.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.conjure.design/v1/account/sync"
{
"email": "string",
"name": "string",
"image": "string",
"curator": true,
"plan": "free",
"subscription": {
"status": "string",
"currentPeriodEnd": "string",
"cancelAtPeriodEnd": true
},
"usage": {
"today": -9007199254740991,
"month": -9007199254740991,
"resetsAt": "string"
},
"key": {
"prefix": "string",
"createdAt": "string",
"lastUsedAt": "string"
},
"mcpUrl": "string"
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}