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/9/blocklist?query=vplzrqidizpzzdgciah" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"created_at": null,
"created_by": {
"id": 3941,
"username": "kayli.rempel",
"display_name": "Paolo Bosco",
"email": "[email protected]",
"client_id": 4176,
"locale": "to_TO"
},
"client": {
"id": 4177,
"name": "Mr. Brennon Anderson",
"has_own_payment_system": false,
"revenue_share": 1
}
},
{
"id": null,
"created_at": null,
"created_by": {
"id": 3942,
"username": "hayes.stewart",
"display_name": "Bernita Rowe",
"email": "[email protected]",
"client_id": 4178,
"locale": "bo_CN"
},
"client": {
"id": 4179,
"name": "Mrs. Shaylee Erdman Jr.",
"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/14/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/8/blocklist/3" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Returns the settings to be added to the sales pixel script.
The advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/nam/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/corporis/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\": \"sed\"
}"
Returns remaining email quota for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/3/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/7/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/20/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"a\"
}"
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\": [
6
],
\"logo_url\": \"http:\\/\\/stiedemann.biz\\/repudiandae-esse-fugiat-voluptatem-magnam-mollitia\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"dignissimos\",
\"street\": \"ducimus\",
\"postal_code\": \"et\",
\"city\": \"ut\",
\"vat_number\": \"autem\"
}
}"
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=qui" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "Mraz, Crona and Walker"
},
{
"id": null,
"name": "Gleason LLC"
}
],
"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/447/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/447/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/447/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": 2298,
"name": "Huel Group",
"currency": "USD"
},
"traffic_sources_costs": [
{
"source": 0,
"cpc": 100,
"cpc_v2": {
"amount": "1",
"currency": "USD"
},
"cpa": 0.1,
"currency": "USD"
}
]
}
],
"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/17/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/9/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"block\",
\"url\": \"http:\\/\\/roberts.com\\/\",
\"keyword\": \"cuuzjyqvotouyfw\",
\"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/11/url-matching-rules/15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"allow\",
\"url\": \"http:\\/\\/www.leannon.com\\/voluptatem-voluptas-officiis-modi-voluptatibus-omnis.html\",
\"keyword\": \"efazmfydjmb\",
\"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/13/url-matching-rules/5" \
--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\": [
9
],
\"logo_url\": \"http:\\/\\/monahan.com\\/\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"est\",
\"street\": \"consectetur\",
\"postal_code\": \"quibusdam\",
\"city\": \"et\",
\"vat_number\": \"sint\"
}
}"
{
"id": null,
"name": "Gutkowski, Crist and Schneider"
}
Deactivates the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/3/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": "et eum",
"key": "et-eum"
},
{
"id": null,
"name": "accusamus inventore",
"key": "accusamus-inventore"
}
]
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": "est-odit",
"name": "est odit"
},
{
"key": "in-adipisci",
"name": "in adipisci"
}
],
"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=rerum" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 522,
"name": "Terry, Dietrich and Runolfsdottir",
"key": "nn_NO",
"currency": "USD"
},
{
"id": 522,
"name": "Terry, Dietrich and Runolfsdottir",
"key": "nn_NO",
"currency": "USD"
}
],
"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/iure" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"url": "http://www.emmerich.com/est-laborum-non-odit-molestiae-enim-et-id.html",
"original_url": "http://www.klocko.org/deleniti-pariatur-cupiditate-cum-qui-voluptatum-quae-cupiditate-rem.html",
"user_id": 3956,
"country": "GE",
"provider": "black",
"advertiser": {
"id": 2308,
"name": "Von-VonRueden"
},
"title": "Dorothy Schuster"
}
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\": 13,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": true
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "http://effertz.com/rerum-qui-facilis-fugit-quia-dolorum-qui-eligendi-quae",
"original_url": "http://www.daniel.info/qui-dolorem-dolores-et-officia-voluptas-qui",
"user_id": 3957,
"country": "CV",
"provider": "fuchsia",
"advertiser": {
"id": 2309,
"name": "Volkman and Sons"
},
"title": "Ara Leuschke I"
}
}
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/447/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 19,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": true
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "http://adams.com/provident-et-voluptatibus-reprehenderit-fuga-dicta",
"original_url": "https://www.bailey.info/ea-sed-ducimus-excepturi-perspiciatis-voluptatem-ducimus-atque-cupiditate",
"user_id": 3958,
"country": "PG",
"provider": "aqua",
"advertiser": {
"id": 2310,
"name": "Schaefer, Klocko and Kuhic"
},
"title": "Gianni Okuneva"
}
}
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": "Miss Dasia Marvin Jr.",
"mtpc_url": null,
"user_id": 3959,
"created_at": null
},
{
"id": null,
"title": "Barrett Ernser",
"mtpc_url": null,
"user_id": 3960,
"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/447/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/447/affiliate-links" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"https:\\/\\/advertiser.com\",
\"advertiser_id\": 14
}"
{
"url": "http://www.hintz.com/praesentium-rem-et-qui-nihil-doloremque-nam-vel",
"original_url": "https://kessler.com/occaecati-voluptas-nemo-quos.html",
"user_id": 3962,
"country": "CA",
"provider": "olive",
"advertiser": {
"id": 2314,
"name": "Bergstrom, Medhurst and Hettinger"
},
"title": "Larissa Hintz PhD"
}
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=sit" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 480,
"name": "Beulah Satterfield",
"has_own_payment_system": false,
"revenue_share": 1
},
{
"id": 480,
"name": "Beulah Satterfield",
"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\": \"f\"
}"
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\": \"wnbldbfrfjc\"
}"
Endpoint for generating a creator invoice from external component
curl --request POST \
"https://api.metapic.dev/v2/payments/generate-creator-invoice/tenetur" \
--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-10T12:11:53\",
\"client_id\": 8,
\"user_id\": 2,
\"system\": 0,
\"ignore_lock\": true
}"
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\": [
2
],
\"number_of_images\": 4
}"
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\": 13,
\"query\": \"non\",
\"number_of_images\": 12
}"
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\": 11
}"
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\": 5,
\"type\": \"standard\",
\"name\": \"Summer campaign for VIP creators\",
\"campaign_title\": \"Summer campaign\",
\"campaign_text\": \"This is a summer campaign!\",
\"has_product_seeding\": false,
\"has_onetime_payment\": true,
\"per_user_limit\": true,
\"one_time_payment\": 2335.092347696,
\"budget_limit\": 17,
\"max_clicks\": 20,
\"valid_from\": \"2026-06-10T12:11:48\",
\"valid_until\": \"2115-07-06\",
\"todo\": [
\"uhlqm\"
],
\"show_for_advertiser\": false,
\"priority_after\": 6,
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
},
\"targets\": {
\"user_ids\": [
17
],
\"user_tag_ids\": [
18
],
\"store_group_ids\": [
16
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"pmdeswbjxawiqnftfslhtj\"
],
\"client_ids\": [
9
],
\"revenue_tier_ids\": [
1
]
},
\"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": "Justina Carroll III",
"campaign_text": "Voluptatem odit illo consequatur ut magnam quod. Culpa sunt ut error nulla vero dolor nisi. Est earum temporibus nisi perferendis molestias quas similique.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjg4P3RleHQ9cXVpcw==",
"image": null,
"store_id": 2264,
"token": "0a2naoavi6zy4sjv",
"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": "Randy Muller",
"campaign_text": "Voluptates qui deleniti est recusandae. Qui et maiores sit. Nulla magni sed repudiandae qui. Recusandae quo ea qui facere assumenda voluptas harum.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWNjP3RleHQ9aGlj",
"image": null,
"store_id": 2265,
"token": "ctqwhj16nsbncmcw",
"type": "standard"
}
Updates existing campaign.
The ID of the offer.
The offer ID
curl --request PUT \
"https://api.metapic.dev/v2/offers/9" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 17,
\"type\": \"standard\",
\"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\": true,
\"one_time_payment\": 878108.8,
\"budget_limit\": 20,
\"max_clicks\": 19,
\"valid_from\": \"2026-06-10T12:11:48\",
\"valid_until\": \"2095-12-26\",
\"todo\": [
\"kxzbgzfoer\"
],
\"show_for_advertiser\": true,
\"priority_after\": 17,
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
],
\"targets\": {
\"0\": [],
\"user_ids\": [
1
],
\"user_tag_ids\": [
6
],
\"store_group_ids\": [
16
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"nlcuu\"
],
\"client_ids\": [
7
],
\"revenue_tier_ids\": [
12
]
},
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
}
}"
{
"data": {
"id": null,
"campaign_title": "Sedrick Prohaska",
"campaign_text": "Eligendi velit officia perspiciatis amet et. Asperiores deserunt consequatur iusto impedit unde fugiat. Enim fugit debitis dolorum cumque. Sequi ut distinctio aliquam amet nisi numquam in.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjU1P3RleHQ9dmVs",
"image": null,
"store_id": 2266,
"token": "vogdwwhcpwawcxd5",
"type": "standard",
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
},
"warnings": {
"skipped_targets": {
"user_ids": [
12,
15
]
}
}
}
Soft deletes a campaign.
The ID of the offer.
The offer ID
curl --request DELETE \
"https://api.metapic.dev/v2/offers/7" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoint for querying & sorting all campaigns.
Query by either of the following: ID, internal name, title.
Returns all offers with id equal to query OR name contains query OR campaign_title contains query. Must not be greater than 64 characters.
deletedendedscheduledpausedactiveQuery by offer's store. Returns all offers which belong to the given store_ids.
Query by offer's store group. Returns all offers which belong to the given store_group_ids.
Query by offer's author ID. Returns all offers created by the user making the request
Query by offer's ID. Performs an 'OR' search, compared to 'AND' search for other filters, so an offer with given ID is always included in the results, if matched.
Page size. Defaults to 20. Must not be greater than 100.
Must follow the correct format: column_name:direction,
where column_name must be 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[]=ended&store_ids[]=1&store_group_ids[]=1&created_by=16&or_id=1234&target_user_id=4&size=20&sort_by=voluptas&custom_sort_by=active_first&format=csv&created_before=2024-04-22T10%3A30%3A00Z&show_for_advertiser=1&advertiser_id=123" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Maiya Stroman",
"campaign_text": "Et alias aut dicta quis omnis sit quis. Officia corrupti qui ratione maiores. Ducimus occaecati eius excepturi ab. Dolore et qui non et nisi.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYjg4P3RleHQ9cGVyc3BpY2lhdGlz",
"image": null,
"store_id": 2267,
"token": "ljyjfmw8rjs7mc9e",
"type": "standard"
},
{
"id": null,
"campaign_title": "Dr. Addison Koch",
"campaign_text": "Qui quia mollitia voluptas voluptatibus rerum ea. Repellendus quibusdam ab quia qui quia consequatur. Sunt repudiandae quo et dolor impedit temporibus nihil enim.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTc3P3RleHQ9bmFt",
"image": null,
"store_id": 2268,
"token": "yhuiw2ntwz7bdnh0",
"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\": \"et\"
}"
{
"id": null,
"campaign_title": "Alaina Pfeffer",
"campaign_text": "Minus alias excepturi minus. Tempora aut voluptatum nam perspiciatis aut. Hic culpa illo vero dolores reiciendis est. Magni quia rem ea minus veritatis possimus est dolore.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMTg4P3RleHQ9bWluaW1h",
"image": null,
"store_id": 2269,
"token": "u5wfox3naa3703mv",
"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": "Fanny Mueller",
"campaign_text": "Sit molestias odit velit nobis omnis sunt ut. Sit sapiente officia dolore at molestiae. Hic dolores deserunt velit aut nisi nemo magni. Facere esse optio eius porro.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAwMDY2P3RleHQ9dm9sdXB0YXRlcw==",
"image": null,
"store_id": 2270,
"token": "ipn346vkk6677wzj",
"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": "Prof. Nola Romaguera DVM",
"campaign_text": "Sit adipisci ipsa non minus. Sed veniam necessitatibus a occaecati qui consequuntur. Nihil consequatur aut id fugit perferendis dolorem.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBjYzMzP3RleHQ9bWFpb3Jlcw==",
"image": null,
"store_id": 2271,
"token": "dxoowpwmaoisphvf",
"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\": \"2016-10-03\",
\"end_date\": \"2118-02-10\"
}"
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/18/affiliate-links/16" \
--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/12/affiliate-links/15" \
--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/447/offers?status=accepted&name=Nike&participant_statuses[]=done&campaign_statuses[]=active&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Mr. Stan Kshlerin",
"campaign_text": "Incidunt maiores ea consequatur doloremque tenetur aut. Aut expedita qui sed quaerat exercitationem. Velit adipisci enim autem in qui alias quas. Debitis modi veritatis cum autem eaque dolor.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYWFhP3RleHQ9dmVs",
"image": null,
"store_id": 2300,
"token": "cnfznqngayul9s02",
"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/447/campaigns?name=Nike&participant_statuses[]=store_denied&campaign_statuses[]=scheduled&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"key": "818-3948",
"todo": [
{
"key": "create_post",
"value": false
}
],
"status": "open",
"can_create_link": false,
"campaign": {
"id": 819,
"type": "standard",
"status": "active",
"title": "Gust Rowe",
"description": "Molestias provident repudiandae consequatur necessitatibus nesciunt. Excepturi eos dolor ut magnam. Eveniet nam placeat reprehenderit molestias ut sint.",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODg4P3RleHQ9ZG9sb3Jlcw==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODg4P3RleHQ9ZG9sb3Jlcw==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODg4P3RleHQ9ZG9sb3Jlcw=="
},
"constraints": {
"per_user_limit": false,
"valid_from": "2026-05-10 12:11:52",
"valid_until": "2026-07-10 12:11:52",
"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/447/campaigns/7" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"key": "822-3954",
"todo": [
{
"key": "create_post",
"value": false
}
],
"status": "open",
"can_create_link": false,
"campaign": {
"id": 823,
"type": "standard",
"status": "active",
"title": "Jaunita Brown",
"description": "Molestias in et itaque reiciendis ut aliquam. Reprehenderit ex blanditiis voluptas dolorem ut dolor. Qui dolore ipsum quia iste. Sint autem eligendi iste dolore quae ducimus.",
"image": {
"key": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODg4P3RleHQ9dGVtcG9yZQ==",
"url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODg4P3RleHQ9dGVtcG9yZQ==",
"base_url": "https://media.metapic.com",
"base64": "dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4ODg4P3RleHQ9dGVtcG9yZQ=="
},
"constraints": {
"per_user_limit": false,
"valid_from": "2026-05-10 12:11:52",
"valid_until": "2026-07-10 12:11:52",
"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/maiores" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Mrs. Audrey Abernathy DDS",
"campaign_text": "Aut rerum ducimus eligendi unde tenetur hic qui voluptatem. Est ab consectetur aut. At et consequatur perferendis ad ut sint nihil. Cum dolores natus totam.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAyMjk5P3RleHQ9b3B0aW8=",
"image": null,
"store_id": 2313,
"token": "brl61ljsu22a5fwd",
"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\": [
19
],
\"user_tag_ids\": [
11
],
\"store_group_ids\": [
14
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"kpzckibyc\"
],
\"client_ids\": [
12
],
\"revenue_tier_ids\": [
17
]
}"
The ID of the offer.
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/8/users/447" \
--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/5/participants" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"wkaa\",
\"status\": \"have_posted\",
\"include\": [
\"has_unread_notifications\"
]
}"
{
"data": [
{
"id": null,
"offer_id": 809,
"user_id": null,
"display_name": "hdamore",
"clicks": 720699674,
"status": "product_sent",
"pre_registered_identifier": "hdamore",
"todo": null,
"payment_amount": null
},
{
"id": null,
"offer_id": 810,
"user_id": null,
"display_name": "klein.amparo",
"clicks": 953,
"status": "have_posted",
"pre_registered_identifier": "klein.amparo",
"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/4/participants/16" \
--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/20/participants-stats" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"qgtmx\",
\"active\": true,
\"start_date\": \"2019-07-03\",
\"end_date\": \"2120-08-11\",
\"sort_by\": \"estimated_gp:asc\"
}"
{
"data": [
{
"id": "811-3915",
"user_id": 3915,
"display_name": "testuser",
"clicks": 0,
"status": "open",
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
},
{
"id": "812-3917",
"user_id": 3917,
"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/4/participants-count-by-click-activity" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2025-08-31\",
\"end_date\": \"2106-01-28\"
}"
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/3/participants/9/update-status" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"denied\"
}"
{
"id": null,
"offer_id": 813,
"user_id": null,
"display_name": "[email protected]",
"clicks": 11320237,
"status": "open",
"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/19/participants/6/todo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"todo\": [
{
\"key\": \"amqhlu\",
\"value\": true
}
]
}"
{
"id": null,
"offer_id": 814,
"user_id": null,
"display_name": "dante93",
"clicks": 89931,
"status": "open",
"pre_registered_identifier": "dante93",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PUT \
"https://api.metapic.dev/v2/offers/6/participants/12/payment-amount" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_amount\": {
\"amount\": \"1.2\",
\"currency\": \"EUR\"
}
}"
{
"id": null,
"offer_id": 815,
"user_id": null,
"display_name": "xprice",
"clicks": 41,
"status": "suggestion",
"pre_registered_identifier": "xprice",
"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/8/overrides/clicks" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"click_limit\": 10
}"
{
"id": null,
"offer_id": 816,
"user_id": null,
"display_name": "hhammes",
"clicks": 525777,
"status": "open",
"pre_registered_identifier": "hhammes",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/15/participants/16/overrides/costs" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": {
\"amount\": \"1.2\",
\"currency\": \"EUR\"
},
\"cpa\": 0.2
}
]
}"
{
"id": null,
"offer_id": 817,
"user_id": null,
"display_name": "acummings",
"clicks": 46,
"status": "suggestion",
"pre_registered_identifier": "acummings",
"todo": null,
"payment_amount": null
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/expedita/users/447" \
--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=eyJpdiI6IldVNTZ2bUNwVEtWYS9McWFZTXhJRGc9PSIsInZhbHVlIjoiTzdPajVNeHlGYXFqanl2TTUvNzZGWFNvejRRRFVEaDk2MnJ1NnRGSllzd0d3Wlo2ay82dFhoTkpJMkM0NWlRVTRVOGZIZ0dldktOQTNjWE5paTNXWkVwbVY1T1BOSUtiOUw4ODN6RWM0M3crQ0Q4K3YxUWpFZFlIblljME9HdEkiLCJtYWMiOiI4M2E1OWYyNTI1NzNmYWE1NTI4MzdjZDI4NTIzMDJhMzJjYTdkY2IzZjEyYWE2OTM0MDM2ZTVjMDdjMGRmYWFlIiwidGFnIjoiIn0%3D; expires=Wed, 10 Jun 2026 12:11:53 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/explicabo/users/447/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\": \"ldnguoithbisphjcj\"
}"
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/6" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"d\"
}"
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/12" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://api.metapic.dev/v2/offer-users/explicabo/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": "Angelica Konopelski",
"advertiser_group_id": 4910,
"affiliate_link": {
"id": 857,
"url": "http://www.buckridge.com/dolorem-beatae-voluptate-maiores-maxime.html",
"original_url": "http://hamill.com/",
"mtpc_url": "https://c.mtpc.se/857",
"user_id": 3923,
"country": "IT",
"provider": "lime",
"advertiser": {
"id": 2285,
"name": "Pollich-Keebler"
},
"title": "Maribel Flatley",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3924,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.097869Z",
"ends_at": "2026-07-10T10:11:51.097944Z",
"stats": []
},
{
"id": null,
"name": "Laurine O'Reilly IV",
"advertiser_group_id": 4913,
"affiliate_link": {
"id": 858,
"url": "http://haag.com/at-inventore-molestias-in",
"original_url": "http://leffler.com/",
"mtpc_url": "https://c.mtpc.se/858",
"user_id": 3925,
"country": "PY",
"provider": "teal",
"advertiser": {
"id": 2286,
"name": "Quigley, Kuhic and Oberbrunner"
},
"title": "Kaela Jacobi MD",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3926,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.124951Z",
"ends_at": "2026-07-10T10:11:51.125026Z",
"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\": \"ujswkedyndmvpcwfcfvsqvod\",
\"advertiser_group_id\": 8,
\"advertiser_id\": 9,
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": false,
\"advertiser_ids\": [
18
],
\"advertiser_category_ids\": [
10
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-06-10T12:11:51\",
\"ends_at\": \"2099-08-17\",
\"click_limit\": 16,
\"view_limit\": 6
}"
{
"id": null,
"name": "Lewis Waters",
"advertiser_group_id": 4916,
"affiliate_link": {
"id": 859,
"url": "http://hermann.com/",
"original_url": "https://hermiston.com/asperiores-esse-officia-similique-amet.html",
"mtpc_url": "https://c.mtpc.se/859",
"user_id": 3927,
"country": "GN",
"provider": "teal",
"advertiser": {
"id": 2287,
"name": "Swift, Armstrong and Franecki"
},
"title": "Ms. Lysanne Okuneva II",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3928,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.171263Z",
"ends_at": "2026-07-10T10:11:51.171358Z",
"stats": []
}
The ID of the return ad.
curl --request GET \
--get "https://api.metapic.dev/v2/return-ads/17" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Lexi Bauch",
"advertiser_group_id": 4919,
"affiliate_link": {
"id": 860,
"url": "http://www.prohaska.com/dolores-quia-sit-quasi-nihil-quaerat",
"original_url": "https://www.osinski.net/adipisci-quidem-dolor-neque-et-aspernatur-aut-nihil",
"mtpc_url": "https://c.mtpc.se/860",
"user_id": 3929,
"country": "CV",
"provider": "white",
"advertiser": {
"id": 2288,
"name": "Hegmann-Cassin"
},
"title": "Kaylie Kris",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3930,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.207948Z",
"ends_at": "2026-07-10T10:11:51.208046Z",
"stats": []
}
The ID of the return ad.
curl --request PUT \
"https://api.metapic.dev/v2/return-ads/7" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"qgylyeswogortpo\",
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": false,
\"advertiser_ids\": [
5
],
\"advertiser_category_ids\": [
10
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-06-10T12:11:51\",
\"ends_at\": \"2108-11-04\",
\"click_limit\": 20,
\"view_limit\": 14
}"
{
"id": null,
"name": "Veronica Pagac",
"advertiser_group_id": 4922,
"affiliate_link": {
"id": 861,
"url": "http://www.franecki.com/",
"original_url": "http://witting.com/",
"mtpc_url": "https://c.mtpc.se/861",
"user_id": 3931,
"country": "BL",
"provider": "purple",
"advertiser": {
"id": 2289,
"name": "Conn, Howe and West"
},
"title": "Prof. Fannie Rau",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3932,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.245839Z",
"ends_at": "2026-07-10T10:11:51.245909Z",
"stats": []
}
The ID of the return ad.
curl --request DELETE \
"https://api.metapic.dev/v2/return-ads/18" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Deactivates Return Ad
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/5/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Jared Raynor",
"advertiser_group_id": 4925,
"affiliate_link": {
"id": 862,
"url": "http://mayer.info/perspiciatis-quis-eum-vel-totam-voluptatibus",
"original_url": "https://botsford.info/ex-quo-ad-soluta-sunt-ab-animi-praesentium.html",
"mtpc_url": "https://c.mtpc.se/862",
"user_id": 3933,
"country": "BQ",
"provider": "yellow",
"advertiser": {
"id": 2290,
"name": "Will Group"
},
"title": "Timmy Berge DVM",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3934,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.289021Z",
"ends_at": "2026-07-10T10:11:51.289093Z",
"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": "Verner Vandervort",
"advertiser_group_id": 4928,
"affiliate_link": {
"id": 863,
"url": "http://haley.biz/iure-animi-vel-illo-suscipit-est-odit-dicta",
"original_url": "http://www.keeling.com/",
"mtpc_url": "https://c.mtpc.se/863",
"user_id": 3935,
"country": "CF",
"provider": "fuchsia",
"advertiser": {
"id": 2291,
"name": "Weimann-Kovacek"
},
"title": "Madisyn Schowalter",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3936,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.325739Z",
"ends_at": "2026-07-10T10:11:51.325810Z",
"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/12/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"name": "Ms. Melisa Baumbach III",
"advertiser_group_id": 4931,
"affiliate_link": {
"id": 864,
"url": "http://batz.com/aut-quisquam-accusantium-earum-saepe-et-commodi",
"original_url": "https://skiles.com/provident-quia-necessitatibus-quasi-excepturi.html",
"mtpc_url": "https://c.mtpc.se/864",
"user_id": 3937,
"country": "AE",
"provider": "purple",
"advertiser": {
"id": 2292,
"name": "Hodkiewicz LLC"
},
"title": "Bobby Abernathy Jr.",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3938,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.361975Z",
"ends_at": "2026-07-10T10:11:51.362044Z",
"stats": []
},
{
"id": null,
"name": "Mr. Abel Block",
"advertiser_group_id": 4934,
"affiliate_link": {
"id": 865,
"url": "http://grady.com/qui-voluptas-beatae-voluptatem-ut",
"original_url": "http://doyle.com/",
"mtpc_url": "https://c.mtpc.se/865",
"user_id": 3939,
"country": "VA",
"provider": "lime",
"advertiser": {
"id": 2293,
"name": "Hickle and Sons"
},
"title": "Irma Steuber",
"created_at": "2026-06-10T12:11:51+02:00"
},
"author_id": 3940,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-05-10T10:11:51.390026Z",
"ends_at": "2026-07-10T10:11:51.390101Z",
"stats": []
}
]
List Shared Budgets for Store
The ID of the store.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/5/shared-budgets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"title": "Kelsi Russel",
"amount": 5,
"amount_v2": {
"amount": "0.05",
"currency": "PLN"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "PLN"
},
"currency": "PLN"
},
{
"id": null,
"title": "Mossie Krajcik",
"amount": 7,
"amount_v2": {
"amount": "0.07",
"currency": "USD"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "USD"
},
"currency": "USD"
}
]
Returns information about a specific budget.
The ID of the store.
The ID of the shared budget.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/5/shared-budgets/1" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"title": "Piper Monahan",
"amount": 7,
"amount_v2": {
"amount": "0.07",
"currency": "USD"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "USD"
},
"currency": "USD"
}
Updates existing budget.
The ID of the store.
The ID of the shared budget.
curl --request PUT \
"https://api.metapic.dev/v2/stores/4/shared-budgets/5" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Summer budget\",
\"amount\": 10000
}"
{
"id": null,
"title": "Miss Ana Ratke",
"amount": 7,
"amount_v2": {
"amount": "0.07",
"currency": "PLN"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "PLN"
},
"currency": "PLN"
}
The ID of the store.
The ID of the shared budget.
curl --request DELETE \
"https://api.metapic.dev/v2/stores/6/shared-budgets/2" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://api.metapic.dev/v2/stores/16/payment" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"voluptatem\"
}"
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\": \"et\"
}"
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=veniam&status=accepted" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 447,
"username": "pkling",
"display_name": "Adrien Gutmann",
"email": "[email protected]",
"client_id": 480,
"locale": "so_KE",
"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": 447,
"username": "pkling",
"display_name": "Adrien Gutmann",
"email": "[email protected]",
"client_id": 480,
"locale": "so_KE",
"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/447" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"include\": [
\"client\"
]
}"
{
"id": 447,
"username": "pkling",
"display_name": "Adrien Gutmann",
"email": "[email protected]",
"client_id": 480,
"locale": "so_KE",
"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": 447,
"username": "pkling",
"display_name": "Adrien Gutmann",
"email": "[email protected]",
"client_id": 480,
"locale": "so_KE",
"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/447/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/447/locale" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"locale\": \"st_ZA\"
}"
{
"id": 447,
"username": "pkling",
"display_name": "Adrien Gutmann",
"email": "[email protected]",
"client_id": 480,
"locale": "so_KE",
"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\": [
11
]
}"
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\": [
4
]
}"
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/447/advertiser-categories?page=1&size=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"key": "id-voluptatum",
"name": "id voluptatum"
},
{
"key": "harum-eaque",
"name": "harum eaque"
}
],
"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/447/advertiser-categories" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
{
"data": [
{
"key": "quis-omnis",
"name": "quis omnis"
},
{
"key": "quod-ea",
"name": "quod ea"
}
],
"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=et" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"