Admin - API Endpoints
To use the following endpoints, you must have the role of administrator or super administrator.
Successful Operation
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
GET /admin/contents/onboardings HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"onboardings": [
{
"id": "c3d1d81d-2eb7-4c01-8a8d-904fd951a17d",
"name": "Onboarding App",
"slug": "onboarding-app",
"type": "APP_ONBOARDING",
"enabled": true
}
]
}
}
Welcome App
false
APP_ONBOARDING
Possible values: Successful Operation
{"statusCode":201}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
POST /admin/contents/onboardings HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"name": "Welcome App",
"enabled": false,
"type": "APP_ONBOARDING"
}
{
"statusCode": 201
}
Successful Operation
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
GET /admin/contents/onboardings/types HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"types": [
"APP_ONBOARDING"
]
}
}
Successful Operation
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
GET /admin/contents/onboardings/{slug}?includeSlides=true HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"id": "c3d1d81d-2eb7-4c01-8a8d-904fd951a17d",
"name": "Onboarding App",
"slug": "onboarding-app",
"type": "APP_ONBOARDING",
"enabled": true,
"onboardingSlides": [
{
"id": "c3d1d81d-2eb7-4c01-8a8d-904fd9dqwkl32",
"title": "Title 1",
"content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry",
"index": 0,
"image": "https://dummyimage.com/300x300/000/fff",
"onboardingId": "c3d1d81d-2eb7-4c01-8a8d-904fd951a17d"
}
]
}
}
Successful Operation
{"statusCode":200}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
DELETE /admin/contents/onboardings/{slug} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200
}
Welcome App
false
APP_ONBOARDING
Possible values: Successful Operation
{"statusCode":200}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
PATCH /admin/contents/onboardings/{slug} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"name": "Welcome App",
"enabled": false,
"type": "APP_ONBOARDING"
}
{
"statusCode": 200
}
Successful Operation
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
GET /admin/contents/onboardings/{slug}/slides HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"slides": [
{
"id": "c3d1d81d-2eb7-4c01-8a8d-904fd9dqwkl32",
"title": "Title 1",
"content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry",
"index": 0,
"image": "https://dummyimage.com/300x300/000/fff",
"onboardingId": "c3d1d81d-2eb7-4c01-8a8d-904fd951a17d"
}
]
}
}
Check Deposits
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
https://dummyimage.com/300x300/000/fff
c3d1d81d-2eb7-4c01-8a8d-904fd951a17d
Successful Operation
{"statusCode":201}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
POST /admin/contents/onboarding-slides HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 216
{
"title": "Check Deposits",
"content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"image": "https://dummyimage.com/300x300/000/fff",
"onboardingId": "c3d1d81d-2eb7-4c01-8a8d-904fd951a17d"
}
{
"statusCode": 201
}
Successful Operation
{"statusCode":200}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
DELETE /admin/contents/onboarding-slides/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200
}
Check Deposits
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
https://dummyimage.com/300x300/000/fff
Through this field you can order the onboarding screens.
0
Successful Operation
{"statusCode":200}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
PATCH /admin/contents/onboarding-slides/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 172
{
"title": "Check Deposits",
"content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"image": "https://dummyimage.com/300x300/000/fff",
"index": 0
}
{
"statusCode": 200
}
Successful Operation
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while entering the information
GET /admin/contents/onboardings/types/{type}?includeSlides=true HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"id": "c3d1d81d-2eb7-4c01-8a8d-904fd951a17d",
"name": "Onboarding App",
"slug": "onboarding-app",
"type": "APP_ONBOARDING",
"enabled": true,
"onboardingSlides": [
{
"id": "c3d1d81d-2eb7-4c01-8a8d-904fd9dqwkl32",
"title": "Title 1",
"content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry",
"index": 0,
"image": "https://dummyimage.com/300x300/000/fff",
"onboardingId": "c3d1d81d-2eb7-4c01-8a8d-904fd951a17d"
}
]
}
}
Last updated
Was this helpful?