Skip to main content
POST
/
campaigns
/
{id}
/
upload-url
Create a CSV upload URL
curl --request POST \
  --url https://api.pamhq.com/v1/campaigns/{id}/upload-url \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "upload_url": "<string>",
    "file_id": "<string>",
    "expires_at": "2023-11-07T05:31:56Z"
  },
  "meta": {
    "request_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pam.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:pk_live_your_api_key
required

API key provided as Authorization: Bearer <key>.

Path Parameters

id
string
required

Campaign ID.

Response

Upload URL returned

data
object
meta
object