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/17/blocklist?query=mzfk" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 81,
"created_at": "2026-03-11 10:33:03",
"created_by": {
"id": 3905,
"username": "adelle.treutel",
"display_name": "Jerel Harris",
"email": "[email protected]",
"client_id": 4122
},
"client": {
"id": 4123,
"name": "Alayna Beahan",
"client_id": "q7TWxMvUAv",
"has_own_payment_system": false,
"revenue_share": 1
}
},
{
"id": 82,
"created_at": "2026-03-11 10:33:03",
"created_by": {
"id": 3906,
"username": "jeffry45",
"display_name": "Justice Bayer",
"email": "[email protected]",
"client_id": 4124
},
"client": {
"id": 4125,
"name": "Dr. Grayson Gottlieb I",
"client_id": "DlIF9Vn5e7",
"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/1/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/10/blocklist/10" \
--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/vitae/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/in/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\": \"impedit\"
}"
Returns remaining email quota for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/6/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/12/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/12/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"dolor\"
}"
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.lynch.com\\/quas-asperiores-fugit-occaecati-necessitatibus-optio\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"ut\",
\"street\": \"et\",
\"postal_code\": \"tempore\",
\"city\": \"quod\",
\"vat_number\": \"ut\"
}
}"
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=tempore" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 2243,
"name": "Halvorson-Goyette"
},
{
"id": 2244,
"name": "Rosenbaum, Boyer and Fisher"
}
],
"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/4/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-11T10:33:03.000000Z"
},
{
"id": 325,
"type": "allow",
"is_main": false,
"url": "testcompany.com",
"updated_at": "2026-03-11T10:33:03.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/15/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"allow\",
\"url\": \"http:\\/\\/wilderman.com\\/et-odit-adipisci-ea-praesentium-magni-error\",
\"keyword\": \"cdohzebytanuaasqhbaabddge\",
\"is_main\": true
}"
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/6/url-matching-rules/5" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"allow\",
\"url\": \"http:\\/\\/fadel.info\\/aut-alias-quo-eaque-laudantium\",
\"keyword\": \"bfchpaulmwsx\",
\"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/10/url-matching-rules/16" \
--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\": [
18
],
\"logo_url\": \"http:\\/\\/www.tillman.com\\/libero-dolor-repellat-culpa-voluptate-quam-quia-aliquam\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"id\",
\"street\": \"temporibus\",
\"postal_code\": \"ducimus\",
\"city\": \"aut\",
\"vat_number\": \"veritatis\"
}
}"
{
"id": 2245,
"name": "Lind-Kautzer"
}
Deactivates the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/10/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=commodi" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4879,
"name": "Ratke, Sawayn and Oberbrunner",
"key": "az_AZ",
"currency": "SEK"
},
{
"id": 4880,
"name": "Hermann-Block",
"key": "en_GU",
"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/velit" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 877,
"url": "https://www.fay.com/suscipit-consequuntur-enim-voluptatem-eligendi-iusto-fugit-tenetur",
"original_url": "http://crona.biz/veritatis-ipsam-inventore-voluptatem-voluptas",
"mtpc_url": "https://c.mtpc.se/877",
"user_id": 3914,
"country": "BF",
"provider": "fuchsia",
"advertiser": {
"id": 2252,
"name": "Schuster Ltd"
}
}
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\": true
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"id": 878,
"url": "http://www.heaney.com/",
"original_url": "http://www.sawayn.biz/cupiditate-dolorem-vel-inventore.html",
"mtpc_url": "https://c.mtpc.se/878",
"user_id": 3915,
"country": "VG",
"provider": "maroon",
"advertiser": {
"id": 2253,
"name": "Cronin, Howe and Leffler"
}
}
}
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/50/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\": false
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"id": 879,
"url": "http://www.fadel.com/minima-impedit-fugit-itaque-aspernatur-dolores-similique",
"original_url": "http://www.deckow.com/quo-vero-sint-qui-quia-non.html",
"mtpc_url": "https://c.mtpc.se/879",
"user_id": 3916,
"country": "CH",
"provider": "navy",
"advertiser": {
"id": 2254,
"name": "Gibson LLC"
}
}
}
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/50/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/50/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 2
}"
{
"id": 880,
"url": "https://www.paucek.com/aut-sed-excepturi-quos",
"original_url": "http://www.bayer.com/perferendis-minus-est-magnam-dolor-qui-officia-aut.html",
"mtpc_url": "https://c.mtpc.se/880",
"user_id": 3918,
"country": "GS",
"provider": "maroon",
"advertiser": {
"id": 2256,
"name": "Strosin-Cremin"
}
}
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=et" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4126,
"name": "Rosalinda Beatty",
"client_id": "Tlt0Cz2sQP",
"has_own_payment_system": false,
"revenue_share": 1
},
{
"id": 4127,
"name": "Cullen Haley",
"client_id": "qkORBAhHmj",
"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=maiores&status=all&type=all&favorite=all&group=12&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": 53,
"name": "Fashion"
},
{
"id": 54,
"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/50/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/50/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\": \"ey\"
}"
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\": \"ezibljerzqedczlktjkvn\"
}"
Endpoint for generating a creator invoice from external component
curl --request POST \
"https://api.metapic.dev/v2/payments/generate-creator-invoice/id" \
--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-11T11:33:04\",
\"client_id\": 16,
\"user_id\": 7,
\"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\": \"creator\",
\"store_id\": 10
}"
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/D1=]" \
--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\": 7,
\"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\": false,
\"one_time_payment\": 14033.5481518,
\"budget_limit\": 10,
\"max_clicks\": 3,
\"valid_from\": \"2026-03-11T11:32:58\",
\"valid_until\": \"2044-08-13\",
\"todo\": [
\"soxsppfijtvantbqmjjt\"
],
\"show_for_advertiser\": true,
\"priority_after\": 14,
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
},
\"targets\": {
\"user_ids\": [
3
],
\"user_tag_ids\": [
8
],
\"store_group_ids\": [
4
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"fbqfpupphvsrtzhskbjplg\"
],
\"client_ids\": [
17
],
\"revenue_tier_ids\": [
7
]
},
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 0
}
]
}"
{
"data": {
"id": 779,
"campaign_title": "Ms. Reva Rolfson IV",
"campaign_text": "Porro in et voluptatum. Ea commodi dolorem odio. Aspernatur voluptate eos blanditiis est quia perferendis. Cum ex aliquam deleniti et unde omnis.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmRkP3RleHQ9ZXQ=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmRkP3RleHQ9ZXQ=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmRkP3RleHQ9ZXQ=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmRkP3RleHQ9ZXQ="
},
"store_id": 2207,
"store_name": "Nienow Group",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "rvqvzd36egb43l8i",
"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": 780,
"campaign_title": "Aiyana Stoltenberg",
"campaign_text": "Non enim aliquid molestias est. Blanditiis vel consectetur aliquam eos molestiae. Libero at et sequi quam. Rem ab odio ea voluptatem incidunt iusto ut.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjQ0P3RleHQ9YXV0ZW0=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjQ0P3RleHQ9YXV0ZW0=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjQ0P3RleHQ9YXV0ZW0=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjQ0P3RleHQ9YXV0ZW0="
},
"store_id": 2208,
"store_name": "Beier, Frami and Murphy",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "ja7wuk1xo6nmeqr1",
"traffic_sources_costs": [
{
"id": 223,
"source": 0,
"cpc": null,
"cpa": null,
"currency": "EUR"
}
],
"type": "standard"
}
Updates existing campaign.
The ID of the offer.
The offer ID
curl --request PUT \
"https://api.metapic.dev/v2/offers/18" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 20,
\"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\": 907298219.019334,
\"budget_limit\": 18,
\"max_clicks\": 4,
\"valid_from\": \"2026-03-11T11:32:59\",
\"valid_until\": \"2068-07-02\",
\"todo\": [
\"gxcpovou\"
],
\"show_for_advertiser\": false,
\"priority_after\": 9,
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
],
\"targets\": {
\"0\": [],
\"user_ids\": [
15
],
\"user_tag_ids\": [
7
],
\"store_group_ids\": [
10
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"icqgj\"
],
\"client_ids\": [
11
],
\"revenue_tier_ids\": [
18
]
},
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
}
}"
{
"data": {
"id": 781,
"campaign_title": "Archibald Macejkovic",
"campaign_text": "Quasi unde delectus voluptas enim excepturi magni. Sit officia dolor a nesciunt sed. Quisquam facilis reprehenderit beatae facere aliquam. Et ut provident corrupti et quaerat et non.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWVlP3RleHQ9cXVpYQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWVlP3RleHQ9cXVpYQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWVlP3RleHQ9cXVpYQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWVlP3RleHQ9cXVpYQ=="
},
"store_id": 2209,
"store_name": "Kemmer, Labadie and Gislason",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "mn4cl3w4010321cn",
"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/20" \
--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[]=scheduled&store_ids[]=1&store_group_ids[]=1&created_by=20&or_id=1234&target_user_id=17&size=20&sort_by=a&custom_sort_by=ends_soon&format=xlsx&show_for_advertiser=1&advertiser_id=123" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 782,
"campaign_title": "Monserrate Marvin",
"campaign_text": "Ipsa dolores dolore dolore pariatur hic sapiente animi. Aut at iusto aliquid velit quam. Reprehenderit enim praesentium officia eos.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9bGF1ZGFudGl1bQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9bGF1ZGFudGl1bQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9bGF1ZGFudGl1bQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9bGF1ZGFudGl1bQ=="
},
"store_id": 2210,
"store_name": "Heathcote PLC",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "fbamj28889k5ypcu",
"type": "standard"
},
{
"id": 783,
"campaign_title": "Mr. Adrian Kemmer",
"campaign_text": "Quis aliquam occaecati eaque voluptates officiis quam veniam. Omnis voluptas assumenda quaerat. Rerum aut inventore eos et quae voluptatem voluptatem.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9c2Vk",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9c2Vk",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9c2Vk",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9c2Vk"
},
"store_id": 2211,
"store_name": "Ledner Inc",
"store_logo_url": null,
"store_logo": null,
"currency": "PLN",
"token": "sax4edus8g50jvcw",
"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\": \"aut\"
}"
{
"id": 784,
"campaign_title": "Gage Labadie",
"campaign_text": "Sit deleniti doloremque vel ipsam qui quis quidem. Minima minus perspiciatis quia animi. Sit facilis modi quo et rerum numquam doloremque.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYjIyP3RleHQ9cmVydW0=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYjIyP3RleHQ9cmVydW0=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYjIyP3RleHQ9cmVydW0=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYjIyP3RleHQ9cmVydW0="
},
"store_id": 2212,
"store_name": "Klocko, Gottlieb and Stracke",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "dq709u4uj3her2cb",
"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": 785,
"campaign_title": "Dan Mann II",
"campaign_text": "Nihil nulla voluptate fugit praesentium atque non. Eveniet omnis iste minima vitae. Id quia accusamus iusto.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODU1P3RleHQ9c2ludA==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODU1P3RleHQ9c2ludA==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODU1P3RleHQ9c2ludA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODU1P3RleHQ9c2ludA=="
},
"store_id": 2213,
"store_name": "Gislason and Sons",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "hwdb9tutg8d094j8",
"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": 786,
"campaign_title": "Mr. Wayne Jenkins MD",
"campaign_text": "Est accusamus placeat doloremque perferendis doloremque accusamus. Aperiam ea aliquam blanditiis inventore. Quae ab sed et animi accusamus ex. Dolorum et rerum voluptate id.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTIyP3RleHQ9ZW5pbQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTIyP3RleHQ9ZW5pbQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTIyP3RleHQ9ZW5pbQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTIyP3RleHQ9ZW5pbQ=="
},
"store_id": 2214,
"store_name": "Parisian and Sons",
"store_logo_url": null,
"store_logo": null,
"currency": "SEK",
"token": "yhn9yzj6ujnwgded",
"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\": \"2001-05-13\",
\"end_date\": \"2050-07-21\"
}"
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/50/offers?status=accepted&name=Nike&statuses[]=done" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 799,
"campaign_title": "Mathias Greenholt",
"campaign_text": "Maxime ut aspernatur amet. Dolorem rerum ea voluptas odit. Consequatur et delectus inventore odit.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGVlP3RleHQ9ZWFxdWU=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGVlP3RleHQ9ZWFxdWU=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGVlP3RleHQ9ZWFxdWU=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGVlP3RleHQ9ZWFxdWU="
},
"store_id": 2248,
"store_name": "Ruecker LLC",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "ra0iiqekg3crce7n",
"type": "standard"
},
{
"id": 800,
"campaign_title": "Brenda Langworth",
"campaign_text": "Nihil quae neque similique dolores. Et provident voluptate ex quibusdam et aut nisi. Eaque rerum error consequuntur eius voluptas velit suscipit. Magni nostrum nobis aut maiores dolor et corrupti.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmJiP3RleHQ9cmVwZWxsYXQ=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmJiP3RleHQ9cmVwZWxsYXQ=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmJiP3RleHQ9cmVwZWxsYXQ=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmJiP3RleHQ9cmVwZWxsYXQ="
},
"store_id": 2249,
"store_name": "O'Hara-Zboncak",
"store_logo_url": null,
"store_logo": null,
"currency": "SEK",
"token": "mzkhhep5xzj3ckjg",
"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/50/campaigns?status=accepted&name=Nike&statuses[]=suggestion" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 801,
"campaign_title": "Price Franecki",
"campaign_text": "Facilis sint laudantium eius eveniet consequuntur. Aut eveniet et et assumenda nemo quis. Minima dicta accusamus perspiciatis et. Eos rerum voluptatem vel deserunt.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjMzP3RleHQ9aW4=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjMzP3RleHQ9aW4=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjMzP3RleHQ9aW4=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjMzP3RleHQ9aW4="
},
"store_id": 2250,
"store_name": "Terry, Gulgowski and Raynor",
"store_logo_url": null,
"store_logo": null,
"currency": "GBP",
"token": "0wuczpr3mn9cnrm7",
"type": "standard"
},
{
"id": 802,
"campaign_title": "Prof. Mae Beatty DDS",
"campaign_text": "Perferendis quia incidunt et vitae itaque aut. Consectetur voluptatum iste recusandae laudantium voluptate maxime.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzAwP3RleHQ9cmVwcmVoZW5kZXJpdA==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzAwP3RleHQ9cmVwcmVoZW5kZXJpdA==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzAwP3RleHQ9cmVwcmVoZW5kZXJpdA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzAwP3RleHQ9cmVwcmVoZW5kZXJpdA=="
},
"store_id": 2251,
"store_name": "Schroeder Ltd",
"store_logo_url": null,
"store_logo": null,
"currency": "GBP",
"token": "502i8yo5a66uipk2",
"type": "standard"
}
]
Returns information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/quasi" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 803,
"campaign_title": "Prof. Keon Kshlerin",
"campaign_text": "Laboriosam amet ab repellat facilis. Inventore qui adipisci dolores ut nam repudiandae dolores. Temporibus molestiae inventore ullam hic expedita placeat voluptatum.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDk5P3RleHQ9bGFib3J1bQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDk5P3RleHQ9bGFib3J1bQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDk5P3RleHQ9bGFib3J1bQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDk5P3RleHQ9bGFib3J1bQ=="
},
"store_id": 2255,
"store_name": "Wolf, Rosenbaum and O'Connell",
"store_logo_url": null,
"store_logo": null,
"currency": "SEK",
"token": "wonspp32hk1pcc35",
"traffic_sources_costs": [
{
"id": 224,
"source": 1,
"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\": [
1
],
\"user_tag_ids\": [
5
],
\"store_group_ids\": [
17
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"gavmzev\"
],
\"client_ids\": [
5
],
\"revenue_tier_ids\": [
1
]
}"
The ID of the offer.
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/13/users/50" \
--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/15/participants" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"dcuubtochmeobxifcj\",
\"status\": \"store_denied\",
\"include\": [
\"offer_comments_count\"
]
}"
{
"data": [
{
"id": null,
"offer_id": 788,
"user_id": null,
"display_name": "presley.bailey",
"clicks": 59130783,
"status": "denied",
"pre_registered_identifier": "presley.bailey",
"todo": null,
"payment_amount": null
},
{
"id": null,
"offer_id": 790,
"user_id": null,
"display_name": "rhea.miller",
"clicks": 6032,
"status": "applied",
"pre_registered_identifier": "rhea.miller",
"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/10/participants/10" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"offer_id": 791,
"user_id": 3876,
"display_name": "gwendolyn31",
"clicks": 374,
"status": "applied",
"todo": null,
"payment_amount": null,
"social_media": [],
"tags": [
{
"id": 2186,
"name": "Miss Esta Borer",
"slug": "et-ut",
"access_level": 1,
"store_id": 2220
}
]
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/20/participants-stats" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"fomdlcwixqdy\",
\"active\": false,
\"start_date\": \"2010-09-30\",
\"end_date\": \"2065-08-10\",
\"sort_by\": \"links_created:asc\"
}"
{
"data": [
{
"id": null,
"user_id": null,
"display_name": "estanton",
"clicks": 0,
"status": "accepted",
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
},
{
"id": null,
"user_id": null,
"display_name": "tbrown",
"clicks": 0,
"status": "suggestion",
"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/17/participants-count-by-click-activity" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2014-06-11\",
\"end_date\": \"2113-08-08\"
}"
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/4/participants/2/update-status" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"store_denied\"
}"
{
"id": null,
"offer_id": 794,
"user_id": 3879,
"display_name": null,
"clicks": 93139,
"status": "accepted",
"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/1/todo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"todo\": [
{
\"key\": \"ajsinbicpakijukf\",
\"value\": true
}
]
}"
{
"id": null,
"offer_id": 795,
"user_id": 3881,
"display_name": null,
"clicks": 73511,
"status": "done",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PUT \
"https://api.metapic.dev/v2/offers/20/participants/7/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": 796,
"user_id": null,
"display_name": "wilkinson.aileen",
"clicks": 9064,
"status": "done",
"pre_registered_identifier": "wilkinson.aileen",
"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/7/overrides/clicks" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"click_limit\": 5
}"
{
"id": null,
"offer_id": 797,
"user_id": 3884,
"display_name": null,
"clicks": 8681,
"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/19/participants/9/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": 798,
"user_id": null,
"display_name": "anderson.arnoldo",
"clicks": 0,
"status": "product_sent",
"pre_registered_identifier": "anderson.arnoldo",
"todo": null,
"payment_amount": null
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/autem/users/50" \
--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=eyJpdiI6Ikd3M0ZWS2ZMZDc1RndsdFFKZzNBNmc9PSIsInZhbHVlIjoiR1l0eHEyK1Z1MlBxYzZqK0VBcmpmaldhRkhiZ0orZzBEUEJZanZsYUU0NDFER1U0am9sVzkwcVM0UmlYMDBtUHVxLzYrY0xoNEFBQzRSZlNoTlQrdGovaUNUUVJSYzhzMXJWVzc4RnFKQzRGQkVCOFVVMko1Mnd2blpGNzRwL08iLCJtYWMiOiI5YWY5MzE4NDFjMmUzZmZmNmViZDdlOGM5MmZhYWUxMzlhNGMyYWY4YThkOTgxYjdhZDM4NzlhZDljMmQzOGU2IiwidGFnIjoiIn0%3D; expires=Wed, 11 Mar 2026 12:33:04 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/voluptatem/users/50/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\": \"fhgkhwqfsqbbhenwpeohdzntj\"
}"
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/12" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"nyr\"
}"
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/11" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://api.metapic.dev/v2/offer-users/repellat/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[]=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": 277,
"name": "Heidi Botsford",
"advertiser_group_id": 4843,
"affiliate_link": {
"id": 868,
"url": "https://www.dietrich.com/placeat-libero-numquam-assumenda-ut-quia-qui-minima-nihil",
"original_url": "http://beer.com/occaecati-provident-voluptatibus-et-voluptate-eos.html",
"mtpc_url": "https://c.mtpc.se/868",
"user_id": 3887,
"country": "CO",
"provider": "purple",
"advertiser": {
"id": 2232,
"name": "Sauer and Sons"
}
},
"author_id": 3888,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmNjP3RleHQ9cXVpc3F1YW0=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmNjP3RleHQ9cXVpc3F1YW0=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmNjP3RleHQ9cXVpc3F1YW0="
},
"starts_at": "2026-02-11 11:33:02",
"ends_at": "2026-04-11 11:33:02",
"stats": []
},
{
"id": 278,
"name": "Prof. Reuben Boyle Sr.",
"advertiser_group_id": 4846,
"affiliate_link": {
"id": 869,
"url": "http://schmeler.com/animi-voluptas-sunt-corporis-officia",
"original_url": "http://kutch.biz/et-corrupti-et-et",
"mtpc_url": "https://c.mtpc.se/869",
"user_id": 3889,
"country": "AD",
"provider": "aqua",
"advertiser": {
"id": 2233,
"name": "Padberg Ltd"
}
},
"author_id": 3890,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZGJiP3RleHQ9ZGVsZW5pdGk=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZGJiP3RleHQ9ZGVsZW5pdGk=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZGJiP3RleHQ9ZGVsZW5pdGk="
},
"starts_at": "2026-02-11 11:33:02",
"ends_at": "2026-04-11 11:33:02",
"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\": \"fejuzfhoafb\",
\"advertiser_group_id\": 8,
\"advertiser_id\": 20,
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
9
],
\"advertiser_category_ids\": [
11
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-03-11T11:33:02\",
\"ends_at\": \"2036-05-17\",
\"click_limit\": 5,
\"view_limit\": 14
}"
{
"id": 279,
"name": "Hattie Kiehn",
"advertiser_group_id": 4849,
"affiliate_link": {
"id": 870,
"url": "http://www.hermann.biz/ut-ut-exercitationem-consequatur-praesentium-ut-omnis-illum-odit",
"original_url": "http://www.treutel.com/delectus-rerum-nesciunt-quia",
"mtpc_url": "https://c.mtpc.se/870",
"user_id": 3891,
"country": "LT",
"provider": "black",
"advertiser": {
"id": 2234,
"name": "Keebler PLC"
}
},
"author_id": 3892,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmZmP3RleHQ9YWNjdXNhbXVz",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmZmP3RleHQ9YWNjdXNhbXVz",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmZmP3RleHQ9YWNjdXNhbXVz"
},
"starts_at": "2026-02-11 11:33:02",
"ends_at": "2026-04-11 11:33:02",
"stats": []
}
The ID of the return ad.
curl --request GET \
--get "https://api.metapic.dev/v2/return-ads/18" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 280,
"name": "Napoleon Bergnaum",
"advertiser_group_id": 4852,
"affiliate_link": {
"id": 871,
"url": "http://champlin.org/vel-cumque-repellendus-nihil-est-eum",
"original_url": "http://mertz.biz/",
"mtpc_url": "https://c.mtpc.se/871",
"user_id": 3893,
"country": "GF",
"provider": "silver",
"advertiser": {
"id": 2235,
"name": "Waters and Sons"
}
},
"author_id": 3894,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmFhP3RleHQ9aW1wZWRpdA==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmFhP3RleHQ9aW1wZWRpdA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmFhP3RleHQ9aW1wZWRpdA=="
},
"starts_at": "2026-02-11 11:33:02",
"ends_at": "2026-04-11 11:33:02",
"stats": []
}
The ID of the return ad.
curl --request PUT \
"https://api.metapic.dev/v2/return-ads/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"dekj\",
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
6
],
\"advertiser_category_ids\": [
15
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-03-11T11:33:02\",
\"ends_at\": \"2104-11-11\",
\"click_limit\": 5,
\"view_limit\": 19
}"
{
"id": 281,
"name": "Jany Hirthe DVM",
"advertiser_group_id": 4855,
"affiliate_link": {
"id": 872,
"url": "http://www.pfannerstill.org/",
"original_url": "http://rempel.com/excepturi-non-et-occaecati-exercitationem-quasi-quis-impedit-commodi.html",
"mtpc_url": "https://c.mtpc.se/872",
"user_id": 3895,
"country": "LY",
"provider": "yellow",
"advertiser": {
"id": 2236,
"name": "Treutel-Corwin"
}
},
"author_id": 3896,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmRkP3RleHQ9dXQ=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmRkP3RleHQ9dXQ=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMmRkP3RleHQ9dXQ="
},
"starts_at": "2026-02-11 11:33:02",
"ends_at": "2026-04-11 11:33:02",
"stats": []
}
The ID of the return ad.
curl --request DELETE \
"https://api.metapic.dev/v2/return-ads/18" \
--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/1/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 282,
"name": "Kailee Ruecker",
"advertiser_group_id": 4858,
"affiliate_link": {
"id": 873,
"url": "https://lebsack.com/perferendis-sit-similique-vel-dolore-fuga-id-nesciunt.html",
"original_url": "https://www.waters.com/alias-et-culpa-omnis",
"mtpc_url": "https://c.mtpc.se/873",
"user_id": 3897,
"country": "NG",
"provider": "blue",
"advertiser": {
"id": 2237,
"name": "Berge and Sons"
}
},
"author_id": 3898,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMWZmP3RleHQ9cXVp",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMWZmP3RleHQ9cXVp",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMWZmP3RleHQ9cXVp"
},
"starts_at": "2026-02-11 11:33:02",
"ends_at": "2026-04-11 11:33:02",
"stats": []
}
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/12/unpause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 283,
"name": "Kiara Herman",
"advertiser_group_id": 4861,
"affiliate_link": {
"id": 874,
"url": "http://www.luettgen.com/quae-explicabo-labore-autem-consectetur",
"original_url": "http://www.pagac.com/dolorum-nihil-ab-quidem-aliquid-inventore-et-voluptas",
"mtpc_url": "https://c.mtpc.se/874",
"user_id": 3899,
"country": "JM",
"provider": "white",
"advertiser": {
"id": 2238,
"name": "Roob LLC"
}
},
"author_id": 3900,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGVlP3RleHQ9bmVjZXNzaXRhdGlidXM=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGVlP3RleHQ9bmVjZXNzaXRhdGlidXM=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGVlP3RleHQ9bmVjZXNzaXRhdGlidXM="
},
"starts_at": "2026-02-11 11:33:03",
"ends_at": "2026-04-11 11:33:03",
"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/15/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 284,
"name": "Adam Willms II",
"advertiser_group_id": 4864,
"affiliate_link": {
"id": 875,
"url": "http://fritsch.com/dolor-nam-et-qui-corporis-debitis",
"original_url": "http://bednar.com/ex-culpa-soluta-voluptas-sed-temporibus-aperiam.html",
"mtpc_url": "https://c.mtpc.se/875",
"user_id": 3901,
"country": "KN",
"provider": "lime",
"advertiser": {
"id": 2239,
"name": "Witting-Grimes"
}
},
"author_id": 3902,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGFhP3RleHQ9YmVhdGFl",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGFhP3RleHQ9YmVhdGFl",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMGFhP3RleHQ9YmVhdGFl"
},
"starts_at": "2026-02-11 11:33:03",
"ends_at": "2026-04-11 11:33:03",
"stats": []
},
{
"id": 285,
"name": "Dr. Trinity Kshlerin",
"advertiser_group_id": 4867,
"affiliate_link": {
"id": 876,
"url": "http://dubuque.biz/nemo-voluptas-facere-tempore-provident-molestiae-neque",
"original_url": "http://schroeder.com/",
"mtpc_url": "https://c.mtpc.se/876",
"user_id": 3903,
"country": "CM",
"provider": "maroon",
"advertiser": {
"id": 2240,
"name": "Johnson-Conn"
}
},
"author_id": 3904,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzAwP3RleHQ9YWI=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzAwP3RleHQ9YWI=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzAwP3RleHQ9YWI="
},
"starts_at": "2026-02-11 11:33:03",
"ends_at": "2026-04-11 11:33:03",
"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": "Ronny D'Amore",
"amount": 3,
"amount_v2": {
"amount": "0.03",
"currency": "PLN"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "PLN"
},
"currency": "PLN"
},
{
"id": 45,
"title": "Domenic Blanda",
"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/15/shared-budgets/18" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 46,
"title": "Mr. Tremayne McKenzie DVM",
"amount": 3,
"amount_v2": {
"amount": "0.03",
"currency": "EUR"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "EUR"
},
"currency": "EUR"
}
Updates existing budget.
The ID of the store.
The ID of the shared budget.
curl --request PUT \
"https://api.metapic.dev/v2/stores/3/shared-budgets/10" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Summer budget\",
\"amount\": 10000
}"
{
"id": 47,
"title": "Jodie Turcotte",
"amount": 1,
"amount_v2": {
"amount": "0.01",
"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/3/shared-budgets/15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://api.metapic.dev/v2/stores/20/payment" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"iure\"
}"
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\": \"id\"
}"
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.
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/users?query=testcreator123&client_id=2&store_group_id=15&size=20&sort_by=iste" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 3907,
"username": "waters.shayna",
"display_name": "Lillian Maggio",
"email": "[email protected]",
"client_id": 4128
},
{
"id": 3908,
"username": "arnulfo60",
"display_name": "Maegan Ritchie",
"email": "[email protected]",
"client_id": 4129
}
],
"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
}
}
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": 3909,
"username": "nauer",
"display_name": "Tyler Hodkiewicz",
"email": "[email protected]",
"client_id": 4130
}
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/50/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\": [
17
]
}"
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\": [
12
]
}"
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=eum" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"