Create a workspace
Changed onCreates a new workspace owned by the authenticated user. Subject to the plan's workspace limit. * * timezone accepts any IANA identifier plus the legacy aliases the product accepts (US/Pacific, US/Eastern, America/Buenos_Aires, MST7MDT, …); an alias is stored in canonical form and the canonical value is returned. An unrecognised identifier is rejected with 422.
Request
- Base URLhttps://api.contentstudio.io
- URLhttps://api.contentstudio.io/api/v1/workspaces
- AuthAPI key in header X-API-Key
Request body
Example request
{
"name": "Acme Marketing",
"logo": "https://logo.clearbit.com/contentstudio.io",
"timezone": "Asia/Karachi",
"super_admin_id": "610a1d92b11ba161ce1cd372",
"note": "Client workspace",
"instagram_posting_method": "api",
"first_day": {
"day": "Monday",
"key": 1
},
"company_name": "Acme Inc",
"company_logo": "https://storage.googleapis.com/lumotive-web-storage/analytics/companies/610a1d92b11ba161ce1cd372/company.jpg"
}Response
Workspace created successfully
Example response
{
"status": true,
"message": "Workspace created successfully. Use the returned `id` as `workspace_id` in subsequent requests."
}Changes
- breaking
added
subschema #4to the response bodyoneOflist for the response status
- breaking
- info
added the new optional request property
- info
added the new optional request property
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info