Adlyft
  1. Lead Form
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
    • Get all tenant connections
    • Get connections by teamId
    • List of ad accounts and their connection statuses.
    • Delete connection
    • Disconnect
    • Get insights
  • 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
        GET
      • Create Page Lead form
        POST
    • Pixels
      • Get Pixels
      • Create Pixel
    • Audience
      • Get Saved Audience
      • Get Custom Audience
    • Import
      GET
    • Facebook pages
      GET
    • Targeting Search
      POST
    • Get Ads
      GET
    • Get AdSet
      GET
    • Get AdCreative
      GET
    • Get Insights
      GET
  1. Lead Form

Create Page Lead form

Developing
POST
{teamId}/meta/lead-form

Request

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

Query Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging.api.adlyft.otomatika.net/api/v1/cabbdc29-3fe5-43c7-b815-084ab7c9f6fe/meta/lead-form?adAccountId=act_1342045733694920' \
--header 'x-api-key: $2b$10$3gm2vjmU2FT2iHNlwu/Lg.Gwta4oya1evIS8uBXp5Zs/5Kelh0aCK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pageId": "string",
    "questions": [
        {
            "type": "CUSTOM",
            "label": "string",
            "options": [
                {
                    "value": "string",
                    "key": "string"
                }
            ]
        }
    ],
    "privacyPolicyUrl": "string",
    "privacyPolicyName": "string",
    "name": "string",
    "thankYouPage": {
        "title": "string",
        "body": "string",
        "buttonText": "string",
        "buttonType": "VIEW_WEBSITE",
        "websiteUrl": "string",
        "countryCode": "string",
        "businessPhoneNumber": "string"
    },
    "language": "AR_AR",
    "introPage": {
        "title": "string",
        "style": "LIST_STYLE",
        "content": [
            "string"
        ]
    }
}'
Response Response Example
{
    "id": "string"
}
Modified at 2025-11-18 09:15:58
Previous
Get Page Lead forms
Next
Get Pixels
Built with