Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Account to apply operations to
Lead Form to apply operations to
Body
application/json
curl --request PUT \
--url https://api.sakari.io/v1/accounts/{accountId}/forms/{formId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"active": "2023-11-07T05:31:56Z",
"impressions": 123,
"conversions": 123,
"created": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
},
"updated": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
}
}
}curl --request PUT \
--url https://api.sakari.io/v1/accounts/{accountId}/forms/{formId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"active": "2023-11-07T05:31:56Z",
"impressions": 123,
"conversions": 123,
"created": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
},
"updated": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
}
}
}The access token received from the authorization server in the OAuth 2.0 flow.
Account to apply operations to
Lead Form to apply operations to