This documentation aims to provide all the information you need to work with our API. The v2 (and above) API follows the Design Principles and Guidelines. If you find anything that doesn't comply, please complain to the dev team immediately 👮
To authenticate requests, include a Authorization header with the value "{accessToken}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
For more information see Authentication in the P&E docs.
Manages the creator blocklist for an advertiser.
Creators added to the blocklist will not see the advertiser nor be able to convert links for that advertiser.
The ID of the advertiser.
Filters results to match user ID or username. Must not be greater than 128 characters.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/18/blocklist?query=eh" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"created_at": null,
"created_by": {
"id": 3973,
"username": "blick.laurence",
"display_name": "Madie Baumbach",
"email": "[email protected]",
"client_id": 4206,
"preferred_locale": "kk_KZ",
"language": "kk"
},
"client": {
"id": 4207,
"name": "Idell Nitzsche",
"client_id": "2COatad42E",
"has_own_payment_system": false,
"revenue_share": 1
}
},
{
"id": null,
"created_at": null,
"created_by": {
"id": 3974,
"username": "alessandro.shanahan",
"display_name": "Delpha Ziemann",
"email": "[email protected]",
"client_id": 4208,
"preferred_locale": "bn_BD",
"language": "bn"
},
"client": {
"id": 4209,
"name": "Chelsey Schultz Jr.",
"client_id": "0xOUXn0vQe",
"has_own_payment_system": false,
"revenue_share": 1
}
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
Adds the given entries to the blocklist, ignoring them if they previously existed.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/9/blocklist" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"users\": [
{
\"id\": 123,
\"validate_clicks\": true
},
{
\"id\": 456,
\"validate_clicks\": false
}
],
\"user_tag_ids\": [
10
],
\"client_ids\": [
20
]
}"
The ID of the advertiser.
The ID of the target.
curl --request DELETE \
"https://api.metapic.dev/v2/advertisers/3/blocklist/3" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Returns the settings to be added to the sales pixel script.
The advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/et/order-collectors/sales-pixel" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Returns the tracking configuration for the advertiser.
The advertiser.
The identifier of the collector
woocommercecurl --request GET \
--get "https://api.metapic.dev/v2/advertisers/consequuntur/order-collectors/woocommerce" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Activates the tracking plugin with the given activation key.
Returns the parameters to insert into the Javascript tracking snippet.
curl --request POST \
"https://api.metapic.dev/v2/activate-tracking-plugin" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"metapic_activation_key\": \"vitae\"
}"
Returns remaining email quota for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/8/email-quota" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/5/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/9/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"aut\"
}"
Creates a new Metapic user and self-service advertiser for the current session. Requires an Ory-issued JWT for a session not yet linked to a Metapic user (no metapic_user_id).
curl --request POST \
"https://api.metapic.dev/v2/advertiser-representatives" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"My Store\",
\"domains\": [
[
\"dev.test-test.com\"
]
],
\"categories\": [
16
],
\"logo_url\": \"https:\\/\\/www.altenwerth.com\\/ratione-eos-ipsum-vitae-temporibus-quo-aut\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"reprehenderit\",
\"street\": \"eius\",
\"postal_code\": \"rerum\",
\"city\": \"voluptatem\",
\"vat_number\": \"qui\"
}
}"
Endpoint for querying & sorting all stores.
Query by either of the following: ID, store name.
Returns all stores with id equal to query OR name contains query. Must not be greater than 255 characters.
Query by store's store group. Returns all stores which belong to the given store_group_id.
Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/stores?query=nike&store_group_id=15&size=20&sort_by=quasi" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "Jerde, Willms and Cormier"
},
{
"id": null,
"name": "Haag, Howe and Osinski"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/14/stores-by-categories" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/14/stores-by-toplist" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Returns list of advertisers with commission rates, campaigns, and other relevant information for the creator.
The ID of the user.
Filter by advertiser category. The ID of an existing record in the store_categories table. If not provided, returns recommended (toplist) advertisers. The id of an existing record in the store_categories table.
Include optional relationships in the response. Options: mainUrlMatchingRule, StoreCategories.
mainUrlMatchingRuleStoreCategoriesPage number for pagination.
Number of items per page. Defaults to 200. Must not be greater than 200.
curl --request GET \
--get "https://api.metapic.dev/v2/users/14/advertisers?category_id=5&include[]=StoreCategories&page=1&size=200" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 2300,
"name": "Rice, Kiehn and Kshlerin",
"traffic_sources_costs": [
{
"source": 0,
"cpc": 100,
"cpc_v2": {
"amount": "1",
"currency": "GBP"
},
"cpa": 0.1,
"currency": "GBP"
}
]
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Next »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
Creates Metapic user and accepts all pending invites for advertiser
curl --request PATCH \
"https://api.metapic.dev/v2/me/advertiser-invites" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Manages url matching rules for an advertiser. Url Matching rule can either be to allow or to block matching of a URL based on added rules.
Returns all url matching rules defined for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/20/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"type": null,
"is_main": null,
"url": "testcompany.com",
"updated_at": null
},
{
"id": null,
"type": null,
"is_main": null,
"url": "testcompany.com",
"updated_at": null
}
]
Adds a new rule to the url matching for the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/5/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"block\",
\"url\": \"http:\\/\\/www.kihn.biz\\/\",
\"keyword\": \"fnsfbekmg\",
\"is_main\": false
}"
Updates existing url matching rule for the advertiser.
The ID of the advertiser.
The ID of the urlMatchingRule.
curl --request PUT \
"https://api.metapic.dev/v2/advertisers/3/url-matching-rules/17" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"allow\",
\"url\": \"http:\\/\\/johns.info\\/omnis-nemo-id-sunt-sunt-et-nisi-consequatur.html\",
\"keyword\": \"lesinitlvhyzhcxzfj\",
\"is_main\": false
}"
Removes existing url matching rule for the advertiser.
The ID of the advertiser.
The ID of the urlMatchingRule.
curl --request DELETE \
"https://api.metapic.dev/v2/advertisers/2/url-matching-rules/7" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://api.metapic.dev/v2/stores" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"My Store\",
\"domains\": [
[
\"dev.test-test.com\"
]
],
\"categories\": [
16
],
\"logo_url\": \"http:\\/\\/www.mosciski.biz\\/voluptatem-dolorum-quam-qui-consectetur\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"magnam\",
\"street\": \"qui\",
\"postal_code\": \"est\",
\"city\": \"facere\",
\"vat_number\": \"adipisci\"
}
}"
{
"id": null,
"name": "Cruickshank-Wilderman"
}
Deactivates the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/16/deactivate" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" App\Http\Resources\Store\StoreResource
Endpoint for querying & sorting all advertiser groups.
Only return advertiser groups which have return ads enabled.
Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/advertiser-groups?return_ad_enabled=1&size=20&sort_by=cum" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 19,
"name": "Strosin Group",
"key": "vi_VN",
"currency": "GBP"
},
{
"id": 19,
"name": "Strosin Group",
"key": "vi_VN",
"currency": "GBP"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
The ID of the affiliate link.
curl --request GET \
--get "https://api.metapic.dev/v2/affiliate-links/laudantium" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"url": "http://www.harber.org/iste-dignissimos-deserunt-ut-voluptas",
"original_url": "http://www.west.com/nemo-et-nobis-aut-praesentium-molestias-iure.html",
"user_id": 3981,
"country": "IL",
"provider": "olive",
"advertiser": {
"id": 2306,
"name": "Stamm, Ferry and Bashirian"
},
"title": "Miss Nina Marks PhD"
}
Returns advertisers if there are multiple advertisers to match the url with. Otherwise, returns the affiliate link.
curl --request POST \
"https://api.metapic.dev/v2/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 12,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": false
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "http://zboncak.com/aut-odio-voluptatem-tempora-quo-tempora-sequi",
"original_url": "https://stracke.com/eveniet-est-atque-voluptatum-nihil.html",
"user_id": 3982,
"country": "NA",
"provider": "navy",
"advertiser": {
"id": 2307,
"name": "Champlin-Davis"
},
"title": "Mrs. Mollie Bogan III"
}
}
Returns advertisers if there are multiple advertisers to match the url with. Otherwise, returns the affiliate link.
The ID of the user.
curl --request POST \
"https://api.metapic.dev/v2/users/14/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 19,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": true
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "http://ratke.info/quod-quia-voluptatem-repellendus-architecto.html",
"original_url": "http://roberts.biz/quaerat-omnis-qui-cupiditate",
"user_id": 3983,
"country": "SE",
"provider": "lime",
"advertiser": {
"id": 2308,
"name": "Carroll Inc"
},
"title": "Ressie Treutel"
}
}
Returns a paginated list of affiliate links associated with the creator.
Filter affiliate links by creator (user) id. The id of an existing record in the users table.
Filter affiliate links by advertiser (store) id. The id of an existing record in the stores table.
Filter links created on or after this date (Y-m-d). Must be a valid date. Must be a date before or equal to date_to.
Filter links created on or before this date (Y-m-d). Must be a valid date. Must be a date after or equal to date_from.
Include related data. When "stats" is included, the response will contain clicks, earnings, and potential earnings, and allow sorting by clicks and earnings.
statsadvertiserAvailable column names: number_of_clicks, cost_creator_approved, created_at. Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
Page number for pagination. Must be at least 1.
Number of items per page. Defaults to 20. Must be at least 1. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/affiliate-links?user_id=456&advertiser_id=123&date_from=2024-01-01&date_to=2024-01-31&include[]=stats&sort_by=created_at%3Adesc&page=1&size=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"title": "Syble O'Hara",
"mtpc_url": null,
"user_id": 3984,
"created_at": null
},
{
"id": null,
"title": "Rollin Heathcote",
"mtpc_url": null,
"user_id": 3985,
"created_at": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
Determines convertibility of a URL, detects existing affiliate links, and returns matching advertisers when applicable.
The ID of the user.
curl --request POST \
"https://api.metapic.dev/v2/users/14/inspections/affiliate-link" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"ignore_advertiser_visibility\": true
}"
{
"inspection_result": "single_advertiser",
"matching_advertisers": [
{
"id": 123,
"name": "Advertiser Name",
"traffic_sources_costs": [
{
"id": 15,
"source": 0,
"cpc": 100,
"cpc_v2": {
"amount": "10",
"currency": "EUR"
},
"currency": "EUR"
}
],
"... other StoreResource fields ... "
}
]}
It converts url to an affiliate link.
The ID of the user.
curl --request POST \
"https://api.metapic.dev/v3/users/14/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 2
}"
{
"url": "http://www.ferry.info/ducimus-ut-sunt-facilis-neque",
"original_url": "https://www.deckow.info/fugiat-neque-et-non-veniam-et-repellat-distinctio-dolore",
"user_id": 3987,
"country": "GD",
"provider": "black",
"advertiser": {
"id": 2312,
"name": "Stark-Kub"
},
"title": "Fred Fahey"
}
Creates Metapic user and accepts all pending invites for agency
curl --request PATCH \
"https://api.metapic.dev/v2/me/agency-invites" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Endpoint for querying & sorting all clients.
Query by id or name. Returns all clients where id is equal to query OR name contains query OR any revenue tier name contains query. Must not be greater than 128 characters.
Query by advertiser group. Returns all clients which belong to the given advertiser_group_ids.
Page size. Defaults to 20. Must not be greater than 500.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/clients?query=internal+name&advertiser_group_ids[]=1&size=20&sort_by=sapiente" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 14,
"name": "Kaden Boyle",
"client_id": "mVahHOR66Y",
"has_own_payment_system": false,
"revenue_share": 1
},
{
"id": 14,
"name": "Kaden Boyle",
"client_id": "mVahHOR66Y",
"has_own_payment_system": false,
"revenue_share": 1
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
Operations on Media posted by Creators
Filters media by username.
Filter user media by show store value.
all012Filters media by type.
allinstagramtiktokyoutubeFilter user media by favorite value.
all10:shrug:.
Format to export.
csvxlsxjsoncurl --request GET \
--get "https://api.metapic.dev/v2/user-media?query=doloremque&status=all&type=instagram&favorite=0&group=13&format=csv" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"current_page": 1,
"data": [
{
"id": 1,
"media_type": "youtube",
"media_id": "FLR0BB4qDt8",
"username": "hamida_most",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 1,
"published_at": "2023-05-13",
"created_at": "2023-07-18T12:02:53.000000Z",
"updated_at": "2023-07-18T12:09:13.000000Z"
},
{
"id": 2,
"media_type": "tiktok",
"username": "juliaringblomm",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 0,
"published_at": "2023-06-17",
"created_at": "2023-07-18T12:10:49.000000Z",
"updated_at": "2023-07-18T13:39:28.000000Z",
"media": {
"content_type": "video/mp4",
"href": "https://metapic-tiktok-media.example/juliaringblomm/7245692137566653722"
}
},
{
"id": 3,
"media_type": "instagram",
"username": "juliaringblomm",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 0,
"published_at": "2023-06-17",
"created_at": "2023-07-18T12:10:49.000000Z",
"updated_at": "2023-07-18T13:39:28.000000Z",
"media": {
"content_type": "video/mp4",
"href": "https://metapic-instragram-media.example/juliaringblomm/7245692137566653722"
}
},
{
"id": 4,
"media_type": "instagram",
"username": "juliaringblomm",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 0,
"published_at": "2023-06-17",
"created_at": "2023-07-18T12:10:49.000000Z",
"updated_at": "2023-07-18T13:39:28.000000Z",
"media": {
"content_type": "image/jpeg",
"href": "https://metapic-instragram-media.example/juliaringblomm/7245692137566653722"
}
}
],
"first_page_url": "http://metapic-api.my/user-media?page=1",
"from": 1,
"last_page": 3,
"last_page_url": "http://metapic-api.my/user-media?page=3",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://metapic-api.my/user-media?page=1",
"label": "1",
"active": true
},
{
"url": "http://metapic-api.my/user-media?page=2",
"label": "2",
"active": false
},
{
"url": "http://metapic-api.my/user-media?page=3",
"label": "3",
"active": false
},
{
"url": "http://metapic-api.my/user-media?page=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "http://metapic-api.my/user-media?page=2",
"path": "http://metapic-api.my/user-media",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 12
}
curl --request GET \
--get "https://api.metapic.dev/v2/health" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"status": "up"
}
curl --request GET \
--get "https://api.metapic.dev/v2/store-categories" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"name": "Books"
},
{
"id": null,
"name": "Books"
}
]
curl --request GET \
--get "https://api.metapic.dev/v2/payments/getPaymentInvoices" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_period\": \"2026-04\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
curl --request POST \
"https://api.metapic.dev/v2/payments/upload-ax-id-matching" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"file\": \"twfcqbiiqieqrkyep\"
}"
curl --request POST \
"https://api.metapic.dev/v2/payments/mark-invoices-as-paid" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"file\": \"lbztkgpghccezzsvqcr\"
}"
Endpoint for generating a creator invoice from external component
curl --request POST \
"https://api.metapic.dev/v2/payments/generate-creator-invoice/quidem" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoint for querying the current payment systems configuration
The payment date. Example: 2021-01-11. Must be a valid date.
Filter by client ID. The id of an existing record in the clients table.
Filter by user ID. The id of an existing record in the users table.
curl --request GET \
--get "https://api.metapic.dev/v2/payments/systems-config?date=2021-01-11&client_id=2&user_id=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Endpoint for updating the current payment systems configuration
curl --request POST \
"https://api.metapic.dev/v2/payments/systems-config" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"date\": \"2026-04-24T11:08:14\",
\"client_id\": 14,
\"user_id\": 8,
\"system\": 1,
\"ignore_lock\": false
}"
curl --request GET \
--get "https://api.metapic.dev/v2/entrypoint" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"app\": \"admin\",
\"store_id\": 20
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://api.metapic.dev/v2/notifications-proxy/5S(*" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Creates new campaign for a store.
The store ID.
curl --request POST \
"https://api.metapic.dev/v2/stores/15/offers" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 10,
\"type\": \"store_accept\",
\"name\": \"Summer campaign for VIP creators\",
\"campaign_title\": \"Summer campaign\",
\"campaign_text\": \"This is a summer campaign!\",
\"has_product_seeding\": false,
\"has_onetime_payment\": true,
\"per_user_limit\": true,
\"one_time_payment\": 386802.294,
\"budget_limit\": 4,
\"max_clicks\": 9,
\"valid_from\": \"2026-04-24T11:08:11\",
\"valid_until\": \"2087-11-16\",
\"todo\": [
\"kvptsmeplkzkpogfhaezo\"
],
\"show_for_advertiser\": false,
\"priority_after\": 16,
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
},
\"targets\": {
\"user_ids\": [
10
],
\"user_tag_ids\": [
3
],
\"store_group_ids\": [
13
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"vykrhyetolfxvjwrmfwoz\"
],
\"client_ids\": [
17
],
\"revenue_tier_ids\": [
12
]
},
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
]
}"
{
"data": {
"id": null,
"campaign_title": "Antonetta Collier",
"campaign_text": "Soluta optio sapiente voluptas. Et quaerat quis molestiae soluta. Odio vero et dicta aut voluptates et rem. Illo sequi tempora consequuntur.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMDExP3RleHQ9cXVpYQ==",
"image": null,
"store_id": 2266,
"token": "ok3p5e3pihcznj2p",
"type": "standard",
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
},
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
}
Returns information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offers/15556" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Mr. Roderick Heidenreich",
"campaign_text": "Soluta dolore aspernatur adipisci cum voluptatem. Tempore eum soluta assumenda dolores nostrum voluptatem non aut. Vitae sed exercitationem facilis temporibus sit.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3Nzc3P3RleHQ9Y3VwaWRpdGF0ZQ==",
"image": null,
"store_id": 2267,
"token": "styz82mo9dguaz04",
"type": "standard"
}
Updates existing campaign.
The ID of the offer.
The offer ID
curl --request PUT \
"https://api.metapic.dev/v2/offers/17" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 14,
\"type\": \"user_accept\",
\"name\": \"Summer campaign for VIP creators\",
\"campaign_title\": \"Summer campaign\",
\"campaign_text\": \"This is a summer campaign!\",
\"has_product_seeding\": false,
\"has_onetime_payment\": false,
\"per_user_limit\": true,
\"one_time_payment\": 91125.522827,
\"budget_limit\": 2,
\"max_clicks\": 12,
\"valid_from\": \"2026-04-24T11:08:11\",
\"valid_until\": \"2060-10-19\",
\"todo\": [
\"rjsofqsikfertfczalocovh\"
],
\"show_for_advertiser\": true,
\"priority_after\": 6,
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 0
}
],
\"targets\": {
\"0\": [],
\"user_ids\": [
18
],
\"user_tag_ids\": [
11
],
\"store_group_ids\": [
17
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"tfplwcsbztz\"
],
\"client_ids\": [
17
],
\"revenue_tier_ids\": [
18
]
},
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
}
}"
{
"data": {
"id": null,
"campaign_title": "Cathryn Quitzon",
"campaign_text": "Quos dicta eum sit tempore fuga. Asperiores consequuntur est qui amet error magni. Saepe perspiciatis aperiam sapiente. Possimus magnam iste assumenda et totam tenetur tempora.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGJiP3RleHQ9cXVpZGVt",
"image": null,
"store_id": 2268,
"token": "0mgnzgsmxvmmz8wd",
"type": "standard",
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
},
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
}
Soft deletes a campaign.
The ID of the offer.
The offer ID
curl --request DELETE \
"https://api.metapic.dev/v2/offers/16" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoint for querying & sorting all campaigns.
Query by either of the following: ID, internal name, title.
Returns all offers with id equal to query OR name contains query OR campaign_title contains query. Must not be greater than 64 characters.
deletedendedscheduledpausedactiveQuery by offer's store. Returns all offers which belong to the given store_ids.
Query by offer's store group. Returns all offers which belong to the given store_group_ids.
Query by offer's author ID. Returns all offers created by the user making the request
Query by offer's ID. Performs an 'OR' search, compared to 'AND' search for other filters, so an offer with given ID is always included in the results, if matched.
Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
ends_soonactive_firstcsvxlsxFilter offers created on or before this timestamp (ISO 8601 UTC format).
Admin-only filter offers by visibility on the advertiser.
Filter offers by advertiser. Required when filtering as non-admin.
curl --request GET \
--get "https://api.metapic.dev/v2/offers?query=black+friday&statuses[]=paused&store_ids[]=1&store_group_ids[]=1&created_by=12&or_id=1234&target_user_id=11&size=20&sort_by=eligendi&custom_sort_by=active_first&format=csv&created_before=2024-04-22T10%3A30%3A00Z&show_for_advertiser=1&advertiser_id=123" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Madaline Satterfield",
"campaign_text": "Eligendi maiores voluptas saepe quos ut assumenda nihil rerum. Nesciunt exercitationem consequatur ut voluptatem. Tempora vel ut iusto qui. Ab ab exercitationem rerum ut mollitia.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWJiP3RleHQ9c2l0",
"image": null,
"store_id": 2269,
"token": "vely16o6l6f3c7l0",
"type": "standard"
},
{
"id": null,
"campaign_title": "Alvena Eichmann I",
"campaign_text": "Harum provident dolores quo incidunt inventore. Repudiandae corrupti eaque suscipit ipsam nemo quas. Et doloribus nihil delectus impedit sunt voluptas.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3N2VlP3RleHQ9bm9zdHJ1bQ==",
"image": null,
"store_id": 2270,
"token": "ggfuqmak335e04qp",
"type": "standard"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
Uploads an image to a campaign.
The offer ID
curl --request POST \
"https://api.metapic.dev/v2/offers/15556/uploads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"default\": \"qui\"
}"
{
"id": null,
"campaign_title": "Russ Hammes",
"campaign_text": "Ea sit corporis voluptatum voluptas omnis. A qui excepturi quasi fugit nam voluptatibus. Velit aut at quaerat voluptatem ad voluptas. Quibusdam qui molestiae sapiente qui. Quam nihil quia id.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjIyP3RleHQ9ZG9sb3I=",
"image": null,
"store_id": 2271,
"token": "rpwp6tntqhmws7uo",
"type": "standard"
}
The offer ID
curl --request POST \
"https://api.metapic.dev/v2/offers/15556/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Mr. Doris Marvin",
"campaign_text": "Voluptate veniam quas maxime occaecati. Suscipit iure debitis eos eaque explicabo iure dolores. Alias doloribus corrupti consequatur hic voluptas saepe hic. Sed non illo non distinctio.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzMzMzP3RleHQ9YXQ=",
"image": null,
"store_id": 2272,
"token": "1rysufku5v25gidv",
"type": "standard"
}
The offer ID
curl --request POST \
"https://api.metapic.dev/v2/offers/15556/unpause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Carlotta Stracke",
"campaign_text": "Nam sunt iure similique explicabo excepturi. Laudantium fugit ut aliquam aliquid quia. Illum sequi nesciunt quidem sint recusandae sed sed. Aut molestiae nihil odit architecto.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTQ0P3RleHQ9ZG9sb3J1bQ==",
"image": null,
"store_id": 2273,
"token": "kapddf3v0x7owbwc",
"type": "standard"
}
Returns statistics about a specific campaign.
The offer ID
The start date for the stats period (YYYY-MM-DD)
The end date for the stats period (YYYY-MM-DD)
curl --request GET \
--get "https://api.metapic.dev/v2/offers/15556/stats?start_date=2023-01-01&end_date=2023-01-31" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2022-12-19\",
\"end_date\": \"2104-08-13\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the offer.
The ID of the tag.
The campaign (offer) ID.
The affiliate link (tag) ID.
curl --request PUT \
"https://api.metapic.dev/v2/offers/15/affiliate-links/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
The ID of the offer.
The ID of the tag.
The campaign (offer) ID.
The affiliate link (tag) ID.
curl --request DELETE \
"https://api.metapic.dev/v2/offers/8/affiliate-links/2" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Returns campaigns that are not of type "standard" with additional information about user participation. It also allows filtering by title, multiple campaign and participant statuses.
The ID of the user.
DEPRECATED. Use statuses instead. Cannot be used together with statuses.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentFilter campaigns by name. Must not be greater than 128 characters.
Filter by multiple participant statuses.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentFilter by multiple campaign statuses.
activescheduledPage number for pagination.
Number of items per page. Defaults to 30. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/users/14/offers?status=accepted&name=Nike&participant_statuses[]=applied&campaign_statuses[]=active&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Turner Jast",
"campaign_text": "Voluptas nostrum debitis hic omnis eveniet. Molestiae et eos dolore est a molestiae consequatur. Enim ex perferendis eum in quia nisi qui asperiores. Minus vitae laudantium dolores ut.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2JiP3RleHQ9Y29tbW9kaQ==",
"image": null,
"store_id": 2302,
"token": "004nb7nqvw360fdk",
"type": "standard"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Next »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
Returns campaigns that are not of type "standard" with additional information about user participation. It also allows filtering by title, multiple campaign and participant statuses.
The ID of the user.
DEPRECATED. Use statuses instead. Cannot be used together with statuses.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentFilter campaigns by name. Must not be greater than 128 characters.
Filter by multiple participant statuses.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentFilter by multiple campaign statuses.
activescheduledPage number for pagination.
Number of items per page. Defaults to 30. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/users/14/campaigns?status=accepted&name=Nike&participant_statuses[]=denied&campaign_statuses[]=active&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Chanel Wunsch",
"campaign_text": "Vel id non eum eveniet impedit id perspiciatis. A autem cupiditate qui molestiae harum officiis. Omnis ipsam voluptatem qui amet recusandae molestiae dolorem.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMWNjP3RleHQ9bGF1ZGFudGl1bQ==",
"image": null,
"store_id": 2304,
"token": "3yq0vk10st0siu5k",
"type": "standard"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Next »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
Returns information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/et" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Prof. Cedrick Zieme V",
"campaign_text": "Vero at expedita sint et aliquam fugit nemo. Cupiditate quis est est. Iusto molestias est consequatur architecto. Incidunt aliquam ut rerum dolorem velit.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjAwP3RleHQ9cXVp",
"image": null,
"store_id": 2311,
"token": "nikt6jmz4miorkhp",
"type": "standard"
}
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offers/15556/targets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The offer ID
curl --request POST \
"https://api.metapic.dev/v2/offers/15556/targets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_ids\": [
15
],
\"user_tag_ids\": [
12
],
\"store_group_ids\": [
16
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"vmcnlcoujsfdftwpmjr\"
],
\"client_ids\": [
12
],
\"revenue_tier_ids\": [
13
]
}"
The ID of the offer.
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/1/users/14" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/11/participants" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"iidzztxxc\",
\"status\": \"suggestion\",
\"include\": [
\"offer_comments_count\"
]
}"
{
"data": [
{
"id": null,
"offer_id": 817,
"user_id": null,
"display_name": "[email protected]",
"clicks": 71376,
"status": "denied",
"pre_registered_email": "[email protected]",
"todo": null,
"payment_amount": null
},
{
"id": null,
"offer_id": 818,
"user_id": null,
"display_name": "uadams",
"clicks": 3,
"status": "have_received",
"pre_registered_identifier": "uadams",
"todo": null,
"payment_amount": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
The ID of the offer.
The ID of the participant.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/20/participants/10" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"offer_id": 819,
"user_id": 3946,
"display_name": null,
"clicks": 6,
"status": "suggestion",
"todo": null,
"payment_amount": null
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/12/participants-stats" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"qlzkcwtl\",
\"active\": true,
\"start_date\": \"1998-03-30\",
\"end_date\": \"2090-08-12\",
\"sort_by\": \"estimated_earning_to_cost_ratio:desc\"
}"
{
"data": [
{
"id": null,
"user_id": null,
"display_name": null,
"clicks": 0,
"status": null,
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
},
{
"id": null,
"user_id": null,
"display_name": null,
"clicks": 0,
"status": null,
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/16/participants-count-by-click-activity" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2011-01-24\",
\"end_date\": \"2066-09-07\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/19/participants/12/update-status" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"store_denied\"
}"
{
"id": null,
"offer_id": 820,
"user_id": null,
"display_name": "[email protected]",
"clicks": 592,
"status": "have_posted",
"pre_registered_email": "[email protected]",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/14/participants/5/todo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"todo\": [
{
\"key\": \"vvboqixjciamieyfncqdorm\",
\"value\": true
}
]
}"
{
"id": null,
"offer_id": 821,
"user_id": null,
"display_name": "[email protected]",
"clicks": 1047,
"status": "store_denied",
"pre_registered_email": "[email protected]",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PUT \
"https://api.metapic.dev/v2/offers/4/participants/10/payment-amount" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_amount\": {
\"amount\": \"1.2\",
\"currency\": \"EUR\"
}
}"
{
"id": null,
"offer_id": 822,
"user_id": 3949,
"display_name": null,
"clicks": 82,
"status": "second_prio",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/7/participants/2/overrides/clicks" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"click_limit\": 6
}"
{
"id": null,
"offer_id": 823,
"user_id": 3951,
"display_name": null,
"clicks": 2432,
"status": "store_denied",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/1/participants/3/overrides/costs" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": {
\"amount\": \"1.2\",
\"currency\": \"EUR\"
},
\"cpa\": 0.2
}
]
}"
{
"id": null,
"offer_id": 824,
"user_id": 3953,
"display_name": null,
"clicks": 12780,
"status": "open",
"todo": null,
"payment_amount": null
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/similique/users/14" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
set-cookie: metapic_session=eyJpdiI6IldvdDkvUGtZcEdXMnFWYjFlblB2WGc9PSIsInZhbHVlIjoid0lSMFM3cEh2QSsxSElSQWRLZG80QXJ5VHEyTStMaE1zenIxckM3UGVQcHkyTUZWdVpxdkxUM0NpVzcxMWJrM1BZRmF6Q1REei9TajRWcXBLcTNnaGtqOWN6NnA2TlBoODBpK21tSThqMk54ZEhpQzJoRUFGOWRpaFRmakdqNlEiLCJtYWMiOiJlOTE0MDc3ZmFmMjE3OGVhMTI0ODdmMmZlODk1OTM5MmIxYWY2YWJkMGYwODE5YmJiYWI0MmVhNGFkN2NkOTM4IiwidGFnIjoiIn0%3D; expires=Fri, 24 Apr 2026 11:08:14 GMT; Max-Age=7200; path=/; secure; httponly
{
"message": "Unauthenticated."
}
This can only be performed by the user themselves.
The ID of the user.
curl --request POST \
"https://api.metapic.dev/v2/offer-by-token/et/users/14/join" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the offerUser.
curl --request POST \
"https://api.metapic.dev/v2/offer-users/1/comments" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"ncyllabklyrorefardphri\"
}"
The ID of the offerUser.
The ID of the comment.
The ID of the comment.
curl --request PUT \
"https://api.metapic.dev/v2/offer-users/1/comments/11" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"mtqc\"
}"
The ID of the offerUser.
The ID of the comment.
The ID of the comment.
curl --request DELETE \
"https://api.metapic.dev/v2/offer-users/1/comments/14" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://api.metapic.dev/v2/offer-users/enim/activities" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"include\": [
\"has_unread_notification\"
]
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Creates a Hubspot deal for advertiser representative when triggered by an Ory registration.after webhook.
curl --request POST \
"https://api.metapic.dev/v2/webhooks/ory/identities/created" \
--header "mtpc-api-key: {mtpc-api-key}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"identity\": {
\"id\": \"ory_identity_id_123\",
\"traits\": {
\"email\": \"[email protected]\"
}
},
\"app_url\": \"https:\\/\\/advertiser.metapic.com\"
}"
[Empty response]
Updates a user when triggered by an Ory settings.after webhook.
curl --request POST \
"https://api.metapic.dev/v2/webhooks/ory/identities/updated" \
--header "mtpc-api-key: {mtpc-api-key}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"identity\": {
\"id\": \"ory_identity_id_123\",
\"traits\": {
\"email\": \"[email protected]\"
}
}
}"
[Empty response]
Paginated list of Return Ads
Page size. Defaults to 20. Must not be greater than 100.
Query by either of the following: ID or name.
Returns all return ads with id equal to query OR name contains query. Must not be greater than 64 characters.
Query by return ad's advertiser group. Returns all return ads which belong to the given advertiser_group_ids.
Query by return ad's advertiser. Returns all return ads which belong to the given advertiser_ids.
deletedendedscheduledpausedactiveQuery by return ad's ID. Performs an 'OR' search, compared to 'AND' search for other filters, so an return ad with given ID is always included in the results, if matched.
Query sorted by (name, created_at, starts_at, ends_at, current_clicks, current_views, order_count, order_value, earnings or click_through_rate). Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
name:ascname:desccreated_at:asccreated_at:descstarts_at:ascstarts_at:descends_at:ascends_at:desccurrent_clicks:asccurrent_clicks:desccurrent_views:asccurrent_views:descorder_count:ascorder_count:descorder_value:ascorder_value:descearnings:ascearnings:descclick_through_rate:ascclick_through_rate:descconversion_rate:ascconversion_rate:desccurl --request GET \
--get "https://api.metapic.dev/v2/return-ads?size=20&query=internal+name&advertiser_group_ids[]=1&advertiser_ids[]=1&statuses[]=deleted&created_by=&or_id=1234&sort_by=current_clicks%3Aasc" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "Albertha Wiza",
"advertiser_group_id": 4935,
"affiliate_link": {
"id": 880,
"url": "http://jakubowski.com/labore-deleniti-et-minus",
"original_url": "http://www.tillman.com/tempore-consequuntur-totam-exercitationem-quis-vel-voluptas-aut",
"mtpc_url": "https://c.mtpc.se/880",
"user_id": 3955,
"country": "TD",
"provider": "white",
"advertiser": {
"id": 2287,
"name": "Kunde-Cole"
},
"title": "Kay Wintheiser",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3956,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.686798Z",
"ends_at": "2026-05-24T09:08:13.686868Z",
"stats": []
},
{
"id": null,
"name": "Nova Pfannerstill",
"advertiser_group_id": 4938,
"affiliate_link": {
"id": 881,
"url": "https://www.white.info/ut-deserunt-quo-consequatur-natus-eum",
"original_url": "http://gutmann.com/nobis-facilis-asperiores-et-sunt-qui-autem-est",
"mtpc_url": "https://c.mtpc.se/881",
"user_id": 3957,
"country": "UG",
"provider": "olive",
"advertiser": {
"id": 2288,
"name": "Armstrong, Klein and Rodriguez"
},
"title": "Josefina Hoeger",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3958,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.712647Z",
"ends_at": "2026-05-24T09:08:13.712732Z",
"stats": []
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
curl --request POST \
"https://api.metapic.dev/v2/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"mvwjfvndmqjakjbwbdxxhanps\",
\"advertiser_group_id\": 1,
\"advertiser_id\": 17,
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
3
],
\"advertiser_category_ids\": [
14
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-04-24T11:08:13\",
\"ends_at\": \"2055-02-17\",
\"click_limit\": 19,
\"view_limit\": 5
}"
{
"id": null,
"name": "Mr. Sylvester Crist IV",
"advertiser_group_id": 4941,
"affiliate_link": {
"id": 882,
"url": "http://senger.com/inventore-facilis-atque-non",
"original_url": "http://oconnell.net/ipsa-pariatur-distinctio-et-omnis-et-est-voluptatem",
"mtpc_url": "https://c.mtpc.se/882",
"user_id": 3959,
"country": "LC",
"provider": "silver",
"advertiser": {
"id": 2289,
"name": "Jakubowski PLC"
},
"title": "Prof. Janick Grant DDS",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3960,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.761962Z",
"ends_at": "2026-05-24T09:08:13.762082Z",
"stats": []
}
The ID of the return ad.
curl --request GET \
--get "https://api.metapic.dev/v2/return-ads/2" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Stacy Lueilwitz IV",
"advertiser_group_id": 4944,
"affiliate_link": {
"id": 883,
"url": "http://www.hills.info/",
"original_url": "http://harvey.biz/laborum-libero-nihil-consectetur-officiis",
"mtpc_url": "https://c.mtpc.se/883",
"user_id": 3961,
"country": "PR",
"provider": "aqua",
"advertiser": {
"id": 2290,
"name": "Roob-Swift"
},
"title": "Hermann Bechtelar",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3962,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.801036Z",
"ends_at": "2026-05-24T09:08:13.801113Z",
"stats": []
}
The ID of the return ad.
curl --request PUT \
"https://api.metapic.dev/v2/return-ads/20" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"azhz\",
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
3
],
\"advertiser_category_ids\": [
5
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-04-24T11:08:13\",
\"ends_at\": \"2119-10-02\",
\"click_limit\": 18,
\"view_limit\": 8
}"
{
"id": null,
"name": "Laila Lueilwitz",
"advertiser_group_id": 4947,
"affiliate_link": {
"id": 884,
"url": "http://daugherty.net/aut-molestiae-quis-error-omnis-adipisci",
"original_url": "http://cassin.com/iusto-est-nobis-commodi.html",
"mtpc_url": "https://c.mtpc.se/884",
"user_id": 3963,
"country": "SE",
"provider": "silver",
"advertiser": {
"id": 2291,
"name": "Hill, Hane and Pacocha"
},
"title": "Miss Vita Mraz II",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3964,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.840616Z",
"ends_at": "2026-05-24T09:08:13.840730Z",
"stats": []
}
The ID of the return ad.
curl --request DELETE \
"https://api.metapic.dev/v2/return-ads/5" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Deactivates Return Ad
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/15/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Sigmund Jerde",
"advertiser_group_id": 4950,
"affiliate_link": {
"id": 885,
"url": "http://www.swift.com/maiores-totam-consequatur-blanditiis-quo-ea-sed-aut.html",
"original_url": "http://www.keebler.net/ipsa-dolorem-qui-veniam-et.html",
"mtpc_url": "https://c.mtpc.se/885",
"user_id": 3965,
"country": "EH",
"provider": "navy",
"advertiser": {
"id": 2292,
"name": "Greenfelder-Deckow"
},
"title": "Breanne Towne",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3966,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.885129Z",
"ends_at": "2026-05-24T09:08:13.885198Z",
"stats": []
}
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/2/unpause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Corene Schimmel",
"advertiser_group_id": 4953,
"affiliate_link": {
"id": 886,
"url": "http://berge.net/est-repellat-velit-minus-voluptatem",
"original_url": "http://www.schulist.com/quod-aperiam-accusantium-enim-a",
"mtpc_url": "https://c.mtpc.se/886",
"user_id": 3967,
"country": "TD",
"provider": "maroon",
"advertiser": {
"id": 2293,
"name": "Klein PLC"
},
"title": "Keagan Adams PhD",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3968,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.921177Z",
"ends_at": "2026-05-24T09:08:13.921248Z",
"stats": []
}
List of Return Ads displayed for Advertiser by ID
The ID of the store.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/1/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"name": "Mr. Dayne Durgan",
"advertiser_group_id": 4956,
"affiliate_link": {
"id": 887,
"url": "https://www.beatty.com/officiis-voluptatem-aperiam-quia",
"original_url": "http://www.koelpin.com/est-id-eos-repellat-tempore-numquam-commodi",
"mtpc_url": "https://c.mtpc.se/887",
"user_id": 3969,
"country": "MU",
"provider": "silver",
"advertiser": {
"id": 2294,
"name": "Kunze-Ledner"
},
"title": "Freeda Greenholt PhD",
"created_at": "2026-04-24T11:08:13+02:00"
},
"author_id": 3970,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.962500Z",
"ends_at": "2026-05-24T09:08:13.962577Z",
"stats": []
},
{
"id": null,
"name": "Ms. Claudia Schiller",
"advertiser_group_id": 4959,
"affiliate_link": {
"id": 888,
"url": "http://www.kulas.com/maiores-vel-qui-accusantium-quas-cumque-distinctio-aut.html",
"original_url": "http://www.predovic.com/cumque-sed-eius-aut-debitis.html",
"mtpc_url": "https://c.mtpc.se/888",
"user_id": 3971,
"country": "GA",
"provider": "green",
"advertiser": {
"id": 2295,
"name": "DuBuque, Berge and Schuppe"
},
"title": "Felicia Berge",
"created_at": "2026-04-24T11:08:14+02:00"
},
"author_id": 3972,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-03-24T10:08:13.989634Z",
"ends_at": "2026-05-24T09:08:13.989742Z",
"stats": []
}
]
List Shared Budgets for Store
The ID of the store.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/14/shared-budgets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"title": "Vicenta Bauch V",
"amount": 5,
"amount_v2": {
"amount": "0.05",
"currency": "GBP"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "GBP"
},
"currency": "GBP"
},
{
"id": null,
"title": "Alvena Gutmann",
"amount": 3,
"amount_v2": {
"amount": "0.03",
"currency": "USD"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "USD"
},
"currency": "USD"
}
]
Returns information about a specific budget.
The ID of the store.
The ID of the shared budget.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/7/shared-budgets/3" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"title": "Friedrich Runolfsdottir",
"amount": 1,
"amount_v2": {
"amount": "0.01",
"currency": "SEK"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "SEK"
},
"currency": "SEK"
}
Updates existing budget.
The ID of the store.
The ID of the shared budget.
curl --request PUT \
"https://api.metapic.dev/v2/stores/7/shared-budgets/1" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Summer budget\",
\"amount\": 10000
}"
{
"id": null,
"title": "Lloyd Bahringer",
"amount": 4,
"amount_v2": {
"amount": "0.04",
"currency": "GBP"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "GBP"
},
"currency": "GBP"
}
The ID of the store.
The ID of the shared budget.
curl --request DELETE \
"https://api.metapic.dev/v2/stores/16/shared-budgets/10" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://api.metapic.dev/v2/stores/17/payment" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"voluptas\"
}"
Uploads an image to tmp folder.
curl --request POST \
"https://api.metapic.dev/v2/image-uploads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"image\": \"sed\"
}"
Endpoint for querying & sorting all users.
Query by either of the following: ID, username, email.
Returns all users with id equal to query OR username contains query OR email contains query. Must not be greater than 64 characters.
Query by user's client. Returns all users which belong to the given client_id.
Query by user's store group. Returns all users which belong to the given store_group_id.
Filter users by advertiser/store id. Required for non-admin advertiser users. Admins can pass it optionally. The id of an existing record in the stores table.
emailPage size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
User status (accepted, suspended, undecided). When omitted, suspended users are excluded.
acceptedsuspendedundecidedcurl --request GET \
--get "https://api.metapic.dev/v2/users?query=testcreator123&client_id=2&store_group_id=15&advertiser_id=123&include[]=email&size=20&sort_by=sit&status=accepted" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 14,
"username": "pcrona",
"display_name": "Wava Becker",
"email": "[email protected]",
"client_id": 16,
"preferred_locale": "en_IE",
"language": "en"
},
{
"id": 14,
"username": "pcrona",
"display_name": "Wava Becker",
"email": "[email protected]",
"client_id": 16,
"preferred_locale": "en_IE",
"language": "en"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/14" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 14,
"username": "pcrona",
"display_name": "Wava Becker",
"email": "[email protected]",
"client_id": 16,
"preferred_locale": "en_IE",
"language": "en"
}
Requires an Ory-issued JWT for a session not yet linked to a Metapic user (no user_id).
curl --request POST \
"https://api.metapic.dev/v2/users" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"social_media\": [
{
\"type\": \"instagram\",
\"identifier\": \"https:\\/\\/instagram.com\\/example\"
},
{
\"type\": \"tiktok\",
\"identifier\": \"https:\\/\\/tiktok.com\\/@example\"
}
],
\"utm\": {
\"source\": \"instagram\",
\"medium\": \"social\",
\"campaign\": \"launch2025\",
\"term\": \"influencer\",
\"content\": \"story_ad\"
},
\"client_id\": \"client_12345\",
\"preferred_locale\": \"en-GB\"
}"
{
"id": 14,
"username": "pcrona",
"display_name": "Wava Becker",
"email": "[email protected]",
"client_id": 16,
"preferred_locale": "en_IE",
"language": "en"
}
It updates user's email and phone and syncs it with Ory identity.
The ID of the user.
curl --request PUT \
"https://api.metapic.dev/v2/users/14/identity" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"phone\": \"+1234567890\"
}"
Query by user's advertiser group. Returns all users which belong to the given advertiser_group_id.
a mix array of user emails and ids. Must not have more than 1000 items.
curl --request POST \
"https://api.metapic.dev/v2/match-users?advertiser_group_id=15&user_emails_or_ids[]=12345&user_emails_or_ids[]=email%40metapic.com" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Approves multiple users at once. When approving a banned user, it cleans up the banned_at (suspended_at) property and sets the approved_at (verified_at). Events are triggered only for users whose status actually changes.
curl --request POST \
"https://api.metapic.dev/v2/approve-users" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_ids\": [
4
]
}"
Bans multiple users at once. The ban action also deletes all user offers. Events are triggered only for users whose status actually changes.
curl --request POST \
"https://api.metapic.dev/v2/ban-users" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_ids\": [
19
]
}"
Endpoint for querying & sorting all user tags.
Query by user tag's name. Returns all user tags whose name contains the given name. Must not be greater than 255 characters.
Query by user tag's store. Returns all user tags which belong to the given store_id.
Query by user tag's access levels. Returns all user tags which have the given access_levels:
012Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/user-tags?name=favourites&store_id=15&access_levels[]=0&access_levels[]=1&size=20&sort_by=ipsam" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"