Skip to content

Create application facebook partner

POST
/api/v2/client/partners/facebook
curl --request POST \
--url https://app.affisemmp.com/api/v2/client/partners/facebook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "application_id": 16, "partner_id": 16, "fb_account_id": "137449171671936806", "fb_pixel_access_token": "z" }'
Media type application/json
object
application_id
required

The id of an existing record in the applications table.

integer
Example
16
partner_id
required

The id of an existing record in the partners table.

integer
Example
16
fb_account_id
required

Must be between 15 and 20 digits.

string
Example
137449171671936806
fb_pixel_access_token

Must not be greater than 255 characters.

string
nullable
Example
z
Media type application/json
object
data
object
id
integer
application_id
integer
partner_id
integer
partner_name
string
fb_account_id
string
nullable
fb_pixel_access_token
string
nullable
message
string
Example
{
"data": {
"id": 46,
"application_id": 374,
"partner_id": 207,
"partner_name": "Henri Mitchell",
"fb_account_id": null,
"fb_pixel_access_token": null
},
"message": "Partner`s facebook settings successfully created."
}