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/5/blocklist?query=vwmghmqtdowrvazhzecurre" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 81,
"created_at": "2026-03-05 13:26:06",
"created_by": {
"id": 3900,
"username": "kessler.dianna",
"display_name": "Shaylee Gerlach",
"email": "[email protected]",
"client_id": 4120
},
"client": {
"id": 4121,
"name": "Mathew Schuster",
"client_id": "XROtM1a2Wr",
"has_own_payment_system": false,
"revenue_share": 1
}
},
{
"id": 82,
"created_at": "2026-03-05 13:26:06",
"created_by": {
"id": 3901,
"username": "daniel.colten",
"display_name": "Cydney Blick",
"email": "[email protected]",
"client_id": 4122
},
"client": {
"id": 4123,
"name": "Maurice Predovic",
"client_id": "rOoDpnnhlA",
"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/5/blocklist" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"users\": [
{
\"id\": 123,
\"validate_clicks\": true
},
{
\"id\": 456,
\"validate_clicks\": false
}
],
\"user_tag_ids\": [
10
],
\"client_ids\": [
20
]
}"
The ID of the advertiser.
The ID of the target.
curl --request DELETE \
"https://api.metapic.dev/v2/advertisers/3/blocklist/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/reprehenderit/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/assumenda/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\": \"ducimus\"
}"
Returns remaining email quota for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/13/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/20/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\": \"velit\"
}"
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\": [
3
],
\"logo_url\": \"http:\\/\\/www.bahringer.org\\/ratione-repellendus-vel-rerum-iusto-non-nihil-quis.html\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"voluptatibus\",
\"street\": \"aspernatur\",
\"postal_code\": \"laudantium\",
\"city\": \"consequuntur\",
\"vat_number\": \"quod\"
}
}"
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=blanditiis" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 2242,
"name": "Cummerata-Collier"
},
{
"id": 2243,
"name": "Kuphal and Sons"
}
],
"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/13/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 325,
"type": "allow",
"is_main": false,
"url": "testcompany.com",
"updated_at": "2026-03-05T13:26:06.000000Z"
},
{
"id": 326,
"type": "allow",
"is_main": false,
"url": "testcompany.com",
"updated_at": "2026-03-05T13:26:06.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/11/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"allow\",
\"url\": \"http:\\/\\/okuneva.com\\/velit-consectetur-eos-ut-ipsum-soluta\",
\"keyword\": \"pmxsgwbgy\",
\"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/12/url-matching-rules/12" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"allow\",
\"url\": \"http:\\/\\/tremblay.com\\/harum-impedit-esse-est-pariatur-non-quis-consequatur-eaque.html\",
\"keyword\": \"urdofougrsvbepsfqxi\",
\"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/14/url-matching-rules/6" \
--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\": [
15
],
\"logo_url\": \"http:\\/\\/collins.com\\/\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"sed\",
\"street\": \"ut\",
\"postal_code\": \"quidem\",
\"city\": \"corrupti\",
\"vat_number\": \"natus\"
}
}"
{
"id": 2244,
"name": "Ondricka, Wisozk and Kautzer"
}
Deactivates the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/5/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=voluptate" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4877,
"name": "Trantow Inc",
"key": "fil_PH",
"currency": "SEK"
},
{
"id": 4878,
"name": "Predovic, Moore and Koss",
"key": "he_IL",
"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/est" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 877,
"url": "http://kulas.biz/",
"original_url": "https://mcdermott.info/sit-hic-nihil-ipsum-voluptatem-architecto.html",
"mtpc_url": "https://c.mtpc.se/877",
"user_id": 3905,
"country": "EG",
"provider": "fuchsia",
"advertiser": {
"id": 2247,
"name": "Wilkinson, Lakin and Grady"
}
}
Returns advertisers if there are multiple advertisers to match the url with. Otherwise, returns the affiliate link.
curl --request POST \
"https://api.metapic.dev/v2/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 12,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": false
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"id": 878,
"url": "http://www.kuvalis.org/",
"original_url": "http://hammes.com/harum-ut-rerum-dolorem-aut-corrupti-nemo",
"mtpc_url": "https://c.mtpc.se/878",
"user_id": 3906,
"country": "AQ",
"provider": "fuchsia",
"advertiser": {
"id": 2248,
"name": "Block-Hane"
}
}
}
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/33/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 9,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": true
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"id": 879,
"url": "http://www.olson.info/",
"original_url": "https://cartwright.org/possimus-commodi-quas-molestias-vel-et-suscipit.html",
"mtpc_url": "https://c.mtpc.se/879",
"user_id": 3907,
"country": "CM",
"provider": "yellow",
"advertiser": {
"id": 2249,
"name": "Lebsack, Cartwright and Lowe"
}
}
}
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/33/inspections/affiliate-link" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"ignore_store_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/33/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 12,
\"dry\": true
}"
{
"id": 880,
"url": "http://www.schultz.com/at-est-aspernatur-qui-vero",
"original_url": "http://bednar.com/ut-fugit-similique-quaerat-temporibus-sunt-natus-rerum",
"mtpc_url": "https://c.mtpc.se/880",
"user_id": 3909,
"country": "KZ",
"provider": "purple",
"advertiser": {
"id": 2251,
"name": "Bashirian-Heathcote"
}
}
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=qui" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4124,
"name": "Ms. Sabrina Kemmer",
"client_id": "MqZUKhuctQ",
"has_own_payment_system": false,
"revenue_share": 1
},
{
"id": 4125,
"name": "Ralph Mraz",
"client_id": "qYFqxwd1fp",
"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=minima&status=0&type=tiktok&favorite=1&group=4&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": "Beauty"
},
{
"id": 54,
"name": "Fashion"
}
]
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/33/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/33/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\": \"bdgk\"
}"
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\": \"b\"
}"
Endpoint for generating a creator invoice from external component
curl --request POST \
"https://api.metapic.dev/v2/payments/generate-creator-invoice/eveniet" \
--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-05T14:26:06\",
\"client_id\": 9,
\"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\": \"agency\",
\"store_id\": 12
}"
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/l%7~U" \
--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\": 16,
\"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\": true,
\"one_time_payment\": 177608228.52,
\"budget_limit\": 13,
\"max_clicks\": 7,
\"valid_from\": \"2026-03-05T14:26:01\",
\"valid_until\": \"2079-10-15\",
\"todo\": [
\"aaftxat\"
],
\"show_for_advertiser\": false,
\"priority_after\": 7,
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
},
\"targets\": {
\"user_ids\": [
4
],
\"user_tag_ids\": [
15
],
\"store_group_ids\": [
16
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"xpimrphyanzlqprtxktymywm\"
],
\"client_ids\": [
8
],
\"revenue_tier_ids\": [
10
]
},
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
]
}"
{
"data": {
"id": 775,
"campaign_title": "Jordyn Windler",
"campaign_text": "Quia dolorem sed quae ullam id. Libero error deleniti expedita sequi aspernatur reiciendis. Perferendis et doloremque omnis nulla aut blanditiis vel praesentium.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWNjP3RleHQ9cXVp",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWNjP3RleHQ9cXVp",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWNjP3RleHQ9cXVp",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWNjP3RleHQ9cXVp"
},
"store_id": 2206,
"store_name": "Hirthe LLC",
"store_logo_url": null,
"store_logo": null,
"currency": "PLN",
"token": "457vdfzg3jhh3lwd",
"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": 776,
"campaign_title": "Jacey Dickens",
"campaign_text": "Eos fugit modi dolores labore et sequi omnis. Rerum aspernatur quae in itaque et. Iure autem veniam tenetur eligendi libero itaque.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9aW1wZWRpdA==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9aW1wZWRpdA==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9aW1wZWRpdA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZDU1P3RleHQ9aW1wZWRpdA=="
},
"store_id": 2207,
"store_name": "Wintheiser-Bauch",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "mnkw6skwy2735swg",
"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/14" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 8,
\"type\": \"store_accept\",
\"name\": \"Summer campaign for VIP creators\",
\"campaign_title\": \"Summer campaign\",
\"campaign_text\": \"This is a summer campaign!\",
\"has_product_seeding\": true,
\"has_onetime_payment\": false,
\"per_user_limit\": false,
\"one_time_payment\": 2182.202852,
\"budget_limit\": 15,
\"max_clicks\": 3,
\"valid_from\": \"2026-03-05T14:26:01\",
\"valid_until\": \"2028-08-07\",
\"todo\": [
\"vmxcjqihvv\"
],
\"show_for_advertiser\": false,
\"priority_after\": 1,
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 0
}
],
\"targets\": {
\"0\": [],
\"user_ids\": [
11
],
\"user_tag_ids\": [
2
],
\"store_group_ids\": [
18
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"jqyyhbtim\"
],
\"client_ids\": [
17
],
\"revenue_tier_ids\": [
11
]
},
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
}
}"
{
"data": {
"id": 777,
"campaign_title": "Prof. Sadie Balistreri Sr.",
"campaign_text": "Ipsum et fugit rerum dolorum. Non et voluptatibus et quo occaecati recusandae quia. Quos earum animi et qui magni. Velit eius voluptatem est sed consequatur. Sed tempore consequatur cumque quo quo.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzg4P3RleHQ9dm9sdXB0YXRlbQ==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzg4P3RleHQ9dm9sdXB0YXRlbQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzg4P3RleHQ9dm9sdXB0YXRlbQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzg4P3RleHQ9dm9sdXB0YXRlbQ=="
},
"store_id": 2208,
"store_name": "Douglas Group",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "80l7xq8n4y16etw2",
"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/2" \
--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=1&or_id=1234&target_user_id=19&size=20&sort_by=explicabo&custom_sort_by=ends_soon&format=csv&show_for_advertiser=1&advertiser_id=123" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 778,
"campaign_title": "Hillard Quitzon",
"campaign_text": "Architecto recusandae voluptas cumque quia qui. Fugiat numquam rerum magni. Culpa doloremque distinctio vel illum ab assumenda.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjExP3RleHQ9c2ltaWxpcXVl",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjExP3RleHQ9c2ltaWxpcXVl",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjExP3RleHQ9c2ltaWxpcXVl",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjExP3RleHQ9c2ltaWxpcXVl"
},
"store_id": 2209,
"store_name": "Wuckert, Metz and Doyle",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "032zi7z163a0rl08",
"type": "standard"
},
{
"id": 779,
"campaign_title": "Cody Padberg",
"campaign_text": "Aliquam aliquid iure ut ea sed nobis sapiente. Ipsa eaque ea repellendus qui. Omnis ea dolores praesentium porro. Fuga ex illum voluptatem voluptas quae beatae quis.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9c2l0",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9c2l0",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9c2l0",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2FhP3RleHQ9c2l0"
},
"store_id": 2210,
"store_name": "Greenholt, Schaden and Collier",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "uf6htl4x86iss2cp",
"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\": \"voluptas\"
}"
{
"id": 780,
"campaign_title": "Dr. Kelvin Stokes",
"campaign_text": "Sit optio commodi expedita nesciunt et sapiente. Quisquam quasi ullam repellat accusamus maxime. Repellendus molestiae ut libero delectus ab consequatur.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9cXVhcw==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9cXVhcw==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9cXVhcw==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA3NzY2P3RleHQ9cXVhcw=="
},
"store_id": 2211,
"store_name": "Bode, Stokes and Osinski",
"store_logo_url": null,
"store_logo": null,
"currency": "GBP",
"token": "im6qt3ycgx4sd6uk",
"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": 781,
"campaign_title": "Dr. Percy Nikolaus",
"campaign_text": "Suscipit quas incidunt harum voluptas accusamus id ratione. Optio quis in dolor hic ut rem. Ut distinctio unde repellat doloremque natus sed. Voluptas pariatur et aut aliquam alias.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTU1P3RleHQ9aWxsbw==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTU1P3RleHQ9aWxsbw==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTU1P3RleHQ9aWxsbw==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTU1P3RleHQ9aWxsbw=="
},
"store_id": 2212,
"store_name": "Balistreri, Legros and Beier",
"store_logo_url": null,
"store_logo": null,
"currency": "EUR",
"token": "zcdxhp2ymmo5y1dx",
"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": 782,
"campaign_title": "Nicolette Jast",
"campaign_text": "Neque et earum libero molestiae. Vel non assumenda labore tempore voluptates. Recusandae libero qui inventore culpa neque quo qui.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9c2ludA==",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9c2ludA==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9c2ludA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NWFhP3RleHQ9c2ludA=="
},
"store_id": 2213,
"store_name": "Hermann-Kilback",
"store_logo_url": null,
"store_logo": null,
"currency": "SEK",
"token": "to43j8l3q438nn6p",
"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\": \"2025-04-15\",
\"end_date\": \"2042-05-28\"
}"
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/33/offers" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"product_sent\",
\"name\": \"pmn\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Returns information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/odit" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 795,
"campaign_title": "Emelie Mertz",
"campaign_text": "Dolorum aut maxime veniam molestias eaque. Velit voluptas vitae illo voluptatum nemo. Aut et sed dolore delectus et doloremque.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9c2FlcGU=",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9c2FlcGU=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9c2FlcGU=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmFhP3RleHQ9c2FlcGU="
},
"store_id": 2250,
"store_name": "Lemke and Sons",
"store_logo_url": null,
"store_logo": null,
"currency": "USD",
"token": "qrffe2g0m9ul3pv3",
"traffic_sources_costs": [
{
"id": 224,
"source": 1,
"cpc": null,
"cpa": null,
"currency": "USD"
}
],
"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\": [
4
],
\"user_tag_ids\": [
20
],
\"store_group_ids\": [
8
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"ktgxjicwwicwtlqrmi\"
],
\"client_ids\": [
16
],
\"revenue_tier_ids\": [
11
]
}"
The ID of the offer.
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/11/users/33" \
--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/20/participants" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"wrlqunflual\",
\"status\": \"denied\",
\"include\": [
\"offer_comments_count\"
]
}"
{
"data": [
{
"id": null,
"offer_id": 784,
"user_id": null,
"display_name": "[email protected]",
"clicks": 26,
"status": "applied",
"pre_registered_email": "[email protected]",
"todo": null,
"payment_amount": null
},
{
"id": null,
"offer_id": 786,
"user_id": 3869,
"display_name": null,
"clicks": 7536639,
"status": "have_received",
"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/13/participants/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"offer_id": 787,
"user_id": 3872,
"display_name": "lang.addison",
"clicks": 412496,
"status": "open",
"todo": null,
"payment_amount": null,
"social_media": [],
"tags": [
{
"id": 2183,
"name": "Prof. Queen Wiegand I",
"slug": "excepturi-cum-molestiae",
"access_level": 1,
"store_id": 2219
}
]
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/9/participants-stats" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"cncydahkgtgadtkfcf\",
\"active\": true,
\"start_date\": \"2006-03-23\",
\"end_date\": \"2042-05-10\",
\"sort_by\": \"links_created:desc\"
}"
{
"data": [
{
"id": null,
"user_id": null,
"display_name": "molly.tremblay",
"clicks": 0,
"status": "suggestion",
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
},
{
"id": null,
"user_id": null,
"display_name": "[email protected]",
"clicks": 0,
"status": "done",
"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/2/participants-count-by-click-activity" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2009-08-31\",
\"end_date\": \"2030-05-07\"
}"
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/1/participants/10/update-status" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"have_received\"
}"
{
"id": null,
"offer_id": 790,
"user_id": null,
"display_name": "[email protected]",
"clicks": 818244543,
"status": "store_denied",
"pre_registered_email": "[email protected]",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/18/participants/14/todo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"todo\": [
{
\"key\": \"c\",
\"value\": false
}
]
}"
{
"id": null,
"offer_id": 791,
"user_id": null,
"display_name": "hank.fritsch",
"clicks": 897323417,
"status": "store_denied",
"pre_registered_identifier": "hank.fritsch",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PUT \
"https://api.metapic.dev/v2/offers/8/participants/9/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": 792,
"user_id": 3877,
"display_name": null,
"clicks": 890,
"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/20/participants/7/overrides/clicks" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"click_limit\": 8
}"
{
"id": null,
"offer_id": 793,
"user_id": null,
"display_name": "[email protected]",
"clicks": 107150,
"status": "accepted",
"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/17/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": 794,
"user_id": 3880,
"display_name": null,
"clicks": 8224,
"status": "suggestion",
"todo": null,
"payment_amount": null
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/possimus/users/33" \
--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=eyJpdiI6Imw3UnNtamJvSHk4VDVqbVhlZm5qZFE9PSIsInZhbHVlIjoiTVRITmVrK212ZVhVeUJ1ZkhoRE9HcUFxQldFbGs3d1NoQ094MUdZMTRodVJORHNqb3I3d04yTVBkTEZodVNGRHhVRzJKTFFHTkczZllnRUxpV2kwMVI5eThFSHVZS1d4L3lUVDFhTy9hVzRnbXpYOWpWWE9hZ0JnMHhHdUtuaEgiLCJtYWMiOiI3MTUyMzU5MjQ0ZDI2ODJjNzAwZmQ5N2FlMTE0MzBiYzNlMmZjZGI4NWFhMjJiMTljNGU0MmM4YWQ2MDg2OGU1IiwidGFnIjoiIn0%3D; expires=Thu, 05 Mar 2026 15:26:06 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/pariatur/users/33/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\": \"upmgxfex\"
}"
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/14" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"buy\"
}"
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/18" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://api.metapic.dev/v2/offer-users/dignissimos/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[]=paused&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": "Alessandra Ruecker DVM",
"advertiser_group_id": 4841,
"affiliate_link": {
"id": 868,
"url": "http://roob.com/",
"original_url": "http://www.hoppe.net/suscipit-quis-nostrum-ad-ipsa-id-et-omnis.html",
"mtpc_url": "https://c.mtpc.se/868",
"user_id": 3882,
"country": "YE",
"provider": "gray",
"advertiser": {
"id": 2231,
"name": "Parisian, Bins and Goodwin"
}
},
"author_id": 3883,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjMzP3RleHQ9c2FlcGU=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjMzP3RleHQ9c2FlcGU=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjMzP3RleHQ9c2FlcGU="
},
"starts_at": "2026-02-05 14:26:05",
"ends_at": "2026-04-05 14:26:05",
"stats": []
},
{
"id": 278,
"name": "Ms. Holly Olson",
"advertiser_group_id": 4844,
"affiliate_link": {
"id": 869,
"url": "http://cruickshank.com/ratione-modi-non-fugiat",
"original_url": "http://www.bartell.org/sapiente-ut-recusandae-iusto-in-sed",
"mtpc_url": "https://c.mtpc.se/869",
"user_id": 3884,
"country": "IN",
"provider": "green",
"advertiser": {
"id": 2232,
"name": "Howell and Sons"
}
},
"author_id": 3885,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NGVlP3RleHQ9c2ltaWxpcXVl",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NGVlP3RleHQ9c2ltaWxpcXVl",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NGVlP3RleHQ9c2ltaWxpcXVl"
},
"starts_at": "2026-02-05 14:26:05",
"ends_at": "2026-04-05 14:26:05",
"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\": \"x\",
\"advertiser_group_id\": 11,
\"advertiser_id\": 14,
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
1
],
\"advertiser_category_ids\": [
5
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-03-05T14:26:05\",
\"ends_at\": \"2104-07-11\",
\"click_limit\": 10,
\"view_limit\": 11
}"
{
"id": 279,
"name": "Princess Brown",
"advertiser_group_id": 4847,
"affiliate_link": {
"id": 870,
"url": "http://www.fisher.com/et-facere-saepe-est-deserunt-sed-autem-ratione-et.html",
"original_url": "http://www.moen.com/",
"mtpc_url": "https://c.mtpc.se/870",
"user_id": 3886,
"country": "PY",
"provider": "blue",
"advertiser": {
"id": 2233,
"name": "Homenick, Hamill and Bayer"
}
},
"author_id": 3887,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODY2P3RleHQ9bGFib3Jpb3NhbQ==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODY2P3RleHQ9bGFib3Jpb3NhbQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODY2P3RleHQ9bGFib3Jpb3NhbQ=="
},
"starts_at": "2026-02-05 14:26:05",
"ends_at": "2026-04-05 14:26:05",
"stats": []
}
The ID of the return ad.
curl --request GET \
--get "https://api.metapic.dev/v2/return-ads/15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 280,
"name": "Madelyn Witting",
"advertiser_group_id": 4850,
"affiliate_link": {
"id": 871,
"url": "http://www.block.com/repellat-et-ex-sit-id-dicta-magnam",
"original_url": "https://cassin.info/qui-sint-ipsum-id-libero-impedit-ea-rerum.html",
"mtpc_url": "https://c.mtpc.se/871",
"user_id": 3888,
"country": "FJ",
"provider": "aqua",
"advertiser": {
"id": 2234,
"name": "Jacobi Inc"
}
},
"author_id": 3889,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTAwP3RleHQ9bWludXM=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTAwP3RleHQ9bWludXM=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTAwP3RleHQ9bWludXM="
},
"starts_at": "2026-02-05 14:26:05",
"ends_at": "2026-04-05 14:26:05",
"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\": \"dorkfjmo\",
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
19
],
\"advertiser_category_ids\": [
1
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-03-05T14:26:05\",
\"ends_at\": \"2077-03-12\",
\"click_limit\": 10,
\"view_limit\": 17
}"
{
"id": 281,
"name": "Theo Raynor",
"advertiser_group_id": 4853,
"affiliate_link": {
"id": 872,
"url": "https://altenwerth.com/excepturi-molestiae-ab-consequuntur-aut-aliquid.html",
"original_url": "https://hudson.com/quasi-occaecati-qui-quo-ex-provident-quod.html",
"mtpc_url": "https://c.mtpc.se/872",
"user_id": 3890,
"country": "RU",
"provider": "maroon",
"advertiser": {
"id": 2235,
"name": "Von LLC"
}
},
"author_id": 3891,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTExP3RleHQ9dXQ=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTExP3RleHQ9dXQ=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTExP3RleHQ9dXQ="
},
"starts_at": "2026-02-05 14:26:05",
"ends_at": "2026-04-05 14:26:05",
"stats": []
}
The ID of the return ad.
curl --request DELETE \
"https://api.metapic.dev/v2/return-ads/10" \
--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/20/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 282,
"name": "Christophe Rippin",
"advertiser_group_id": 4856,
"affiliate_link": {
"id": 873,
"url": "http://lowe.com/optio-in-ipsa-impedit.html",
"original_url": "http://skiles.com/consequatur-praesentium-quod-qui-nihil",
"mtpc_url": "https://c.mtpc.se/873",
"user_id": 3892,
"country": "MF",
"provider": "fuchsia",
"advertiser": {
"id": 2236,
"name": "Kris, Legros and Parisian"
}
},
"author_id": 3893,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NjAwP3RleHQ9cXVvZA==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NjAwP3RleHQ9cXVvZA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NjAwP3RleHQ9cXVvZA=="
},
"starts_at": "2026-02-05 14:26:05",
"ends_at": "2026-04-05 14:26:05",
"stats": []
}
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/10/unpause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 283,
"name": "Ernesto Heller",
"advertiser_group_id": 4859,
"affiliate_link": {
"id": 874,
"url": "http://www.friesen.org/odit-natus-et-non-odit",
"original_url": "http://www.okon.info/",
"mtpc_url": "https://c.mtpc.se/874",
"user_id": 3894,
"country": "CZ",
"provider": "blue",
"advertiser": {
"id": 2237,
"name": "Beahan, Herman and Bode"
}
},
"author_id": 3895,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTMzP3RleHQ9cGxhY2VhdA==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTMzP3RleHQ9cGxhY2VhdA==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA5OTMzP3RleHQ9cGxhY2VhdA=="
},
"starts_at": "2026-02-05 14:26:06",
"ends_at": "2026-04-05 14:26:06",
"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/8/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 284,
"name": "Blanca Gottlieb IV",
"advertiser_group_id": 4862,
"affiliate_link": {
"id": 875,
"url": "http://leffler.com/",
"original_url": "https://gibson.com/quas-magni-sed-incidunt-quae-in-ducimus-optio.html",
"mtpc_url": "https://c.mtpc.se/875",
"user_id": 3896,
"country": "PE",
"provider": "blue",
"advertiser": {
"id": 2238,
"name": "Luettgen, Bartell and Mayer"
}
},
"author_id": 3897,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDAwP3RleHQ9aXVzdG8=",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDAwP3RleHQ9aXVzdG8=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDAwP3RleHQ9aXVzdG8="
},
"starts_at": "2026-02-05 14:26:06",
"ends_at": "2026-04-05 14:26:06",
"stats": []
},
{
"id": 285,
"name": "Prof. Webster Turcotte",
"advertiser_group_id": 4865,
"affiliate_link": {
"id": 876,
"url": "http://gutmann.net/at-qui-amet-fugit-pariatur-ratione-autem",
"original_url": "http://www.smith.info/porro-vel-consectetur-suscipit-placeat-dicta-voluptatum-et.html",
"mtpc_url": "https://c.mtpc.se/876",
"user_id": 3898,
"country": "HK",
"provider": "silver",
"advertiser": {
"id": 2239,
"name": "Parisian Inc"
}
},
"author_id": 3899,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjQ0P3RleHQ9ZG9sb3Jlcw==",
"url": "https://media.metapic.com/insecure/rs:fit:2000:2000/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjQ0P3RleHQ9ZG9sb3Jlcw==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjQ0P3RleHQ9ZG9sb3Jlcw=="
},
"starts_at": "2026-02-05 14:26:06",
"ends_at": "2026-04-05 14:26:06",
"stats": []
}
]
List Shared Budgets for Store
The ID of the store.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/16/shared-budgets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": 43,
"title": "Warren Flatley",
"amount": 4,
"amount_v2": {
"amount": "0.04",
"currency": "PLN"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "PLN"
},
"currency": "PLN"
},
{
"id": 44,
"title": "Ms. Tressa Gislason V",
"amount": 7,
"amount_v2": {
"amount": "0.07",
"currency": "PLN"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "PLN"
},
"currency": "PLN"
}
]
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/18/shared-budgets/3" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": 45,
"title": "Mossie Terry",
"amount": 1,
"amount_v2": {
"amount": "0.01",
"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/10/shared-budgets/6" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Summer budget\",
\"amount\": 10000
}"
{
"id": 46,
"title": "Mrs. Alba Ryan Sr.",
"amount": 1,
"amount_v2": {
"amount": "0.01",
"currency": "SEK"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "SEK"
},
"currency": "SEK"
}
The ID of the store.
The ID of the shared budget.
curl --request DELETE \
"https://api.metapic.dev/v2/stores/14/shared-budgets/7" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://api.metapic.dev/v2/stores/13/payment" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"recusandae\"
}"
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\": \"optio\"
}"
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=minima" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 3902,
"username": "jamir.skiles",
"display_name": "Peggie King",
"email": "[email protected]",
"client_id": 4126
},
{
"id": 3903,
"username": "kamryn19",
"display_name": "Jovani Auer",
"email": "[email protected]",
"client_id": 4127
}
],
"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": 3904,
"username": "barton.koss",
"display_name": "Jimmy Little",
"email": "[email protected]",
"client_id": 4128
}
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/33/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\": [
2
]
}"
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\": [
15
]
}"
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=dolorum" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"