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/13/blocklist?query=muodsivrbwbxjcwtthtgcvp" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"created_at": null,
"created_by": {
"id": 3933,
"username": "quinton.jones",
"display_name": "Monserrate Swaniawski",
"email": "[email protected]",
"client_id": 4168,
"locale": "so_KE"
},
"client": {
"id": 4169,
"name": "Irma Borer Sr.",
"has_own_payment_system": false,
"revenue_share": 1
}
},
{
"id": null,
"created_at": null,
"created_by": {
"id": 3934,
"username": "dusty15",
"display_name": "Annabel Russel",
"email": "[email protected]",
"client_id": 4170,
"locale": "so_ET"
},
"client": {
"id": 4171,
"name": "Rogers Dare",
"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/7/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/11/blocklist/18" \
--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/autem/order-collectors/sales-pixel" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Returns the tracking configuration for the advertiser.
The advertiser.
The identifier of the collector
woocommercecurl --request GET \
--get "https://api.metapic.dev/v2/advertisers/et/order-collectors/woocommerce" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Activates the tracking plugin with the given activation key.
Returns the parameters to insert into the Javascript tracking snippet.
curl --request POST \
"https://api.metapic.dev/v2/activate-tracking-plugin" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"metapic_activation_key\": \"et\"
}"
Returns remaining email quota for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/1/email-quota" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/16/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/18/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"molestiae\"
}"
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\": [
5
],
\"logo_url\": \"http:\\/\\/www.toy.com\\/\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"dicta\",
\"street\": \"ratione\",
\"postal_code\": \"consequuntur\",
\"city\": \"quisquam\",
\"vat_number\": \"et\"
}
}"
Endpoint for querying & sorting all stores.
Query by either of the following: ID, store name.
Returns all stores with id equal to query OR name contains query. Must not be greater than 255 characters.
Query by store's store group. Returns all stores which belong to the given store_group_id.
Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/stores?query=nike&store_group_id=15&size=20&sort_by=quas" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "Gerlach PLC"
},
{
"id": null,
"name": "Kuhic, Balistreri and Stroman"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448/stores-by-categories" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448/stores-by-toplist" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Returns list of advertisers with commission rates, campaigns, and other relevant information for the creator.
The ID of the user.
Filter by advertiser category. The ID of an existing record in the store_categories table. If not provided, returns recommended (toplist) advertisers. The id of an existing record in the store_categories table.
Include optional relationships in the response. Options: mainUrlMatchingRule, StoreCategories.
main_urlPage number for pagination.
Number of items per page. Defaults to 200. Must not be greater than 200.
Case insensitive search query to filter the advertisers by name.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448/advertisers?category_id=5&include[]=main_url&page=1&size=200&q=foo+shop" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"advertiser": {
"id": 2297,
"name": "Walter-Trantow",
"currency": "GBP"
},
"traffic_sources_costs": [
{
"source": 0,
"cpc": 100,
"cpc_v2": {
"amount": "1",
"currency": "GBP"
},
"cpa": 0.1,
"currency": "GBP"
}
]
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Next »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
Creates Metapic user and accepts all pending invites for advertiser
curl --request PATCH \
"https://api.metapic.dev/v2/me/advertiser-invites" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Manages url matching rules for an advertiser. Url Matching rule can either be to allow or to block matching of a URL based on added rules.
Returns all url matching rules defined for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/20/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"type": null,
"is_main": null,
"url": "testcompany.com",
"updated_at": null
},
{
"id": null,
"type": null,
"is_main": null,
"url": "testcompany.com",
"updated_at": null
}
]
Adds a new rule to the url matching for the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/5/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"allow\",
\"url\": \"https:\\/\\/ullrich.org\\/ut-laboriosam-laborum-possimus-asperiores-velit-saepe.html\",
\"keyword\": \"kebnsjqestsmdr\",
\"is_main\": false
}"
Updates existing url matching rule for the advertiser.
The ID of the advertiser.
The ID of the urlMatchingRule.
curl --request PUT \
"https://api.metapic.dev/v2/advertisers/5/url-matching-rules/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"block\",
\"url\": \"https:\\/\\/www.quitzon.com\\/accusamus-modi-beatae-voluptas-corrupti-aperiam\",
\"keyword\": \"yrqsnshnl\",
\"is_main\": false
}"
Removes existing url matching rule for the advertiser.
The ID of the advertiser.
The ID of the urlMatchingRule.
curl --request DELETE \
"https://api.metapic.dev/v2/advertisers/16/url-matching-rules/18" \
--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.mann.biz\\/voluptate-debitis-vitae-ut-dolorem-nulla-quibusdam-odit-ducimus\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"rem\",
\"street\": \"enim\",
\"postal_code\": \"numquam\",
\"city\": \"dolorem\",
\"vat_number\": \"rerum\"
}
}"
{
"id": null,
"name": "Jast, Dibbert and Bode"
}
Deactivates the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/16/deactivate" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" App\Http\Resources\Store\StoreResource
curl --request GET \
--get "https://api.metapic.dev/v2/store-categories" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"name": "qui ea",
"key": "qui-ea"
},
{
"id": null,
"name": "quisquam laudantium",
"key": "quisquam-laudantium"
}
]
Returns a paginated list of advertiser categories.
Page number for pagination. Must be at least 1.
Number of items per page. Defaults to 20. Must be at least 1. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/advertiser-categories?page=1&size=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"key": "quibusdam-quo",
"name": "quibusdam quo"
},
{
"key": "reiciendis-itaque",
"name": "reiciendis itaque"
}
],
"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
}
}
Endpoint for querying & sorting all advertiser groups.
Only return advertiser groups which have return ads enabled.
Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/advertiser-groups?return_ad_enabled=1&size=20&sort_by=nobis" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 523,
"name": "Lehner, Conroy and Friesen",
"key": "aa_ET",
"currency": "EUR"
},
{
"id": 523,
"name": "Lehner, Conroy and Friesen",
"key": "aa_ET",
"currency": "EUR"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
The ID of the affiliate link.
curl --request GET \
--get "https://api.metapic.dev/v2/affiliate-links/a" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"url": "http://herzog.com/blanditiis-voluptas-repellat-ut-quod-quam-incidunt-molestiae-commodi",
"original_url": "http://www.emard.com/nemo-dolore-quos-velit-reprehenderit-quos-tempore-quia",
"user_id": 3948,
"country": "US",
"provider": "green",
"advertiser": {
"id": 2307,
"name": "Dare-Doyle"
},
"title": "Columbus Runte"
}
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\": 20,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": false
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "https://www.hartmann.com/recusandae-optio-in-nobis-sed-labore-modi-qui",
"original_url": "http://www.abernathy.com/",
"user_id": 3949,
"country": "GS",
"provider": "teal",
"advertiser": {
"id": 2308,
"name": "Will-Blick"
},
"title": "Mr. Tre Ward II"
}
}
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/448/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 18,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": true
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "http://lueilwitz.com/",
"original_url": "http://www.torp.info/velit-qui-aut-autem-dolorum-deserunt",
"user_id": 3950,
"country": "FO",
"provider": "purple",
"advertiser": {
"id": 2309,
"name": "Mayer, Lesch and Kertzmann"
},
"title": "Zane Bergstrom DDS"
}
}
Returns a paginated list of affiliate links associated with the creator.
Filter affiliate links by creator (user) id. The id of an existing record in the users table.
Filter affiliate links by advertiser (store) id. The id of an existing record in the stores table.
Filter links created on or after this date (Y-m-d). Must be a valid date. Must be a date before or equal to date_to.
Filter links created on or before this date (Y-m-d). Must be a valid date. Must be a date after or equal to date_from.
Include related data. When "stats" is included, the response will contain clicks, earnings, and potential earnings, and allow sorting by clicks and earnings.
statsadvertiserAvailable column names: number_of_clicks, cost_creator_approved, created_at. Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
Page number for pagination. Must be at least 1.
Number of items per page. Defaults to 20. Must be at least 1. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/affiliate-links?user_id=456&advertiser_id=123&date_from=2024-01-01&date_to=2024-01-31&include[]=stats&sort_by=created_at%3Adesc&page=1&size=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"title": "Yessenia Smitham",
"mtpc_url": null,
"user_id": 3951,
"created_at": null
},
{
"id": null,
"title": "Ms. Sincere Hoppe MD",
"mtpc_url": null,
"user_id": 3952,
"created_at": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
Determines convertibility of a URL, detects existing affiliate links, and returns matching advertisers when applicable.
The ID of the user.
curl --request POST \
"https://api.metapic.dev/v2/users/448/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/448/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 18
}"
{
"url": "http://hettinger.biz/illum-vitae-ut-error-accusamus-et-odio",
"original_url": "http://hills.biz/nemo-officia-et-natus.html",
"user_id": 3954,
"country": "CH",
"provider": "lime",
"advertiser": {
"id": 2313,
"name": "Harber, Kautzer and Wisoky"
},
"title": "Jayce Murphy"
}
Creates Metapic user and accepts all pending invites for agency
curl --request PATCH \
"https://api.metapic.dev/v2/me/agency-invites" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Endpoint for querying & sorting all clients.
Query by id or name. Returns all clients where id is equal to query OR name contains query OR any revenue tier name contains query. Must not be greater than 128 characters.
Query by advertiser group. Returns all clients which belong to the given advertiser_group_ids.
Page size. Defaults to 20. Must not be greater than 500.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/clients?query=internal+name&advertiser_group_ids[]=1&size=20&sort_by=error" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 481,
"name": "Rupert Tremblay",
"has_own_payment_system": false,
"revenue_share": 1
},
{
"id": 481,
"name": "Rupert Tremblay",
"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
}
}
curl --request GET \
--get "https://api.metapic.dev/v2/health" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"status": "up"
}
curl --request GET \
--get "https://api.metapic.dev/v2/payments/getPaymentInvoices" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_period\": \"2026-06\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
curl --request POST \
"https://api.metapic.dev/v2/payments/upload-ax-id-matching" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"file\": \"psdyrzucva\"
}"
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\": \"ogusmvdxaouubmdxrtenvvx\"
}"
Endpoint for generating a creator invoice from external component
curl --request POST \
"https://api.metapic.dev/v2/payments/generate-creator-invoice/odit" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoint for querying the current payment systems configuration
The payment date. Example: 2021-01-11. Must be a valid date.
Filter by client ID. The id of an existing record in the clients table.
Filter by user ID. The id of an existing record in the users table.
curl --request GET \
--get "https://api.metapic.dev/v2/payments/systems-config?date=2021-01-11&client_id=2&user_id=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Endpoint for updating the current payment systems configuration
curl --request POST \
"https://api.metapic.dev/v2/payments/systems-config" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"date\": \"2026-06-08T16:31:49\",
\"client_id\": 3,
\"user_id\": 19,
\"system\": 0,
\"ignore_lock\": false
}"
curl --request POST \
"https://api.metapic.dev/v2/claude/image-analysis" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"users\": [
13
],
\"number_of_images\": 18
}"
curl --request POST \
"https://api.metapic.dev/v2/claude/creator-report" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 15,
\"query\": \"placeat\",
\"number_of_images\": 13
}"
curl --request GET \
--get "https://api.metapic.dev/v2/entrypoint" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"app\": \"advertiser\",
\"store_id\": 8
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Creates new campaign for a store.
The store ID.
curl --request POST \
"https://api.metapic.dev/v2/stores/15/offers" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 16,
\"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\": true,
\"per_user_limit\": false,
\"one_time_payment\": 2481.8,
\"budget_limit\": 3,
\"max_clicks\": 4,
\"valid_from\": \"2026-06-08T16:31:44\",
\"valid_until\": \"2125-04-16\",
\"todo\": [
\"eremlhjgdgwracoxivncafh\"
],
\"show_for_advertiser\": true,
\"priority_after\": 19,
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
},
\"targets\": {
\"user_ids\": [
5
],
\"user_tag_ids\": [
17
],
\"store_group_ids\": [
17
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"osdiyblmlrgjlyrr\"
],
\"client_ids\": [
4
],
\"revenue_tier_ids\": [
4
]
},
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 0
}
]
}"
{
"data": {
"id": null,
"campaign_title": "Morris Rice",
"campaign_text": "Aut delectus sed velit exercitationem. Nostrum fugit eveniet distinctio tempore. Doloribus omnis modi dolorem dolores vero distinctio soluta et.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjc3P3RleHQ9YmVhdGFl",
"image": null,
"store_id": 2263,
"token": "58hltevayyt6lpvn",
"type": "standard",
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
},
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
}
Returns information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offers/15556" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Eleanora Auer III",
"campaign_text": "Dignissimos ad vel illo ut repellendus. Accusamus aspernatur totam asperiores voluptas. Ut voluptas atque quia ab qui consequatur. Magni est at occaecati ipsa ipsa.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjY2NjP3RleHQ9dmVuaWFt",
"image": null,
"store_id": 2264,
"token": "cheqinnmn72zv9ud",
"type": "standard"
}
Updates existing campaign.
The ID of the offer.
The offer ID
curl --request PUT \
"https://api.metapic.dev/v2/offers/20" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 13,
\"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\": true,
\"per_user_limit\": false,
\"one_time_payment\": 3272227,
\"budget_limit\": 5,
\"max_clicks\": 14,
\"valid_from\": \"2026-06-08T16:31:45\",
\"valid_until\": \"2000-06-22\",
\"todo\": [
\"thmtwtvdlwbfcavbvsgtjw\"
],
\"show_for_advertiser\": false,
\"priority_after\": 13,
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
],
\"targets\": {
\"0\": [],
\"user_ids\": [
11
],
\"user_tag_ids\": [
20
],
\"store_group_ids\": [
17
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"revwxpoxasmzaca\"
],
\"client_ids\": [
20
],
\"revenue_tier_ids\": [
16
]
},
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
}
}"
{
"data": {
"id": null,
"campaign_title": "Dr. Leone Fritsch",
"campaign_text": "Labore qui quae esse quia. Voluptatum dolores porro ipsa nesciunt dicta error eum. Assumenda enim dolores omnis labore ullam in dicta.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTU1P3RleHQ9dmVsaXQ=",
"image": null,
"store_id": 2265,
"token": "fs8nia046x51esl6",
"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/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoint for querying & sorting all campaigns.
Query by either of the following: ID, internal name, title.
Returns all offers with id equal to query OR name contains query OR campaign_title contains query. Must not be greater than 64 characters.
deletedendedscheduledpausedactiveQuery by offer's store. Returns all offers which belong to the given store_ids.
Query by offer's store group. Returns all offers which belong to the given store_group_ids.
Query by offer's author ID. Returns all offers created by the user making the request
Query by offer's ID. Performs an 'OR' search, compared to 'AND' search for other filters, so an offer with given ID is always included in the results, if matched.
Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
ends_soonactive_firstcsvxlsxFilter offers created on or before this timestamp (ISO 8601 UTC format).
Admin-only filter offers by visibility on the advertiser.
Filter offers by advertiser. Required when filtering as non-admin.
curl --request GET \
--get "https://api.metapic.dev/v2/offers?query=black+friday&statuses[]=paused&store_ids[]=1&store_group_ids[]=1&created_by=20&or_id=1234&target_user_id=5&size=20&sort_by=incidunt&custom_sort_by=active_first&format=xlsx&created_before=2024-04-22T10%3A30%3A00Z&show_for_advertiser=1&advertiser_id=123" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Percival Larkin",
"campaign_text": "Quos ad ab aut occaecati vel quo. Tenetur totam asperiores perferendis modi quaerat libero. Aliquam accusamus nam consequatur velit id dolorum.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmZmP3RleHQ9cXVhZQ==",
"image": null,
"store_id": 2266,
"token": "6z5mpl8dv693puzl",
"type": "standard"
},
{
"id": null,
"campaign_title": "Fabian Denesik",
"campaign_text": "Quia deserunt eum adipisci deserunt sunt. Sequi voluptatem et autem repellat. Odit rem minima a corporis iure quisquam voluptatem.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA0NDY2P3RleHQ9ZXQ=",
"image": null,
"store_id": 2267,
"token": "t1sp72shf2nik5up",
"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\": \"est\"
}"
{
"id": null,
"campaign_title": "Maymie Steuber",
"campaign_text": "Corporis non provident id inventore commodi explicabo. Ut nostrum aliquid unde dolore illo. Mollitia sunt explicabo et eum consequuntur repudiandae inventore. Eius nemo amet praesentium nam.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmFhP3RleHQ9YWxpYXM=",
"image": null,
"store_id": 2268,
"token": "e30x4ue5hsrct777",
"type": "standard"
}
The offer ID
curl --request POST \
"https://api.metapic.dev/v2/offers/15556/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Alanis Kihn",
"campaign_text": "Consectetur excepturi eveniet voluptas vitae consectetur aspernatur. Temporibus ea accusantium quis cupiditate voluptatem beatae earum. Pariatur vel qui nulla quia et debitis in.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTg4P3RleHQ9bm9u",
"image": null,
"store_id": 2269,
"token": "5523bdbenfgn869b",
"type": "standard"
}
The offer ID
curl --request POST \
"https://api.metapic.dev/v2/offers/15556/unpause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Rylan Wilkinson III",
"campaign_text": "Dolorem sint rerum saepe voluptas amet ut unde est. Dignissimos dignissimos quidem quam dolores assumenda adipisci. Nihil facilis vel sed ducimus.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjU1P3RleHQ9YXV0ZW0=",
"image": null,
"store_id": 2270,
"token": "fwvawv2fhzg058rf",
"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\": \"2000-10-06\",
\"end_date\": \"2068-02-09\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the offer.
The ID of the tag.
The campaign (offer) ID.
The affiliate link (tag) ID.
curl --request PUT \
"https://api.metapic.dev/v2/offers/11/affiliate-links/7" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
The ID of the offer.
The ID of the tag.
The campaign (offer) ID.
The affiliate link (tag) ID.
curl --request DELETE \
"https://api.metapic.dev/v2/offers/3/affiliate-links/6" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Returns user campaigns
The ID of the user.
DEPRECATED. Use statuses instead. Cannot be used together with statuses.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentFilter campaigns by name. Must not be greater than 128 characters.
Filter by multiple participant statuses.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentFilter by multiple campaign statuses.
activescheduledPage number for pagination.
Number of items per page. Defaults to 30. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448/offers?status=accepted&name=Nike&participant_statuses[]=suggestion&campaign_statuses[]=scheduled&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Erling Halvorson",
"campaign_text": "Et tenetur nam expedita ipsum facere nam rerum. Ut cumque molestias ipsam itaque magni est beatae ad. Nobis rem ea vero accusantium et.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjU1P3RleHQ9aXBzYW0=",
"image": null,
"store_id": 2299,
"token": "y89zzjqs8xst1yze",
"type": "standard"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Next »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
Returns campaigns that are not of type "standard" with additional information about user participation. It also allows filtering by title, multiple campaign and participant statuses.
The ID of the user.
Filter campaigns by name. Must not be greater than 128 characters.
Filter by multiple participant statuses.
openapplieddeniedacceptedstore_denieddonesuggestionsecond_priohave_postedhave_receivedproduct_sentFilter by multiple campaign statuses.
activescheduledPage number for pagination.
Number of items per page. Defaults to 30. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448/campaigns?name=Nike&participant_statuses[]=suggestion&campaign_statuses[]=scheduled&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"key": "817-3940",
"todo": [
{
"key": "create_post",
"value": false
}
],
"status": "open",
"can_create_link": false,
"campaign": {
"id": 818,
"type": "standard",
"status": "active",
"title": "Aglae Gorczany",
"description": "Aut ipsum error architecto nesciunt illo consequuntur quis rerum. Ea dolorem ipsum ex et culpa. Eaque aut libero asperiores dolor neque perspiciatis. Debitis eos illo laborum illum qui.",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTExP3RleHQ9aW4=",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTExP3RleHQ9aW4=",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTExP3RleHQ9aW4="
},
"constraints": {
"per_user_limit": false,
"valid_from": "2026-05-08 16:31:48",
"valid_until": "2026-07-08 16:31:48",
"has_product_seeding": false
}
},
"transitions": []
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Next »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
Returns specific campaign details along with available state transitions for the user.
The ID of the user.
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448/campaigns/10" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"key": "821-3946",
"todo": [
{
"key": "create_post",
"value": false
}
],
"status": "open",
"can_create_link": false,
"campaign": {
"id": 822,
"type": "standard",
"status": "active",
"title": "Letitia Fahey",
"description": "Aspernatur sequi itaque eum in dolorum et perspiciatis. Omnis asperiores porro et et rerum. Alias tempora eveniet in nam eligendi ea quisquam unde.",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmVlP3RleHQ9cmVjdXNhbmRhZQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmVlP3RleHQ9cmVjdXNhbmRhZQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmVlP3RleHQ9cmVjdXNhbmRhZQ=="
},
"constraints": {
"per_user_limit": false,
"valid_from": "2026-05-08 16:31:48",
"valid_until": "2026-07-08 16:31:48",
"has_product_seeding": false
}
},
"transitions": []
}
Returns information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/omnis" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Ramona Mertz IV",
"campaign_text": "Iusto ipsam ut sed aliquam quis. Alias velit quo aut voluptatibus saepe cumque eius. Et pariatur quas in impedit reiciendis aspernatur sit natus.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA1NTIyP3RleHQ9YXV0",
"image": null,
"store_id": 2312,
"token": "78d8edbu7mizfvn7",
"type": "standard"
}
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offers/15556/targets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The offer ID
curl --request POST \
"https://api.metapic.dev/v2/offers/15556/targets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_ids\": [
6
],
\"user_tag_ids\": [
3
],
\"store_group_ids\": [
15
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"gogchgupun\"
],
\"client_ids\": [
10
],
\"revenue_tier_ids\": [
1
]
}"
The ID of the offer.
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/19/users/448" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/3/participants" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"snwtrelrjwykqpdejharmf\",
\"status\": \"product_sent\",
\"include\": [
\"offer_comments_count\"
]
}"
{
"data": [
{
"id": null,
"offer_id": 808,
"user_id": null,
"display_name": "[email protected]",
"clicks": 3523716,
"status": "product_sent",
"pre_registered_email": "[email protected]",
"todo": null,
"payment_amount": null
},
{
"id": null,
"offer_id": 809,
"user_id": null,
"display_name": "[email protected]",
"clicks": 43977,
"status": "second_prio",
"pre_registered_email": "[email protected]",
"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/19/participants/12" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"offer_id": null,
"user_id": null,
"display_name": null,
"clicks": null,
"status": null,
"todo": null,
"payment_amount": null
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/15/participants-stats" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"rabecjdgfyasmtribfeex\",
\"active\": true,
\"start_date\": \"2015-06-24\",
\"end_date\": \"2028-06-19\",
\"sort_by\": \"links_created:asc\"
}"
{
"data": [
{
"id": "810-3905",
"user_id": 3905,
"display_name": "testuser",
"clicks": 0,
"status": "open",
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
},
{
"id": "811-3907",
"user_id": 3907,
"display_name": "testuser",
"clicks": 0,
"status": "open",
"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/14/participants-count-by-click-activity" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2015-09-29\",
\"end_date\": \"2026-09-21\"
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/13/participants/3/update-status" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"applied\"
}"
{
"id": null,
"offer_id": 812,
"user_id": null,
"display_name": "[email protected]",
"clicks": 8176,
"status": "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/9/participants/6/todo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"todo\": [
{
\"key\": \"fepwxq\",
\"value\": true
}
]
}"
{
"id": null,
"offer_id": 813,
"user_id": null,
"display_name": "bogisich.reina",
"clicks": 6315,
"status": "suggestion",
"pre_registered_identifier": "bogisich.reina",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PUT \
"https://api.metapic.dev/v2/offers/5/participants/11/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": 814,
"user_id": null,
"display_name": "[email protected]",
"clicks": 801,
"status": "applied",
"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/9/overrides/clicks" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"click_limit\": 20
}"
{
"id": null,
"offer_id": 815,
"user_id": 3911,
"display_name": null,
"clicks": 7,
"status": "have_posted",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/6/participants/15/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": 816,
"user_id": 3913,
"display_name": null,
"clicks": 96549703,
"status": "suggestion",
"todo": null,
"payment_amount": null
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/sint/users/448" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
set-cookie: metapic_session=eyJpdiI6InNHazJKeTJrUkR3ZzhEVFlBVlNrOXc9PSIsInZhbHVlIjoiYjNNZWU1L1pLOGNEc0k3b1RiYXRYM0ZvalFOMlp6SGk5UGhRck1GRThVWHYzU01oeHhKUVJwZzZVb3NIb25RVExOMHJSN1JzdEY4N2FCTU94Qk5scWRyQjBaWllQanFWN1A1K3k2cklCUlJ5eTVna1RiM0c2N1VDVXQ0dkxQZEoiLCJtYWMiOiIwNDgxMDg1M2Q1NzM2NTRkZDk5N2FkNGY1MTVmOTZjZjcwMTUyZGZjMzBhYWQ2NTBiYzc1ZWQzNDU0NDE3ODY0IiwidGFnIjoiIn0%3D; expires=Mon, 08 Jun 2026 16:31:49 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/vitae/users/448/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\": \"aurswjmudtacgtkswhhp\"
}"
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/20" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"rdwfnqywiqimdpullzv\"
}"
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/19" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://api.metapic.dev/v2/offer-users/voluptatum/activities" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"include\": [
\"has_unread_notification\"
]
}"
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
access-control-expose-headers: Content-Disposition
{
"message": "Unauthenticated."
}
Creates a Hubspot deal for advertiser representative when triggered by an Ory registration.after webhook.
curl --request POST \
"https://api.metapic.dev/v2/webhooks/ory/identities/created" \
--header "mtpc-api-key: {mtpc-api-key}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"identity\": {
\"id\": \"ory_identity_id_123\",
\"traits\": {
\"email\": \"[email protected]\"
}
},
\"app_url\": \"https:\\/\\/advertiser.metapic.com\"
}"
[Empty response]
Updates a user when triggered by an Ory settings.after webhook.
curl --request POST \
"https://api.metapic.dev/v2/webhooks/ory/identities/updated" \
--header "mtpc-api-key: {mtpc-api-key}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"identity\": {
\"id\": \"ory_identity_id_123\",
\"traits\": {
\"email\": \"[email protected]\"
}
}
}"
[Empty response]
Paginated list of Return Ads
Page size. Defaults to 20. Must not be greater than 100.
Query by either of the following: ID or name.
Returns all return ads with id equal to query OR name contains query. Must not be greater than 64 characters.
Query by return ad's advertiser group. Returns all return ads which belong to the given advertiser_group_ids.
Query by return ad's advertiser. Returns all return ads which belong to the given advertiser_ids.
deletedendedscheduledpausedactiveQuery by return ad's ID. Performs an 'OR' search, compared to 'AND' search for other filters, so an return ad with given ID is always included in the results, if matched.
Query sorted by (name, created_at, starts_at, ends_at, current_clicks, current_views, order_count, order_value, earnings or click_through_rate). Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
name:ascname:desccreated_at:asccreated_at:descstarts_at:ascstarts_at:descends_at:ascends_at:desccurrent_clicks:asccurrent_clicks:desccurrent_views:asccurrent_views:descorder_count:ascorder_count:descorder_value:ascorder_value:descearnings:ascearnings:descclick_through_rate:ascclick_through_rate:descconversion_rate:ascconversion_rate:desccurl --request GET \
--get "https://api.metapic.dev/v2/return-ads?size=20&query=internal+name&advertiser_group_ids[]=1&advertiser_ids[]=1&statuses[]=scheduled&created_by=&or_id=1234&sort_by=current_clicks%3Aasc" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "Lisette Klocko",
"advertiser_group_id": 4901,
"affiliate_link": {
"id": 856,
"url": "http://www.ward.biz/rerum-qui-fugit-ipsa-molestiae-sequi",
"original_url": "http://monahan.org/non-est-perspiciatis-magnam-ullam-amet-doloribus-cumque",
"mtpc_url": "https://c.mtpc.se/856",
"user_id": 3915,
"country": "PF",
"provider": "teal",
"advertiser": {
"id": 2284,
"name": "Murray Ltd"
},
"title": "Dr. Rosalinda Lindgren Jr.",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3916,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.177364Z",
"ends_at": "2026-07-08T14:31:47.177431Z",
"stats": []
},
{
"id": null,
"name": "Heath Towne",
"advertiser_group_id": 4904,
"affiliate_link": {
"id": 857,
"url": "https://reichert.com/dolor-vitae-quasi-in-dolorem-odio.html",
"original_url": "http://www.renner.com/ipsa-sunt-tenetur-aut-qui-dolor.html",
"mtpc_url": "https://c.mtpc.se/857",
"user_id": 3917,
"country": "CK",
"provider": "fuchsia",
"advertiser": {
"id": 2285,
"name": "Aufderhar Group"
},
"title": "Devon Dicki",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3918,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.200097Z",
"ends_at": "2026-07-08T14:31:47.200166Z",
"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\": \"phhjhievcqpfuwpqziwgox\",
\"advertiser_group_id\": 10,
\"advertiser_id\": 6,
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": false,
\"advertiser_ids\": [
14
],
\"advertiser_category_ids\": [
8
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-06-08T16:31:47\",
\"ends_at\": \"2058-09-20\",
\"click_limit\": 4,
\"view_limit\": 3
}"
{
"id": null,
"name": "Eriberto Schinner",
"advertiser_group_id": 4907,
"affiliate_link": {
"id": 858,
"url": "http://www.monahan.net/",
"original_url": "http://www.bartell.com/dolor-animi-ipsam-in-magni-asperiores-cupiditate-in-cupiditate",
"mtpc_url": "https://c.mtpc.se/858",
"user_id": 3919,
"country": "IT",
"provider": "navy",
"advertiser": {
"id": 2286,
"name": "Jacobs, Jast and Parker"
},
"title": "Dr. Bertrand Osinski",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3920,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.237953Z",
"ends_at": "2026-07-08T14:31:47.238014Z",
"stats": []
}
The ID of the return ad.
curl --request GET \
--get "https://api.metapic.dev/v2/return-ads/3" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Kristofer Beier",
"advertiser_group_id": 4910,
"affiliate_link": {
"id": 859,
"url": "http://www.baumbach.net/magnam-asperiores-quod-cupiditate-est-illo-nostrum-labore.html",
"original_url": "http://www.jaskolski.com/",
"mtpc_url": "https://c.mtpc.se/859",
"user_id": 3921,
"country": "SL",
"provider": "black",
"advertiser": {
"id": 2287,
"name": "Gusikowski LLC"
},
"title": "Hortense Gutkowski",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3922,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.269032Z",
"ends_at": "2026-07-08T14:31:47.269094Z",
"stats": []
}
The ID of the return ad.
curl --request PUT \
"https://api.metapic.dev/v2/return-ads/16" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"wvzailqoujwolvgchhaa\",
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": true,
\"advertiser_ids\": [
1
],
\"advertiser_category_ids\": [
15
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-06-08T16:31:47\",
\"ends_at\": \"2093-10-20\",
\"click_limit\": 4,
\"view_limit\": 3
}"
{
"id": null,
"name": "Christ Conn",
"advertiser_group_id": 4913,
"affiliate_link": {
"id": 860,
"url": "https://www.schimmel.info/facere-soluta-cupiditate-aut-enim",
"original_url": "http://www.price.info/pariatur-eligendi-sed-quae-neque-quisquam.html",
"mtpc_url": "https://c.mtpc.se/860",
"user_id": 3923,
"country": "PN",
"provider": "black",
"advertiser": {
"id": 2288,
"name": "Abbott, Tillman and Moore"
},
"title": "Mrs. Annette O'Kon",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3924,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.303257Z",
"ends_at": "2026-07-08T14:31:47.303317Z",
"stats": []
}
The ID of the return ad.
curl --request DELETE \
"https://api.metapic.dev/v2/return-ads/5" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Deactivates Return Ad
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/12/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Meda Toy",
"advertiser_group_id": 4916,
"affiliate_link": {
"id": 861,
"url": "http://www.beier.com/et-animi-sapiente-numquam-explicabo-qui.html",
"original_url": "http://www.hickle.com/velit-voluptas-fuga-quod-commodi-maiores-perferendis-debitis.html",
"mtpc_url": "https://c.mtpc.se/861",
"user_id": 3925,
"country": "CA",
"provider": "gray",
"advertiser": {
"id": 2289,
"name": "Kuphal-Fritsch"
},
"title": "Stefanie Rowe PhD",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3926,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.338776Z",
"ends_at": "2026-07-08T14:31:47.338842Z",
"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": null,
"name": "Everardo Goyette",
"advertiser_group_id": 4919,
"affiliate_link": {
"id": 862,
"url": "http://www.berge.net/officia-sed-cum-consequatur-iste",
"original_url": "http://www.hodkiewicz.com/exercitationem-eveniet-assumenda-amet-harum-vero-ea-delectus",
"mtpc_url": "https://c.mtpc.se/862",
"user_id": 3927,
"country": "LI",
"provider": "purple",
"advertiser": {
"id": 2290,
"name": "Wilkinson-Breitenberg"
},
"title": "Westley Reichert",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3928,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.368456Z",
"ends_at": "2026-07-08T14:31:47.368516Z",
"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/16/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"name": "Amelia Harvey",
"advertiser_group_id": 4922,
"affiliate_link": {
"id": 863,
"url": "http://sporer.net/laboriosam-maiores-dolorem-saepe-eum-laudantium",
"original_url": "http://www.osinski.com/fuga-asperiores-voluptatem-repellat-enim-explicabo-earum-labore",
"mtpc_url": "https://c.mtpc.se/863",
"user_id": 3929,
"country": "BO",
"provider": "silver",
"advertiser": {
"id": 2291,
"name": "Wilkinson, Beer and Koch"
},
"title": "Hillary Schulist",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3930,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.403542Z",
"ends_at": "2026-07-08T14:31:47.403605Z",
"stats": []
},
{
"id": null,
"name": "Ebony Goodwin",
"advertiser_group_id": 4925,
"affiliate_link": {
"id": 864,
"url": "http://yost.biz/",
"original_url": "http://dach.com/saepe-tempore-ipsa-voluptates-id",
"mtpc_url": "https://c.mtpc.se/864",
"user_id": 3931,
"country": "GD",
"provider": "green",
"advertiser": {
"id": 2292,
"name": "Cronin-Becker"
},
"title": "Dr. Ernest Koch",
"created_at": "2026-06-08T16:31:47+02:00"
},
"author_id": 3932,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-08T14:31:47.425193Z",
"ends_at": "2026-07-08T14:31:47.425257Z",
"stats": []
}
]
List Shared Budgets for Store
The ID of the store.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/4/shared-budgets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"title": "Lisette Hermiston",
"amount": 8,
"amount_v2": {
"amount": "0.08",
"currency": "GBP"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "GBP"
},
"currency": "GBP"
},
{
"id": null,
"title": "Mr. Dwight Dicki MD",
"amount": 3,
"amount_v2": {
"amount": "0.03",
"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/5/shared-budgets/3" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"title": "Anderson McCullough",
"amount": 7,
"amount_v2": {
"amount": "0.07",
"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/18/shared-budgets/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Summer budget\",
\"amount\": 10000
}"
{
"id": null,
"title": "Dr. Hellen Kiehn MD",
"amount": 6,
"amount_v2": {
"amount": "0.06",
"currency": "EUR"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "EUR"
},
"currency": "EUR"
}
The ID of the store.
The ID of the shared budget.
curl --request DELETE \
"https://api.metapic.dev/v2/stores/1/shared-budgets/3" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://api.metapic.dev/v2/stores/10/payment" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"nesciunt\"
}"
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\": \"odio\"
}"
Endpoint for querying & sorting all users.
Query by either of the following: ID, username, email.
Returns all users with id equal to query OR username contains query OR email contains query. Must not be greater than 64 characters.
Query by user's client. Returns all users which belong to the given client_id.
Query by user's store group. Returns all users which belong to the given store_group_id.
Filter users by advertiser/store id. Required for non-admin advertiser users. Admins can pass it optionally. The id of an existing record in the stores table.
emailPage size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
User status (accepted, suspended, undecided). When omitted, suspended users are excluded.
acceptedsuspendedundecidedcurl --request GET \
--get "https://api.metapic.dev/v2/users?query=testcreator123&client_id=2&store_group_id=15&advertiser_id=123&include[]=email&size=20&sort_by=et&status=accepted" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 448,
"username": "tyrese80",
"display_name": "Lucas Wehner",
"email": "[email protected]",
"client_id": 481,
"locale": "ts_ZA",
"image": {
"key": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"base_url": "https://media.metapic.com",
"base64": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn"
}
},
{
"id": 448,
"username": "tyrese80",
"display_name": "Lucas Wehner",
"email": "[email protected]",
"client_id": 481,
"locale": "ts_ZA",
"image": {
"key": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"base_url": "https://media.metapic.com",
"base64": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn"
}
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"include\": [
\"advertiser_group\"
]
}"
{
"id": 448,
"username": "tyrese80",
"display_name": "Lucas Wehner",
"email": "[email protected]",
"client_id": 481,
"locale": "ts_ZA",
"image": {
"key": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"base_url": "https://media.metapic.com",
"base64": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn"
}
}
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": 448,
"username": "tyrese80",
"display_name": "Lucas Wehner",
"email": "[email protected]",
"client_id": 481,
"locale": "ts_ZA",
"image": {
"key": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"base_url": "https://media.metapic.com",
"base64": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn"
}
}
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/448/identity" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"phone\": \"+1234567890\"
}"
The ID of the user.
curl --request PUT \
"https://api.metapic.dev/v2/users/448/locale" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"locale\": \"trv_TW\"
}"
{
"id": 448,
"username": "tyrese80",
"display_name": "Lucas Wehner",
"email": "[email protected]",
"client_id": 481,
"locale": "ts_ZA",
"image": {
"key": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn",
"base_url": "https://media.metapic.com",
"base64": "Y29udGVudC1saWJyYXJ5L2F2YXRhcnMvdXNlci0xMjMuanBn"
}
}
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\": [
9
]
}"
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\": [
16
]
}"
Returns a paginated list of user preferred advertiser categories.
The ID of the user.
Page number for pagination. Must be at least 1.
Number of items per page. Defaults to 20. Must be at least 1. Must not be greater than 100.
curl --request GET \
--get "https://api.metapic.dev/v2/users/448/advertiser-categories?page=1&size=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"key": "ea-voluptatum",
"name": "ea voluptatum"
},
{
"key": "voluptatibus-ut",
"name": "voluptatibus ut"
}
],
"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
}
}
Replaces the user’s preferred categories and returns a paginated list of the updated categories.
The ID of the user.
curl --request PUT \
"https://api.metapic.dev/v2/users/448/advertiser-categories" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
{
"data": [
{
"key": "molestiae-facilis",
"name": "molestiae facilis"
},
{
"key": "qui-eius",
"name": "qui eius"
}
],
"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
}
}
Endpoint for querying & sorting all user tags.
Query by user tag's name. Returns all user tags whose name contains the given name. Must not be greater than 255 characters.
Query by user tag's store. Returns all user tags which belong to the given store_id.
Query by user tag's access levels. Returns all user tags which have the given access_levels:
012Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be available property for sorting and direction can be one of asc|desc,
both of which are required if sort_by is present.
curl --request GET \
--get "https://api.metapic.dev/v2/user-tags?name=favourites&store_id=15&access_levels[]=0&access_levels[]=1&size=20&sort_by=qui" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"