Public
Documentation Settings

Account

POSTLogin

{{base_url}}/account/oauth
Bodyurlencoded
email

gilmair.barros@senac.com.br

senha

123456

Example Request
curl
curl --location -g '{{base_url}}/account/oauth' \
--data-urlencode 'email=gilmair.barros@senac.com.br' \
--data-urlencode 'senha=123456'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETMe

{{base_url}}/account/me
HEADERS
Authorization

Bearer {{token}}

Example Request
curl
curl --location -g '{{base_url}}/account/me' \
--header 'Authorization: Bearer {{token}}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTCadastro

{{base_url}}/account/register
Bodyurlencoded
nome

Gil

nascimento

1991-02-01

cpf

40322224870

telefone

11965859781

sobrenome

Vieira

email

emal@email.com

senha

123456

Example Request
curl
curl --location -g '{{base_url}}/account/register' \
--data-urlencode 'nome=Gil' \
--data-urlencode 'nascimento=1991-02-01' \
--data-urlencode 'cpf=40322224870' \
--data-urlencode 'telefone=11965859781' \
--data-urlencode 'sobrenome=Vieira' \
--data-urlencode 'email=emal@email.com' \
--data-urlencode 'senha=123456'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

PUTProfile

{{base_url}}/account/profile
HEADERS
Authorization

Bearer {{token}}

Bodyurlencoded
nome

Gilzão

nascimento

1991-02-01

cpf

24154856081

telefone

1199999999

sobrenome

Vieira

email

gil.vieira@email.com

Example Request
curl
curl --location -g --request PUT '{{base_url}}/account/profile' \
--header 'Authorization: Bearer {{token}}' \
--data-urlencode 'nome=Gilzão' \
--data-urlencode 'nascimento=1991-02-01' \
--data-urlencode 'cpf=24154856081' \
--data-urlencode 'telefone=1199999999' \
--data-urlencode 'sobrenome=Vieira' \
--data-urlencode 'email=gil.vieira@email.com'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers