SHIFT API

Campaign Creation

This part of the API will take the user from an external application directly into the paid Facebook campaign creation process on SHIFT. Use this funtionality if your platform needs advanced features from the SHIFT platform. Developers will need to make a GET request to the endpoint documented below with the app_id and team_id from SHIFT. You will also need to pass the facebook post_ids to properly setup the campaigns on the SHIFT side.

After the user is directed to the SHIFT platform they may perform the following:

The following video is an example of an exemplary integration: Integration

API Reference

This method should be called from the developer's application should open a new browser tab taking the user to the GET endpoint.

GET
/v1/share/<action>

Action can be one of the following:

fb_adcreate: create a facebook ad(s)

query parameters required for the fb_adcreate action are:

GET
/v1/share/make_response/<cls>/<data>

wraps the returned data in a response envelope if a response object wasn’t returned by the route