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/10/blocklist?query=npodb" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 81,
"created_at": "2026-03-17 16:26:48",
"created_by": {
"id": 3974,
"username": "nicolas.reina",
"display_name": "Brice Becker",
"email": "[email protected]",
"client_id": 4204,
"preferred_locale": ""
},
"client": {
"id": 4205,
"name": "Esta Marvin MD",
"client_id": "6qlLzlMyRA",
"has_own_payment_system": false,
"revenue_share": 1
}
},
{
"id": 82,
"created_at": "2026-03-17 16:26:48",
"created_by": {
"id": 3975,
"username": "maymie.mante",
"display_name": "Neha Schamberger",
"email": "[email protected]",
"client_id": 4206,
"preferred_locale": ""
},
"client": {
"id": 4207,
"name": "Douglas Kuhlman",
"client_id": "q5nvq3L9dt",
"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/6/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/2/blocklist/7" \
--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/illum/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: *
{
"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/deserunt/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: *
{
"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\": \"facilis\"
}"
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: *
{
"message": "Unauthenticated."
}
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/6/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: *
{
"message": "Unauthenticated."
}
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/3/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"quasi\"
}"
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\": [
15
],
\"logo_url\": \"http:\\/\\/www.johnston.com\\/autem-aut-voluptas-perferendis-voluptas-consectetur-ipsum-quasi-aut\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"voluptas\",
\"street\": \"quam\",
\"postal_code\": \"tempora\",
\"city\": \"dignissimos\",
\"vat_number\": \"quo\"
}
}"
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 a valid property for given resource 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=dolores" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 2281,
"name": "Morar, Lakin and Goodwin"
},
{
"id": 2282,
"name": "Johns, Johnston and Kuhic"
}
],
"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
}
}
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/19/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 324,
"type": "allow",
"is_main": false,
"url": "testcompany.com",
"updated_at": "2026-03-17T16:26:48.000000Z"
},
{
"id": 325,
"type": "allow",
"is_main": false,
"url": "testcompany.com",
"updated_at": "2026-03-17T16:26:48.000000Z"
}
]
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/13/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"block\",
\"url\": \"http:\\/\\/windler.info\\/\",
\"keyword\": \"rtvnutuujglwbfi\",
\"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/8/url-matching-rules/17" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"block\",
\"url\": \"http:\\/\\/okon.com\\/aut-sunt-doloremque-quod-quos\",
\"keyword\": \"wdxz\",
\"is_main\": true
}"
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/4/url-matching-rules/13" \
--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\": [
3
],
\"logo_url\": \"https:\\/\\/shields.com\\/eligendi-et-mollitia-porro-et.html\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"delectus\",
\"street\": \"sit\",
\"postal_code\": \"dolore\",
\"city\": \"et\",
\"vat_number\": \"est\"
}
}"
{
"id": 2283,
"name": "Leannon-Jerde"
}
Deactivates the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/2/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 a valid property for given resource 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=voluptatem" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4964,
"name": "Heidenreich, Mraz and Paucek",
"key": "ss_SZ",
"currency": "GBP"
},
{
"id": 4965,
"name": "Roob PLC",
"key": "en_BZ",
"currency": "EUR"
}
],
"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/quo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 891,
"url": "http://www.jast.info/rerum-amet-autem-quas-similique-sed-praesentium-quia",
"original_url": "http://williamson.com/placeat-id-dolorem-ducimus-quis-aut-sapiente",
"mtpc_url": "https://c.mtpc.se/891",
"user_id": 3984,
"country": "NC",
"provider": "green",
"advertiser": {
"id": 2290,
"name": "McKenzie LLC"
}
}
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\": 3,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": false
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"id": 892,
"url": "http://www.christiansen.com/consequuntur-eum-illum-quos-et-blanditiis-nulla",
"original_url": "https://www.bayer.com/ab-ipsam-pariatur-aperiam-facilis-est-est",
"mtpc_url": "https://c.mtpc.se/892",
"user_id": 3985,
"country": "SI",
"provider": "yellow",
"advertiser": {
"id": 2291,
"name": "Purdy LLC"
}
}
}
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/51/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 15,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": true
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"id": 893,
"url": "http://www.hintz.com/facilis-officiis-quo-facere-nobis-eum-accusamus-impedit",
"original_url": "http://goyette.info/tempore-sunt-quibusdam-et",
"mtpc_url": "https://c.mtpc.se/893",
"user_id": 3986,
"country": "TV",
"provider": "gray",
"advertiser": {
"id": 2292,
"name": "Lang PLC"
}
}
}
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/51/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/51/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 14
}"
{
"id": 894,
"url": "http://dare.com/",
"original_url": "http://www.jacobson.com/",
"mtpc_url": "https://c.mtpc.se/894",
"user_id": 3988,
"country": "DO",
"provider": "fuchsia",
"advertiser": {
"id": 2294,
"name": "Schulist, Collier and Skiles"
}
}
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 a valid property for given resource 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=omnis" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4208,
"name": "Bennett Williamson",
"client_id": "OhabGuiGr1",
"has_own_payment_system": false,
"revenue_share": 1
},
{
"id": 4209,
"name": "Dr. Vernon Wilkinson",
"client_id": "eHh2mIVb7M",
"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=quidem&status=1&type=tiktok&favorite=1&group=17&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: *
{
"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": 55,
"name": "Books"
},
{
"id": 56,
"name": "Beauty"
}
]
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-03\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/51/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: *
{
"message": "Unauthenticated."
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/51/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: *
{
"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\": \"pdaoqjljagswrdfymmbrfp\"
}"
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\": \"ersuhmmwucmq\"
}"
Endpoint for generating a creator invoice from external component
curl --request POST \
"https://api.metapic.dev/v2/payments/generate-creator-invoice/fuga" \
--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: *
{
"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-03-17T17:26:49\",
\"client_id\": 5,
\"user_id\": 13,
\"system\": 2,
\"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\": \"agency\",
\"store_id\": 14
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://api.metapic.dev/v2/notifications-proxy/2Z" \
--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: *
{
"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\": 4,
\"type\": \"suggestion\",
\"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\": 1.0011,
\"budget_limit\": 5,
\"max_clicks\": 14,
\"valid_from\": \"2026-03-17T17:26:43\",
\"valid_until\": \"2024-05-09\",
\"todo\": [
\"crpddcnojsdcprjniabevygsw\"
],
\"show_for_advertiser\": true,
\"priority_after\": 14,
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
},
\"targets\": {
\"user_ids\": [
4
],
\"user_tag_ids\": [
5
],
\"store_group_ids\": [
2
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"trhbwqwtdejwquogfuomc\"
],
\"client_ids\": [
12
],
\"revenue_tier_ids\": [
3
]
},
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
]
}"
{
"data": {
"id": 798,
"campaign_title": "Arianna Mayert",
"campaign_text": "Dolore voluptatem illo tempore quasi officiis veritatis saepe. Exercitationem ea nisi reiciendis vero tempora. Voluptas dolores dolores soluta.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZWxpZ2VuZGk=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZWxpZ2VuZGk=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZWxpZ2VuZGk=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZWxpZ2VuZGk="
},
"store_id": 2245,
"store_name": "Swaniawski LLC",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "ihc23orwsh1izt5y",
"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": 799,
"campaign_title": "Brandy Nikolaus",
"campaign_text": "A nesciunt officia molestias odio ducimus autem. Nobis et quasi qui sint voluptatum. Et repellat molestiae explicabo sequi maiores molestiae totam quia. Neque sit impedit occaecati consequuntur.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9cXVp",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9cXVp",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9cXVp",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9cXVp"
},
"store_id": 2246,
"store_name": "Macejkovic, Cruickshank and Hammes",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "zoousb0sj5obtyrb",
"traffic_sources_costs": [
{
"id": 223,
"source": 2,
"cpc": null,
"cpa": null,
"currency": "USD"
}
],
"type": "standard"
}
Updates existing campaign.
The ID of the offer.
The offer ID
curl --request PUT \
"https://api.metapic.dev/v2/offers/16" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 2,
\"type\": \"suggestion\",
\"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\": false,
\"one_time_payment\": 12110.9126,
\"budget_limit\": 17,
\"max_clicks\": 13,
\"valid_from\": \"2026-03-17T17:26:44\",
\"valid_until\": \"1993-10-30\",
\"todo\": [
\"pidfqsonrusef\"
],
\"show_for_advertiser\": false,
\"priority_after\": 10,
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 0
}
],
\"targets\": {
\"0\": [],
\"user_ids\": [
2
],
\"user_tag_ids\": [
7
],
\"store_group_ids\": [
8
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"vlinyugmipxkpjhorhowq\"
],
\"client_ids\": [
8
],
\"revenue_tier_ids\": [
11
]
},
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
}
}"
{
"data": {
"id": 800,
"campaign_title": "Lucas Labadie",
"campaign_text": "Sed voluptates corporis architecto voluptatem non dolore. Cumque harum quibusdam qui. Dolor illo ipsa cum ratione itaque.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZG9sb3JpYnVz",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZG9sb3JpYnVz",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZG9sb3JpYnVz",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9ZG9sb3JpYnVz"
},
"store_id": 2247,
"store_name": "Grady-Turner",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "1ggyisdvl42fqu63",
"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/7" \
--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 a valid property for given resource and direction can be one of asc|desc,
both of which are required if sort_by is present.
ends_soonactive_firstcsvxlsxAdmin-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[]=ended&store_ids[]=1&store_group_ids[]=1&created_by=7&or_id=1234&target_user_id=11&size=20&sort_by=cum&custom_sort_by=active_first&format=xlsx&show_for_advertiser=1&advertiser_id=123" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 801,
"campaign_title": "Gonzalo Wyman III",
"campaign_text": "Corrupti reiciendis dolor sed. Minima dolor autem saepe dolorem omnis. Sit laboriosam earum aspernatur aut sed. Ipsam repudiandae voluptas rerum harum nostrum.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2NjP3RleHQ9cmVydW0=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2NjP3RleHQ9cmVydW0=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2NjP3RleHQ9cmVydW0=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2NjP3RleHQ9cmVydW0="
},
"store_id": 2248,
"store_name": "Lebsack, Brown and Erdman",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "z939oh3l5lnpfsnp",
"type": "standard"
},
{
"id": 802,
"campaign_title": "Jimmie Cummings Jr.",
"campaign_text": "Et nihil illo accusamus nobis inventore eligendi et. Culpa suscipit id tempora sunt omnis error explicabo.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9dXQ=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9dXQ=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9dXQ=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9dXQ="
},
"store_id": 2249,
"store_name": "McClure, Larson and O'Conner",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "2n5tbot1gl6hasua",
"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\": \"fuga\"
}"
{
"id": 803,
"campaign_title": "Felipe Bogisich",
"campaign_text": "Nam tenetur consequuntur non enim fugiat quos et. In quia tempore id tempora. Nostrum voluptatem odit fuga et odit.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4OGNjP3RleHQ9cmVydW0=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4OGNjP3RleHQ9cmVydW0=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4OGNjP3RleHQ9cmVydW0=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4OGNjP3RleHQ9cmVydW0="
},
"store_id": 2250,
"store_name": "Ullrich-Huel",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "ubr8csezclg1eos7",
"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": 804,
"campaign_title": "Karen Nader",
"campaign_text": "Voluptas sit dolores dolorem sed tempore modi est. Error beatae ipsa ipsam quas fugiat qui. Eveniet voluptas voluptas ut sapiente sit.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9bm9u",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9bm9u",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9bm9u",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9bm9u"
},
"store_id": 2251,
"store_name": "Gislason Inc",
"store_logo_url": null,
"store_logo": null,
"currency": "SEK",
"token": "srl6w9s6kwn2r6j7",
"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": 805,
"campaign_title": "Margarette Hermiston IV",
"campaign_text": "Blanditiis vitae eos enim incidunt nostrum et et velit. Recusandae dolore neque voluptatem voluptas tenetur necessitatibus. Omnis reiciendis debitis quo molestiae veritatis.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9bW9kaQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9bW9kaQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9bW9kaQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9bW9kaQ=="
},
"store_id": 2252,
"store_name": "Labadie, Lindgren and Funk",
"store_logo_url": null,
"store_logo": null,
"currency": "SEK",
"token": "3atspuqq5b9tbkt1",
"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\": \"2006-12-05\",
\"end_date\": \"2111-03-30\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Returns campaigns that are not of type "standard" with additional information about user participation. It also allows filtering by title 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.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentcurl --request GET \
--get "https://api.metapic.dev/v2/users/51/offers?status=accepted&name=Nike&statuses[]=second_prio" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 818,
"campaign_title": "Mariane Wilkinson V",
"campaign_text": "Assumenda illo ut qui nesciunt enim dolore. Provident nemo vel cumque veritatis non suscipit similique. Nemo ut quas blanditiis id recusandae impedit fuga.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTY2P3RleHQ9cXVpYQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTY2P3RleHQ9cXVpYQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTY2P3RleHQ9cXVpYQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTY2P3RleHQ9cXVpYQ=="
},
"store_id": 2286,
"store_name": "Jones Group",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "p9lybv2r0zee34ys",
"type": "standard"
},
{
"id": 819,
"campaign_title": "Bryce Muller PhD",
"campaign_text": "Incidunt explicabo qui excepturi hic aliquam. Voluptas rerum unde impedit praesentium provident nesciunt provident placeat. Rerum iste hic cumque vitae. Qui cumque sed ad dolorum.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTg4P3RleHQ9dGVtcG9yZQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTg4P3RleHQ9dGVtcG9yZQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTg4P3RleHQ9dGVtcG9yZQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTg4P3RleHQ9dGVtcG9yZQ=="
},
"store_id": 2287,
"store_name": "Weber PLC",
"store_logo_url": null,
"store_logo": null,
"currency": "PLN",
"token": "w7qtoyygacwlau7j",
"type": "standard"
}
]
Returns campaigns that are not of type "standard" with additional information about user participation. It also allows filtering by title 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.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentcurl --request GET \
--get "https://api.metapic.dev/v2/users/51/campaigns?status=accepted&name=Nike&statuses[]=suggestion" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 820,
"campaign_title": "Cyril Sauer",
"campaign_text": "Eos maiores quod ut. Qui maxime vel molestiae adipisci amet unde. Ad sunt facilis accusamus ut. In impedit aliquam enim distinctio cum.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9cHJhZXNlbnRpdW0=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9cHJhZXNlbnRpdW0=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9cHJhZXNlbnRpdW0=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9cHJhZXNlbnRpdW0="
},
"store_id": 2288,
"store_name": "Farrell, Feest and Legros",
"store_logo_url": null,
"store_logo": null,
"currency": "PLN",
"token": "kmffg5wr1vrkdes2",
"type": "standard"
},
{
"id": 821,
"campaign_title": "Prof. Alvina Keeling",
"campaign_text": "Exercitationem et laboriosam ut voluptatem sed et. Perferendis reiciendis qui nulla dolorem et. Beatae aliquam et eveniet tenetur atque cupiditate. Amet aut recusandae voluptatem dolor est est esse.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDc3P3RleHQ9ZG9sb3Jlcw==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDc3P3RleHQ9ZG9sb3Jlcw==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDc3P3RleHQ9ZG9sb3Jlcw==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDc3P3RleHQ9ZG9sb3Jlcw=="
},
"store_id": 2289,
"store_name": "Durgan, Adams and Ratke",
"store_logo_url": null,
"store_logo": null,
"currency": "GBP",
"token": "h0dk2yknasgx0ovl",
"type": "standard"
}
]
Returns information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/neque" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 822,
"campaign_title": "Lauryn Reichel",
"campaign_text": "Harum ipsa culpa occaecati odit sunt. Cumque rerum suscipit et sit voluptatum. Et autem et vel cumque rerum vel odio.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9ZWFydW0=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9ZWFydW0=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9ZWFydW0=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9ZWFydW0="
},
"store_id": 2293,
"store_name": "Hane, Johns and Bogisich",
"store_logo_url": null,
"store_logo": null,
"currency": "SEK",
"token": "kfj5kqu070fkyupz",
"traffic_sources_costs": [
{
"id": 224,
"source": 0,
"cpc": null,
"cpa": null,
"currency": "SEK"
}
],
"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: *
{
"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\": [
2
],
\"user_tag_ids\": [
13
],
\"store_group_ids\": [
12
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"hydeljehrpaallrxevn\"
],
\"client_ids\": [
5
],
\"revenue_tier_ids\": [
11
]
}"
The ID of the offer.
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/9/users/51" \
--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: *
{
"message": "Unauthenticated."
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/12/participants" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"n\",
\"status\": \"open\",
\"include\": [
\"has_unread_notifications\"
]
}"
{
"data": [
{
"id": null,
"offer_id": 807,
"user_id": 3942,
"display_name": null,
"clicks": 26473,
"status": "done",
"todo": null,
"payment_amount": null
},
{
"id": null,
"offer_id": 809,
"user_id": null,
"display_name": "sschuppe",
"clicks": 841332503,
"status": "done",
"pre_registered_identifier": "sschuppe",
"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/1/participants/18" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"offer_id": 810,
"user_id": 3947,
"display_name": "[email protected]",
"clicks": 267074,
"status": "suggestion",
"todo": null,
"payment_amount": null,
"social_media": [],
"tags": [
{
"id": 2222,
"name": "Janessa Collins",
"slug": "fugiat-optio-aut",
"access_level": 1,
"store_id": 2258
}
]
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/5/participants-stats" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"kktbgkn\",
\"active\": false,
\"start_date\": \"2025-06-19\",
\"end_date\": \"2075-12-12\",
\"sort_by\": \"estimated_gp:desc\"
}"
{
"data": [
{
"id": null,
"user_id": null,
"display_name": "[email protected]",
"clicks": 0,
"status": "suggestion",
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
},
{
"id": null,
"user_id": null,
"display_name": "amya02",
"clicks": 0,
"status": "have_posted",
"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/4/participants-count-by-click-activity" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"1997-07-22\",
\"end_date\": \"2061-03-19\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/8/participants/4/update-status" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"product_sent\"
}"
{
"id": null,
"offer_id": 813,
"user_id": null,
"display_name": "[email protected]",
"clicks": 191891,
"status": "product_sent",
"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/9/participants/12/todo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"todo\": [
{
\"key\": \"sbzyjpxpbxbetgellrko\",
\"value\": false
}
]
}"
{
"id": null,
"offer_id": 814,
"user_id": null,
"display_name": "[email protected]",
"clicks": 78,
"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 PUT \
"https://api.metapic.dev/v2/offers/3/participants/3/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": 815,
"user_id": 3952,
"display_name": null,
"clicks": 723,
"status": "suggestion",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/8/participants/17/overrides/clicks" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"click_limit\": 10
}"
{
"id": null,
"offer_id": 816,
"user_id": null,
"display_name": "maribel49",
"clicks": 893272392,
"status": "store_denied",
"pre_registered_identifier": "maribel49",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/4/participants/1/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": 817,
"user_id": null,
"display_name": "yschuster",
"clicks": 20074889,
"status": "product_sent",
"pre_registered_identifier": "yschuster",
"todo": null,
"payment_amount": null
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/laboriosam/users/51" \
--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: *
set-cookie: metapic_session=eyJpdiI6Ii9ZSVhQZ3RPNkhXbXI5eHphMnlKc1E9PSIsInZhbHVlIjoibWhWZTU2dWJqaFBlZGJLOTBWQjU0aWVXc1RIUmtpeCsyS3JPb2w5cUV6TStNOU1mcXdyVnBVdEpVYW9GcUdiWlBEdHdjZEl5bDZpNXAveWdJN3pvZ3JLelFkd3JaU1RxSXhmQVd6OFZSM0lDYnhQOTV4ODlqTFZUN3l0NjlRZkgiLCJtYWMiOiJlMDhmNzAwODk1ZGQ3M2Y2MTAzODc0ZjlhYTNkYmY5MTRlOTAzNmM2NjdhMDAzZjg0YTkyOTEwNTRhYjZhZDNlIiwidGFnIjoiIn0%3D; expires=Tue, 17 Mar 2026 18:26:50 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/rerum/users/51/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\": \"qqfkslttw\"
}"
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/18" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"pqdlifapsxynvhosfgiteq\"
}"
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/1" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://api.metapic.dev/v2/offer-users/sint/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: *
{
"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 a valid property for given resource 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[]=ended&created_by=&or_id=1234&sort_by=current_clicks%3Aasc" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 277,
"name": "Cassandre Schultz",
"advertiser_group_id": 4927,
"affiliate_link": {
"id": 882,
"url": "http://herzog.biz/ipsa-ea-cumque-ut-voluptatem.html",
"original_url": "http://www.bergstrom.biz/",
"mtpc_url": "https://c.mtpc.se/882",
"user_id": 3956,
"country": "CZ",
"provider": "black",
"advertiser": {
"id": 2270,
"name": "Zemlak Ltd"
}
},
"author_id": 3957,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2NjP3RleHQ9Y29uc2VxdWF0dXI=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2NjP3RleHQ9Y29uc2VxdWF0dXI=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAzM2NjP3RleHQ9Y29uc2VxdWF0dXI="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"stats": []
},
{
"id": 278,
"name": "Woodrow Denesik",
"advertiser_group_id": 4930,
"affiliate_link": {
"id": 883,
"url": "http://collins.com/repellat-voluptatibus-repellat-ut-dolorum-reiciendis-magnam",
"original_url": "http://www.schroeder.com/",
"mtpc_url": "https://c.mtpc.se/883",
"user_id": 3958,
"country": "BM",
"provider": "navy",
"advertiser": {
"id": 2271,
"name": "Legros-Pacocha"
}
},
"author_id": 3959,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzMzP3RleHQ9dm9sdXB0YXM=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzMzP3RleHQ9dm9sdXB0YXM=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzMzP3RleHQ9dm9sdXB0YXM="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"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\": \"rhsyvsc\",
\"advertiser_group_id\": 3,
\"advertiser_id\": 15,
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
19
],
\"advertiser_category_ids\": [
6
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-03-17T17:26:48\",
\"ends_at\": \"2119-07-12\",
\"click_limit\": 3,
\"view_limit\": 1
}"
{
"id": 279,
"name": "Dr. Kolby Yundt",
"advertiser_group_id": 4933,
"affiliate_link": {
"id": 884,
"url": "http://bartell.com/voluptas-vel-ducimus-sint-et-nihil-soluta",
"original_url": "http://www.fritsch.com/",
"mtpc_url": "https://c.mtpc.se/884",
"user_id": 3960,
"country": "QA",
"provider": "green",
"advertiser": {
"id": 2272,
"name": "Robel, Purdy and O'Connell"
}
},
"author_id": 3961,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDc3P3RleHQ9ZG9sb3Jlcw==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDc3P3RleHQ9ZG9sb3Jlcw==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDc3P3RleHQ9ZG9sb3Jlcw=="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"stats": []
}
The ID of the return ad.
curl --request GET \
--get "https://api.metapic.dev/v2/return-ads/8" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 280,
"name": "Dr. Derrick Bode PhD",
"advertiser_group_id": 4936,
"affiliate_link": {
"id": 885,
"url": "http://www.quitzon.biz/",
"original_url": "http://www.crist.info/eos-numquam-voluptatum-rem-praesentium-enim-dignissimos-ea.html",
"mtpc_url": "https://c.mtpc.se/885",
"user_id": 3962,
"country": "JM",
"provider": "maroon",
"advertiser": {
"id": 2273,
"name": "Koelpin and Sons"
}
},
"author_id": 3963,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBlZWNjP3RleHQ9ZGViaXRpcw==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBlZWNjP3RleHQ9ZGViaXRpcw==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBlZWNjP3RleHQ9ZGViaXRpcw=="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"stats": []
}
The ID of the return ad.
curl --request PUT \
"https://api.metapic.dev/v2/return-ads/12" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"veis\",
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
2
],
\"advertiser_category_ids\": [
4
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-03-17T17:26:48\",
\"ends_at\": \"2067-04-19\",
\"click_limit\": 1,
\"view_limit\": 16
}"
{
"id": 281,
"name": "Garett Bogan III",
"advertiser_group_id": 4939,
"affiliate_link": {
"id": 886,
"url": "https://kuphal.net/voluptates-earum-quod-iusto-repellendus.html",
"original_url": "http://rutherford.com/quia-odit-dolor-a-libero-et-consequatur-molestiae.html",
"mtpc_url": "https://c.mtpc.se/886",
"user_id": 3964,
"country": "MW",
"provider": "purple",
"advertiser": {
"id": 2274,
"name": "Gottlieb-Stiedemann"
}
},
"author_id": 3965,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDc3P3RleHQ9dGVuZXR1cg==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDc3P3RleHQ9dGVuZXR1cg==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDc3P3RleHQ9dGVuZXR1cg=="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"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": 282,
"name": "Prof. Alexandria Rowe",
"advertiser_group_id": 4942,
"affiliate_link": {
"id": 887,
"url": "http://www.predovic.net/ut-fugiat-id-distinctio-repellat-in-optio-expedita",
"original_url": "http://www.ullrich.com/sit-occaecati-deserunt-temporibus-sit",
"mtpc_url": "https://c.mtpc.se/887",
"user_id": 3966,
"country": "GY",
"provider": "navy",
"advertiser": {
"id": 2275,
"name": "Ondricka-Bauch"
}
},
"author_id": 3967,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzAwP3RleHQ9dm9sdXB0YXM=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzAwP3RleHQ9dm9sdXB0YXM=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzAwP3RleHQ9dm9sdXB0YXM="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"stats": []
}
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/16/unpause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 283,
"name": "Rashad Price",
"advertiser_group_id": 4945,
"affiliate_link": {
"id": 888,
"url": "http://www.goodwin.org/voluptatem-rerum-commodi-temporibus-recusandae",
"original_url": "http://www.doyle.com/et-numquam-iste-molestias-ut-non-voluptas-quos",
"mtpc_url": "https://c.mtpc.se/888",
"user_id": 3968,
"country": "SM",
"provider": "fuchsia",
"advertiser": {
"id": 2276,
"name": "Murray Inc"
}
},
"author_id": 3969,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmFhP3RleHQ9c2l0",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmFhP3RleHQ9c2l0",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmFhP3RleHQ9c2l0"
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"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/2/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 284,
"name": "Sienna Kihn",
"advertiser_group_id": 4948,
"affiliate_link": {
"id": 889,
"url": "https://www.gottlieb.com/sapiente-fugit-culpa-incidunt",
"original_url": "http://www.sanford.com/officia-velit-sint-quisquam-repellat.html",
"mtpc_url": "https://c.mtpc.se/889",
"user_id": 3970,
"country": "RE",
"provider": "maroon",
"advertiser": {
"id": 2277,
"name": "Kautzer-Gutkowski"
}
},
"author_id": 3971,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzc3P3RleHQ9c2ludA==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzc3P3RleHQ9c2ludA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzc3P3RleHQ9c2ludA=="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"stats": []
},
{
"id": 285,
"name": "Madisen Turner MD",
"advertiser_group_id": 4951,
"affiliate_link": {
"id": 890,
"url": "http://www.deckow.com/",
"original_url": "http://www.kozey.info/iste-dolores-aliquid-voluptas-suscipit",
"mtpc_url": "https://c.mtpc.se/890",
"user_id": 3972,
"country": "TV",
"provider": "blue",
"advertiser": {
"id": 2278,
"name": "Upton, Stamm and Donnelly"
}
},
"author_id": 3973,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBlZTY2P3RleHQ9cXVhc2k=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBlZTY2P3RleHQ9cXVhc2k=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBlZTY2P3RleHQ9cXVhc2k="
},
"starts_at": "2026-02-17 17:26:48",
"ends_at": "2026-04-17 17:26:48",
"stats": []
}
]
List Shared Budgets for Store
The ID of the store.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/6/shared-budgets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 44,
"title": "Ms. Marietta Gaylord PhD",
"amount": 5,
"amount_v2": {
"amount": "0.05",
"currency": "GBP"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "GBP"
},
"currency": "GBP"
},
{
"id": 45,
"title": "Marcellus Haley",
"amount": 9,
"amount_v2": {
"amount": "0.09",
"currency": "SEK"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "SEK"
},
"currency": "SEK"
}
]
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/5/shared-budgets/16" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 46,
"title": "Tressie Jakubowski PhD",
"amount": 4,
"amount_v2": {
"amount": "0.04",
"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/5/shared-budgets/6" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Summer budget\",
\"amount\": 10000
}"
{
"id": 47,
"title": "Prof. Amani Kulas",
"amount": 3,
"amount_v2": {
"amount": "0.03",
"currency": "USD"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "USD"
},
"currency": "USD"
}
The ID of the store.
The ID of the shared budget.
curl --request DELETE \
"https://api.metapic.dev/v2/stores/12/shared-budgets/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://api.metapic.dev/v2/stores/16/payment" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"et\"
}"
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\": \"non\"
}"
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 a valid property for given resource 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/users?query=testcreator123&client_id=2&store_group_id=15&advertiser_id=123&include[]=email&size=20&sort_by=illo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 3976,
"username": "emmalee65",
"display_name": "Marlee Reichert",
"email": "[email protected]",
"client_id": 4210,
"preferred_locale": ""
},
{
"id": 3977,
"username": "slehner",
"display_name": "Makenna Wuckert",
"email": "[email protected]",
"client_id": 4211,
"preferred_locale": ""
}
],
"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/51" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 3978,
"username": "guy71",
"display_name": "Birdie Gottlieb",
"email": "[email protected]",
"client_id": 4212,
"preferred_locale": ""
}
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": 3979,
"username": "alexie32",
"display_name": "Eva Becker",
"email": "[email protected]",
"client_id": 4213,
"preferred_locale": ""
}
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/51/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\": [
5
]
}"
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\": [
3
]
}"
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 a valid property for given resource 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=deleniti" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"