- Social
- Comments
- Posts
- Reactions
- Story Groups
- Stories
- Social Views
- Social Collections
- Saved Posts
- Hidden Socials
- Calendar
- Calendars
- Events
- Event Rooms
- Authentication
- Global
- Retrieve All IndustriesGET
- Retrieve All CountriesGET
- Retrieve All LanguagesGET
- Search IndustriesGET
- Seach CountriesGET
- Search LanguagesGET
- Retrieve All SkillsGET
- Search SkillsGET
- Retrieve All DegreesGET
- Search DegreesGET
- Retrieve All Job RolesGET
- Search Job RolesGET
- Retrieve All StatesGET
- Search StatesGET
- Retrieve All CitiesGET
- Search CitiesGET
- Profile
- Organizations
- Search Brand Fetch Brands
- Verify Organization
- Remove a Site
- Create a Site
- Invite Organization Branch
- Retrieve All Branches
- Accept Branch Invitation
- Decline Branch Invitation
- Retrieve All Organization Collaborators
- Retrieve All Organizations
- Search Organizations
- Retrieve an Organization
- Update an Organization
- Delete an Organization
- Create an Organization
- Search Brands
- Retrieve All Social Links
- Members
- Retrieve All Members
- Search Members
- Create a Member
- Invite Organization Members
- Delete Invitation
- Update a Member
- Retrieve a Member
- Delete a Member
- Delete Multiple Members
- Accept Organization Invitation
- Decline Organization Invitation
- Check Member Existence
- Retrieve Invitation Link
- Retrieve Invitation Object
- Retrieve Non-Paginated Organization Members
- Retrieve All Resources of an Organization
- Update Member Resource Roles-V1
- Update Member Resource Roles-V2
- Followers
- Groups
- Profiles
- Experiences
- Group Members
- Profile Search History
- Alumni
- Favorites
- Retrieve an Invitation link
- Organizations
- Notification
- Storage
- Space
- Folders
- Space Members
- Check Member Existence
- Retrieve All Members
- Search Members
- Search Potential Members
- Add a Member
- Invite Members
- Retrieve an Invitation Link
- Accept an Invitation
- Decline an Invitation
- Update a Member
- Assign License
- Assign License to an Organization Group
- Remove a License
- Search License-Assigned Members and Groups
- Remove a Member
- Delete an Invitation
- Leave a Space
- Spaces
- Health
- Course
- Course Versions
- Completions
- Certificates
- Courses
- Retrieve All Courses
- Publish a Course
- Delete a Course
- Retrieve a Course
- Create a Course
- Update a Course
- Search a Course
- Delete All Course
- Review a Course
- Start a Course
- Create a Cycle
- Delete a Cycle
- Clone a Course
- Update Cycles
- Retrieve All Courses With Published Verifying Status
- Search Courses With Published Verifying Status
- Retrieve All Languages Course Count
- Retrieve All Skills Course Count
- Update a Course Certificate
- Create a Coupon
- Update a Coupon
- Delete a Coupon
- Update Version
- Compare Latest Course
- Categories
- Course Members
- Chapters
- Lectures
- Subjects
- Webhook
- Analytics
Create a Space
Testing
POST
/spaces
"teaching", "learning", "organization-purchases"
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aladia.io/v2/spaces' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "ExpressJS courses",
"color": "#2E90FA",
"mode": "teaching",
"image": {
"fileId": "a4eceacc-8894-4a45-8c81-a08825d63faf",
"metadata": {
"size": 14234,
"mimetype": "image/png",
"name": "hello.png"
}
}
}'
Response Response Example
201 - Success
{
"id": "667eb5c2f3f8f2061ec9fa37",
"owner": {
"id": "667987a0bed354f438d8747e",
"type": "profile"
},
"createdBy": "667987a0bed354f438d8747e",
"name": "Hello courses",
"type": "",
"mode": "",
"color": "#2E90FA",
"numberOf": {
"supervisors": 0,
"coordinators": 0,
"members": 0,
"courses": 0,
"folders": 0
},
"createdAt": "2024-06-28T13:07:11.921Z",
"updatedAt": "2024-06-28T13:07:11.921Z",
"updatedBy": "667987a0bed354f438d8747e",
"rootFolder": {
"id": "667eb5c3f3f8f2061ec9fa3b",
"name": "Root folder for Hello courses'",
"parent": null,
"columns": [],
"subFolders": [],
"courses": []
},
"icon": "space-ic-flav",
"image": null,
"members": null
}
Request
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
name
stringÂ
required
type
string  | nullÂ
optional
color
string  | nullÂ
optional
icon
string  | nullÂ
optional
image
objectÂ
optional
fileId
stringÂ
required
metadata
objectÂ
required
autoGenerated
booleanÂ
optional
Examples
Responses
🟢201Created
application/json
Body
id
string <uuid>
optional
Example:
12345abcd
owner
object (Owner.model)Â
optional
id
stringÂ
required
Example:
12345abcd
type
stringÂ
required
name
stringÂ
optional
color
stringÂ
optional
numberOf
object (NumberOf.model)Â
optional
supervisors
numberÂ
optional
coordinators
numberÂ
optional
members
numberÂ
optional
owners
numberÂ
optional
courses
numberÂ
optional
folders
numberÂ
optional
rootFolder
object (RootFolder.rto)Â
required
id
string <uuid>
required
Example:
12345abcd
name
stringÂ
required
parent
stringÂ
optional
columns
array[object (Column.model) {2}]Â
optional
courses
array[object (Space-course.rto) {6}]Â
required
subFolders
array [anyOf]Â
required
icon
string  | nullÂ
optional
type
string  | nullÂ
optional
mode
string  | nullÂ
optional
members
array[object (member.rto) {10}]Â
optional
id
stringÂ
optional
fullName
stringÂ
optional
picture
stringÂ
optional
role
stringÂ
optional
email
stringÂ
optional
online
booleanÂ
optional
invited
booleanÂ
optional
invitedAt
stringÂ
optional
lastActivity
stringÂ
optional
invitationStatus
stringÂ
optional
createdAt
stringÂ
optional
updatedAt
stringÂ
optional
createdBy
string  | nullÂ
optional
updatedBy
string  | nullÂ
optional
isOwner
booleanÂ
optional
image
object  | nullÂ
optional
metadata
objectÂ
optional
url
stringÂ
optional
🟠401Unauthorized
🟠422Parameter Error
🟠403Forbidden
Modified at 2025-04-08 10:45:56