Students
Permite incluir as assinaturas. Ex: with=subscriptions. Caso não seja informado, as assinaturas não serão carregadas.
The request has succeeded.
Access is unauthorized.
Client error
Server error
GET /api/v1/students HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "text",
"first_name": "text",
"last_name": "text",
"full_name": "text",
"email": "text",
"photo_url": "text",
"phone": "text",
"genre": "text",
"birth": "text",
"document": "text",
"reference_id": "text",
"created_at": "text",
"updated_at": "text",
"subscriptions": [
{
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
]
}
],
"links": {
"first": "text",
"last": "text",
"prev": "text",
"next": "text"
},
"meta": {
"first": "text",
"last": "text",
"prev": "text",
"next": "text"
}
}ID do aluno
Nome
Sobrenome
Nome completo
URL da foto
Telefone
Gênero
Data de nascimento
Documento do aluno
Identificador externo do aluno (Usado para integrações externas)
Data de criação
Data da última atualização
The request has succeeded and a new resource has been created as a result.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Server error
POST /api/v1/students HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"first_name": "text",
"last_name": "text",
"email": "text",
"phone": "text",
"birth": "text",
"document": "text",
"reference_id": "text"
}{
"data": {
"id": "text",
"first_name": "text",
"last_name": "text",
"full_name": "text",
"email": "text",
"photo_url": "text",
"phone": "text",
"genre": "text",
"birth": "text",
"document": "text",
"reference_id": "text",
"created_at": "text",
"updated_at": "text"
}
}The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
GET /api/v1/students/document/{document} HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text",
"first_name": "text",
"last_name": "text",
"full_name": "text",
"email": "text",
"photo_url": "text",
"phone": "text",
"genre": "text",
"birth": "text",
"document": "text",
"reference_id": "text",
"created_at": "text",
"updated_at": "text",
"subscriptions": [
{
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
]
}
}The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
GET /api/v1/students/email/{email} HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text",
"first_name": "text",
"last_name": "text",
"full_name": "text",
"email": "text",
"photo_url": "text",
"phone": "text",
"genre": "text",
"birth": "text",
"document": "text",
"reference_id": "text",
"created_at": "text",
"updated_at": "text",
"subscriptions": [
{
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
]
}
}Tempo de expiração em segundos
5Link mágico para acesso à plataforma
The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
POST /api/v1/students/email/{email}/magic-link HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"expire_in": 5
}{
"data": {
"expire_in": 5,
"url": "text"
}
}The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
GET /api/v1/students/reference/{reference_id} HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text",
"first_name": "text",
"last_name": "text",
"full_name": "text",
"email": "text",
"photo_url": "text",
"phone": "text",
"genre": "text",
"birth": "text",
"document": "text",
"reference_id": "text",
"created_at": "text",
"updated_at": "text",
"subscriptions": [
{
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
]
}
}The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
GET /api/v1/students/{student_id} HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text",
"first_name": "text",
"last_name": "text",
"full_name": "text",
"email": "text",
"photo_url": "text",
"phone": "text",
"genre": "text",
"birth": "text",
"document": "text",
"reference_id": "text",
"created_at": "text",
"updated_at": "text",
"subscriptions": [
{
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
]
}
}There is no content to send for this request, but the headers may be useful.
No content
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
DELETE /api/v1/students/{student_id} HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Tempo de expiração em segundos
5Link mágico para acesso à plataforma
The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
POST /api/v1/students/{student_id}/magic-link HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"expire_in": 5
}{
"data": {
"expire_in": 5,
"url": "text"
}
}The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
GET /api/v1/students/{student_id}/products HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
]
}ID do produto
Data de adesão YYYY-MM-DD
Data de expiração YYYY-MM-DD
The request has succeeded and a new resource has been created as a result.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
POST /api/v1/students/{student_id}/products HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 70
{
"product_id": "text",
"accession_date": "text",
"expiration_date": "text"
}{
"data": {
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
}The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
GET /api/v1/students/{student_id}/products/{product_id} HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"active": 1,
"status": "active",
"product_id": "text",
"payment_last_date": "text",
"accession_date": "text",
"expiration_date": "text",
"cancel_date": "text",
"product": {
"id": "text",
"title": "text",
"description": "text",
"created_at": "text",
"updated_at": "text"
},
"created_at": "text",
"updated_at": "text"
}
}There is no content to send for this request, but the headers may be useful.
No content
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
DELETE /api/v1/students/{student_id}/products/{product_id} HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
GET /api/v1/students/{student_id}/scores HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"score": 0,
"posts": 0,
"comments": 0,
"replies": 0
}
}Valor da pontuação
0000The request has succeeded.
Access is unauthorized.
The server cannot find the requested resource.
Client error
Server error
PUT /api/v1/students/{student_id}/scores HTTP/1.1
Host: api.themembers.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 11
{
"score": 0
}{
"data": {
"score": 0,
"posts": 0,
"comments": 0,
"replies": 0
}
}Last updated