Adlyft
  1. Workspace Mangment
Adlyft
  • Default module
    • Introduction
    • Getting Started
    • Auth Mangment
      • Get User Token
      • Refresh User Token
    • Workspace Mangment
      • Create Workspace
        POST
      • Get single workspace
        GET
      • Update Workspace
        PATCH
      • Delete Worksapace
        DELETE
      • Change Workspace Admin
        PATCH
    • Team Mangment
      • Create Team
      • Get Workspace Teams
      • Assign member
      • Get team members
      • Get Team By ID
      • Update Team Name
      • Delete Team
      • Delete Team Member
    • Connection
      • Create Connection
      • Get connections by teamId
      • Disconnect
    • Ads Account Mangment
      • Assign ad account
      • Revoke ad account
      • Change ad account
    • Meta
      • Campaigns
        • Get Campaigns
        • Update Campaign Status
        • Create Lead Campaign
        • Create Traffic Campaign
        • Create Sales Campaign
        • Create Awareness Campaign
        • Create Engagement Campaign
      • Lead Form
        • Get Page Lead forms
        • Create Page Lead form
      • Pixels
        • Get Pixels details
        • Get Pixels stats
        • Get Pixels
        • Create Pixel
      • Audience
        • Get Custom Audience
        • Create Lookalike custom audience
        • Get Estimated Audience
      • Import
      • Targeting Search
      • Facebook pages
      • Get Ads
      • Get AdSet
      • Get AdCreative
      • Get Insights
      • Get Ads Account Details
      • Get Single Ad Account Details
      • Get All Bussinesses
      • Get single bussiness
      • Get Owned ad accounts
      • Get product-catalogs
      • Get Ad creative Preview
    • Google
      • list accessible customers
      • import
      • insights
      • Assets
  • new module
    • Default module
  1. Workspace Mangment

Create Workspace

Developing
POST
workspace/
Here you can create workspace for a user by user email

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢201Workspace successfully created
application/json
Body

🟠400 Invalid request body
🟠401Missing or invalid API key
🟠403Missing or invalid authorization token
🟠404Tenant not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging.api.adlyft.otomatika.net/api/v1/workspace/' \
--header 'x-api-key: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "enterpriseId":"1",
    "workspaceName":"New Workspace"
}'
Response Response Example
201 - Success
{
  "success": true,
  "data": {
    "id": "string",
    "name": "string",
    "createdAt": "string",
    "updatedAt": "string"
  },
  "message": "Resource created successfully",
  "timestamp": "2025-12-15T10:30:00.000Z",
  "statusCode": 201
}
Modified at 2025-12-01 16:15:07
Previous
Workspace Mangment
Next
Get single workspace
Built with