Pular para o conteúdo principal
GET
/
subscriptions
Listar assinaturas
curl --request GET \
  --url https://api.contas.rdstationmentoria.com.br/rest/subscriptions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "status": "trial",
    "appId": "<string>",
    "priceId": "<string>",
    "coupon": null,
    "source": "third_party",
    "workspaceId": "<string>",
    "createdAt": "2025-07-21T17:52:50.049Z",
    "updatedAt": "2025-07-21T17:52:50.049Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response

id
string
required

Identificador único da assinatura

status
enum<string>
required

Status da assinatura

Opções disponíveis:
trial,
active,
canceled,
ended
appId
string
required

Identificador da aplicação vinculada

priceId
string
required

Identificador do preço contratado

workspaceId
string
required

ID do workspace

coupon
string | null

Cupom aplicado na assinatura

source
enum<string>
default:third_party

Origem da assinatura

Opções disponíveis:
self_service,
third_party
createdAt
string<date-time>
default:2025-07-21T17:52:50.049Z

Data de criação

updatedAt
string<date-time>
default:2025-07-21T17:52:50.049Z

Data da última atualização