Adlyft
  1. Workspace Mangment
Adlyft
  • Introduction
  • Getting Started
  • Auth Mangment
    • Get User Token
      POST
    • Refresh User Token
      GET
  • Workspace Mangment
    • Create Workspace
      POST
    • Get single workspace
      GET
    • Update Workspace
      PATCH
    • Delete Worksapace
      DELETE
    • Change Workspace Admin
      PATCH
  • Team Mangment
    • Create Team
      POST
    • Get Enterprise Team
      POST
    • Assign member
      POST
    • Get team members
      GET
    • Get Team By ID
      GET
    • Update Team Name
      PATCH
    • Delete Team
      DELETE
  • Connection
    • Create Connection
      POST
    • Get all tenant connections
      GET
    • Get connections by teamId
      GET
    • List of ad accounts and their connection statuses.
      GET
    • Delete connection
      DELETE
    • Disconnect
      DELETE
    • Get insights
      GET
  • Ads Account Mangment
    • Assign ad account
      POST
    • Revoke ad account
      POST
    • Change ad account
      POST
  • 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
      • Create Pixel
    • Audience
      • Get Saved Audience
      • Get Custom Audience
    • Import
    • Facebook pages
    • Targeting Search
    • Get Ads
    • Get AdSet
    • Get AdCreative
    • Get Insights
  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 - Example 1
{
    "id": "string",
    "name": "string",
    "createdAt": "string",
    "updatedAt": "string"
}
Modified at 2025-12-01 16:15:07
Previous
Workspace Mangment
Next
Get single workspace
Built with