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/7/blocklist?query=dltcuimuwgqrabrtof" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"created_at": null,
"created_by": {
"id": 3977,
"username": "schroeder.candida",
"display_name": "Harry Koepp",
"email": "[email protected]",
"client_id": 4208,
"preferred_locale": "sr_RS",
"language": "sr"
},
"client": {
"id": 4209,
"name": "Elinor Trantow",
"has_own_payment_system": false,
"revenue_share": 1
}
},
{
"id": null,
"created_at": null,
"created_by": {
"id": 3978,
"username": "kiera.raynor",
"display_name": "Jaydon Kunde",
"email": "[email protected]",
"client_id": 4210,
"preferred_locale": "hy_AM",
"language": "hy"
},
"client": {
"id": 4211,
"name": "Mr. Einar Kunde V",
"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/12/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/18/blocklist/2" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Returns the settings to be added to the sales pixel script.
The advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/vitae/order-collectors/sales-pixel" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
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/alias/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\": \"voluptas\"
}"
Returns remaining email quota for the advertiser.
The ID of the advertiser.
curl --request GET \
--get "https://api.metapic.dev/v2/advertisers/10/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/19/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/14/payment-setup" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"neque\"
}"
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\": [
12
],
\"logo_url\": \"http:\\/\\/stark.com\\/pariatur-consequatur-ex-aut-ut-quibusdam-assumenda-praesentium-at.html\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"possimus\",
\"street\": \"illo\",
\"postal_code\": \"occaecati\",
\"city\": \"labore\",
\"vat_number\": \"voluptas\"
}
}"
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=repellat" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "Ortiz, Botsford and Crist"
},
{
"id": null,
"name": "Heathcote PLC"
}
],
"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/8/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/8/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.
mainUrlMatchingRuleStoreCategoriesPage number for pagination.
Number of items per page. Defaults to 200. Must not be greater than 200.
curl --request GET \
--get "https://api.metapic.dev/v2/users/8/advertisers?category_id=5&include[]=StoreCategories&page=1&size=200" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 2290,
"name": "Treutel and Sons",
"traffic_sources_costs": [
{
"source": 0,
"cpc": 100,
"cpc_v2": {
"amount": "1",
"currency": "EUR"
},
"cpa": 0.1,
"currency": "EUR"
}
]
}
],
"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/6/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/14/url-matching-rules" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"block\",
\"url\": \"http:\\/\\/johnson.com\\/aliquam-reiciendis-dolor-sed-explicabo-commodi\",
\"keyword\": \"wrdlwfxncciqmftrqag\",
\"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/2/url-matching-rules/2" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"block\",
\"url\": \"https:\\/\\/www.gerlach.com\\/tenetur-vel-ducimus-enim-deserunt-voluptatem-est-tempora\",
\"keyword\": \"iyevxgjrzpvcndgdiqywvpevx\",
\"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/19/url-matching-rules/20" \
--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\": [
5
],
\"logo_url\": \"http:\\/\\/www.waelchi.info\\/vero-voluptatem-distinctio-dolorum-pariatur-quos\",
\"country\": \" Example: SE\",
\"currency\": \"Example: EUR\",
\"language\": \"sv\",
\"billing\": {
\"company_name\": \"suscipit\",
\"street\": \"laboriosam\",
\"postal_code\": \"rerum\",
\"city\": \"ipsam\",
\"vat_number\": \"et\"
}
}"
{
"id": null,
"name": "Ward, Orn and Hauck"
}
Deactivates the advertiser.
The ID of the advertiser.
curl --request POST \
"https://api.metapic.dev/v2/advertisers/1/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": "ex soluta",
"key": "ex soluta"
},
{
"id": null,
"name": "et vel",
"key": "et vel"
}
]
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": [
{
"id": null,
"name": "quisquam accusamus",
"key": "quisquam accusamus"
},
{
"id": null,
"name": "autem sint",
"key": "autem sint"
}
],
"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=occaecati" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 9,
"name": "Veum Inc",
"key": "kcg_NG",
"currency": "EUR"
},
{
"id": 9,
"name": "Veum Inc",
"key": "kcg_NG",
"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/fugiat" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"url": "http://www.roob.info/consequatur-fuga-est-optio-optio-quo-et",
"original_url": "http://schaden.biz/",
"user_id": 3985,
"country": "TG",
"provider": "white",
"advertiser": {
"id": 2296,
"name": "Shanahan PLC"
},
"title": "Corrine Lesch"
}
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\": 8,
\"advertiser_preview\": true,
\"advertiser_group_id\": 1,
\"dry\": false
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "http://www.heidenreich.info/vel-eum-ex-fugit-in-fugit",
"original_url": "http://www.lesch.biz/eligendi-repellendus-debitis-sit-dolor-labore-molestias.html",
"user_id": 3986,
"country": "TZ",
"provider": "black",
"advertiser": {
"id": 2297,
"name": "Jacobs-Von"
},
"title": "Domenica Becker"
}
}
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/8/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\": false
}"
{
"status": "success",
"affiliate_link": {
"status": "success",
"url": "https://www.keebler.com/in-dicta-id-accusantium-officia-soluta",
"original_url": "http://smitham.com/sunt-reprehenderit-perspiciatis-sunt-repellendus-accusantium-cupiditate-nostrum",
"user_id": 3987,
"country": "SV",
"provider": "teal",
"advertiser": {
"id": 2298,
"name": "Feeney-Orn"
},
"title": "Damon Hartmann III"
}
}
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": "Jazmyne Kuhic",
"mtpc_url": null,
"user_id": 3988,
"created_at": null
},
{
"id": null,
"title": "Mr. Dino Little",
"mtpc_url": null,
"user_id": 3989,
"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/8/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/8/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.schulist.biz/",
"original_url": "http://walter.net/et-iste-ea-ut-tempora.html",
"user_id": 3991,
"country": "CA",
"provider": "silver",
"advertiser": {
"id": 2302,
"name": "Jakubowski Inc"
},
"title": "Janelle McLaughlin"
}
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=sed" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 8,
"name": "Bernadine Nikolaus V",
"has_own_payment_system": false,
"revenue_share": 1
},
{
"id": 8,
"name": "Bernadine Nikolaus V",
"has_own_payment_system": false,
"revenue_share": 1
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 20,
"to": 2,
"total": 2
}
}
Operations on Media posted by Creators
Filters media by username.
Filter user media by show store value.
all012Filters media by type.
allinstagramtiktokyoutubeFilter user media by favorite value.
all10:shrug:.
Format to export.
csvxlsxjsoncurl --request GET \
--get "https://api.metapic.dev/v2/user-media?query=aut&status=all&type=tiktok&favorite=1&group=3&format=csv" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"current_page": 1,
"data": [
{
"id": 1,
"media_type": "youtube",
"media_id": "FLR0BB4qDt8",
"username": "hamida_most",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 1,
"published_at": "2023-05-13",
"created_at": "2023-07-18T12:02:53.000000Z",
"updated_at": "2023-07-18T12:09:13.000000Z"
},
{
"id": 2,
"media_type": "tiktok",
"username": "juliaringblomm",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 0,
"published_at": "2023-06-17",
"created_at": "2023-07-18T12:10:49.000000Z",
"updated_at": "2023-07-18T13:39:28.000000Z",
"media": {
"content_type": "video/mp4",
"href": "https://metapic-tiktok-media.example/juliaringblomm/7245692137566653722"
}
},
{
"id": 3,
"media_type": "instagram",
"username": "juliaringblomm",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 0,
"published_at": "2023-06-17",
"created_at": "2023-07-18T12:10:49.000000Z",
"updated_at": "2023-07-18T13:39:28.000000Z",
"media": {
"content_type": "video/mp4",
"href": "https://metapic-instragram-media.example/juliaringblomm/7245692137566653722"
}
},
{
"id": 4,
"media_type": "instagram",
"username": "juliaringblomm",
"tag_id": null,
"user_id": null,
"favorite": 1,
"show_store": 0,
"published_at": "2023-06-17",
"created_at": "2023-07-18T12:10:49.000000Z",
"updated_at": "2023-07-18T13:39:28.000000Z",
"media": {
"content_type": "image/jpeg",
"href": "https://metapic-instragram-media.example/juliaringblomm/7245692137566653722"
}
}
],
"first_page_url": "http://metapic-api.my/user-media?page=1",
"from": 1,
"last_page": 3,
"last_page_url": "http://metapic-api.my/user-media?page=3",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://metapic-api.my/user-media?page=1",
"label": "1",
"active": true
},
{
"url": "http://metapic-api.my/user-media?page=2",
"label": "2",
"active": false
},
{
"url": "http://metapic-api.my/user-media?page=3",
"label": "3",
"active": false
},
{
"url": "http://metapic-api.my/user-media?page=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "http://metapic-api.my/user-media?page=2",
"path": "http://metapic-api.my/user-media",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 12
}
curl --request GET \
--get "https://api.metapic.dev/v2/health" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 300
x-ratelimit-remaining: 300
access-control-allow-origin: *
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-05\"
}"
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\": \"lmoexswat\"
}"
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\": \"xlgspsrrjizntinym\"
}"
Endpoint for generating a creator invoice from external component
curl --request POST \
"https://api.metapic.dev/v2/payments/generate-creator-invoice/ut" \
--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-05-06T10:17:35\",
\"client_id\": 5,
\"user_id\": 5,
\"system\": 2,
\"ignore_lock\": false
}"
curl --request GET \
--get "https://api.metapic.dev/v2/entrypoint" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"app\": \"creator\",
\"store_id\": 5
}"
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\": 9,
\"type\": \"suggestion\",
\"name\": \"Summer campaign for VIP creators\",
\"campaign_title\": \"Summer campaign\",
\"campaign_text\": \"This is a summer campaign!\",
\"has_product_seeding\": false,
\"has_onetime_payment\": false,
\"per_user_limit\": false,
\"one_time_payment\": 23760.3808499,
\"budget_limit\": 11,
\"max_clicks\": 1,
\"valid_from\": \"2026-05-06T10:17:31\",
\"valid_until\": \"1971-05-09\",
\"todo\": [
\"hpinyck\"
],
\"show_for_advertiser\": true,
\"priority_after\": 1,
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
},
\"targets\": {
\"user_ids\": [
12
],
\"user_tag_ids\": [
8
],
\"store_group_ids\": [
16
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"qjom\"
],
\"client_ids\": [
3
],
\"revenue_tier_ids\": [
18
]
},
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
]
}"
{
"data": {
"id": null,
"campaign_title": "Miss Nadia Douglas",
"campaign_text": "Aut sequi a illo. Culpa rerum reiciendis tempora consectetur quia sed sunt. Nihil animi illo maiores perferendis iure.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDAxMWRkP3RleHQ9dm9sdXB0YXRlbQ==",
"image": null,
"store_id": 2256,
"token": "pspo5fzmdcmtvkkb",
"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": "Don Buckridge",
"campaign_text": "Doloremque vero voluptatem officia consequatur. Nam dolores porro aut nam labore. Aperiam culpa repudiandae animi hic id eos itaque.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZGJiP3RleHQ9bW9sZXN0aWFl",
"image": null,
"store_id": 2257,
"token": "slmui1ogj7r20l61",
"type": "standard"
}
Updates existing campaign.
The ID of the offer.
The offer ID
curl --request PUT \
"https://api.metapic.dev/v2/offers/6" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"store_group_id\": 5,
\"type\": \"suggestion\",
\"name\": \"Summer campaign for VIP creators\",
\"campaign_title\": \"Summer campaign\",
\"campaign_text\": \"This is a summer campaign!\",
\"has_product_seeding\": true,
\"has_onetime_payment\": false,
\"per_user_limit\": false,
\"one_time_payment\": 7179318.2410743,
\"budget_limit\": 7,
\"max_clicks\": 19,
\"valid_from\": \"2026-05-06T10:17:31\",
\"valid_until\": \"2076-01-12\",
\"todo\": [
\"imzcycwh\"
],
\"show_for_advertiser\": true,
\"priority_after\": 20,
\"traffic_sources_costs\": [
{
\"source\": 1,
\"cpc\": 230,
\"cpa\": 0.2,
\"invoice_cpc\": 250,
\"invoice_cpa\": 0.25,
\"user_revenue\": 1
}
],
\"targets\": {
\"0\": [],
\"user_ids\": [
15
],
\"user_tag_ids\": [
7
],
\"store_group_ids\": [
1
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"sxrtxttekpuwmhisctxm\"
],
\"client_ids\": [
8
],
\"revenue_tier_ids\": [
4
]
},
\"shared_budget_id\": 1,
\"shared_budget\": {
\"title\": \"Summer budget\",
\"amount\": 10000
}
}"
{
"data": {
"id": null,
"campaign_title": "Anika King III",
"campaign_text": "Laborum ut neque quo dolorem sit et. Voluptas accusamus perspiciatis tenetur ut. Earum sit qui repellat rem recusandae. Optio nihil dolores vel ea.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBkZGNjP3RleHQ9dm9sdXB0YXRlbQ==",
"image": null,
"store_id": 2258,
"token": "7hofk4nfklumf4bq",
"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/18" \
--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[]=deleted&store_ids[]=1&store_group_ids[]=1&created_by=10&or_id=1234&target_user_id=16&size=20&sort_by=quia&custom_sort_by=ends_soon&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": "Makayla Smith",
"campaign_text": "Sint omnis labore dolorem quae fugit rem. Quo unde non optio officiis molestiae. Modi harum saepe repellat dicta. Officiis impedit suscipit et fugit.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NmVlP3RleHQ9YQ==",
"image": null,
"store_id": 2259,
"token": "kompu2kqyyklmvgj",
"type": "standard"
},
{
"id": null,
"campaign_title": "Mr. Jordan Torp",
"campaign_text": "Sequi impedit distinctio iste. Omnis optio illo quis ducimus excepturi qui eaque. Laborum ea quibusdam ipsum voluptatem incidunt ratione eos.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZmFhP3RleHQ9cmVpY2llbmRpcw==",
"image": null,
"store_id": 2260,
"token": "ldt5lytce1g4b9eb",
"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\": \"ut\"
}"
{
"id": null,
"campaign_title": "Mr. Robb Doyle",
"campaign_text": "Aut qui voluptate ea maiores qui aliquid quam. Vel harum est aut porro accusantium labore. Quod ea fugiat vel aliquam.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA2NjU1P3RleHQ9ZXhlcmNpdGF0aW9uZW0=",
"image": null,
"store_id": 2261,
"token": "b1tyxdld9aufswwc",
"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": "Major Hammes",
"campaign_text": "Tempore mollitia voluptas consequatur amet. Rerum accusantium et aspernatur maiores. Aut tempore fugiat inventore beatae alias.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBiYmFhP3RleHQ9cXVp",
"image": null,
"store_id": 2262,
"token": "vforwls8qjzakpmm",
"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": "Richmond Monahan Jr.",
"campaign_text": "Blanditiis et perspiciatis reprehenderit maiores in tempora iure ipsam. Laborum id quis aliquid sed. Minima et quia aut qui.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDA4OGFhP3RleHQ9YW5pbWk=",
"image": null,
"store_id": 2263,
"token": "ly8jozekc5n0bsgv",
"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\": \"2015-01-06\",
\"end_date\": \"2030-12-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/2/affiliate-links/5" \
--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/2/affiliate-links/8" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
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.
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/8/offers?status=accepted&name=Nike&participant_statuses[]=applied&campaign_statuses[]=active&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Raymundo Lind",
"campaign_text": "Excepturi blanditiis laboriosam aspernatur corporis et. Dolores et qui saepe ut aut asperiores nihil. Excepturi laudantium similique non magni laudantium.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBlZTg4P3RleHQ9dXQ=",
"image": null,
"store_id": 2292,
"token": "9p2mcu3aixfvldrc",
"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.
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/8/campaigns?status=accepted&name=Nike&participant_statuses[]=product_sent&campaign_statuses[]=scheduled&page=1&size=30" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"campaign_title": "Prof. Percival Wisozk II",
"campaign_text": "Rerum laudantium in possimus ut nisi. Itaque quo autem laudantium consequatur aut eos accusamus. Hic autem qui inventore minus labore.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBhYTMzP3RleHQ9bGFib3Jl",
"image": null,
"store_id": 2294,
"token": "nkcrmsloqpy3mvg6",
"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 information about a specific campaign.
The offer ID
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/voluptatem" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"campaign_title": "Annabell Mann",
"campaign_text": "Vero nam repellendus velit dolores ea. Aut a repellat molestiae. Quis enim aperiam voluptate aut nobis laborum. Quaerat dolor sunt laudantium rerum.",
"has_product_seeding": false,
"has_onetime_payment": false,
"status": "active",
"image_url": "https://media.metapic.com/insecure/rs:fill:800:500/g:sm/dXBsb2Fkcy9odHRwczovL3ZpYS5wbGFjZWhvbGRlci5jb20vNjQweDQ4MC5wbmcvMDBmZjAwP3RleHQ9cG9zc2ltdXM=",
"image": null,
"store_id": 2301,
"token": "s8496jh7phuz4dvy",
"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\": [
1
],
\"user_tag_ids\": [
19
],
\"store_group_ids\": [
4
],
\"emails\": [
\"[email protected]\"
],
\"social_media_identifiers\": [
\"lzonfidnpszvwltkdnf\"
],
\"client_ids\": [
6
],
\"revenue_tier_ids\": [
2
]
}"
The ID of the offer.
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/3/users/8" \
--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/7/participants" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"y\",
\"status\": \"have_received\",
\"include\": [
\"has_unread_notifications\"
]
}"
{
"data": [
{
"id": null,
"offer_id": 817,
"user_id": null,
"display_name": "alvera10",
"clicks": 437932,
"status": "denied",
"pre_registered_identifier": "alvera10",
"todo": null,
"payment_amount": null
},
{
"id": null,
"offer_id": 818,
"user_id": null,
"display_name": "[email protected]",
"clicks": 560311328,
"status": "applied",
"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/9/participants/6" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"offer_id": 819,
"user_id": 3952,
"display_name": "[email protected]",
"clicks": 2592,
"status": "suggestion",
"todo": null,
"payment_amount": null
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/10/participants-stats" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"query\": \"eighuyjyuycdcdifvaewzuz\",
\"active\": true,
\"start_date\": \"2022-12-11\",
\"end_date\": \"2097-12-01\",
\"sort_by\": \"links_created:asc\"
}"
{
"data": [
{
"id": null,
"user_id": null,
"display_name": null,
"clicks": 0,
"status": null,
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
},
{
"id": null,
"user_id": null,
"display_name": null,
"clicks": 0,
"status": null,
"links_created": null,
"estimated_gp": null,
"estimated_earning_to_cost_ratio": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
The ID of the offer.
curl --request GET \
--get "https://api.metapic.dev/v2/offers/2/participants-count-by-click-activity" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2004-06-12\",
\"end_date\": \"2103-04-27\"
}"
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/11/participants/8/update-status" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"denied\"
}"
{
"id": null,
"offer_id": 820,
"user_id": null,
"display_name": "leann.hand",
"clicks": 824,
"status": "store_denied",
"pre_registered_identifier": "leann.hand",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/3/participants/14/todo" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"todo\": [
{
\"key\": \"odrpxntoweeaadrvytb\",
\"value\": true
}
]
}"
{
"id": null,
"offer_id": 821,
"user_id": null,
"display_name": "[email protected]",
"clicks": 61122942,
"status": "suggestion",
"pre_registered_email": "[email protected]",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PUT \
"https://api.metapic.dev/v2/offers/8/participants/15/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": 822,
"user_id": null,
"display_name": "bruen.jayson",
"clicks": 33084,
"status": "product_sent",
"pre_registered_identifier": "bruen.jayson",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/14/participants/17/overrides/clicks" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"click_limit\": 10
}"
{
"id": null,
"offer_id": 823,
"user_id": null,
"display_name": "yrussel",
"clicks": 8642267,
"status": "store_denied",
"pre_registered_identifier": "yrussel",
"todo": null,
"payment_amount": null
}
The ID of the offer.
The ID of the participant.
curl --request PATCH \
"https://api.metapic.dev/v2/offers/10/participants/18/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": 824,
"user_id": 3957,
"display_name": null,
"clicks": 662,
"status": "denied",
"todo": null,
"payment_amount": null
}
The ID of the user.
curl --request GET \
--get "https://api.metapic.dev/v2/offer-by-token/voluptates/users/8" \
--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=eyJpdiI6ImVxcTl0amozOUI1TkJ3TlhXWmR0WkE9PSIsInZhbHVlIjoia1l4S1FCcmFscjNscXR2cjJZcnArcE1LV1pWMDQzTURrdkRwcVRVNC9XSTRxbGIxSmErL1c3UWVqN3NKL0VaYlR1bDR3Nmo5aFAyS1lVSDE2MXVoUHRpT2xEZHJCT3lON0tlaGszanpBUC93RWFzRG5id2tOU0NyNEVPMHNrdGciLCJtYWMiOiIxMGEwNjJjMDQ2NGM3OTRlYTc0MzJiYTk2NmU0MjIwMGVjMTNlN2M3MmU5ZTU3OWY1ZWY0NTQ2ODYwNGMxNzRlIiwidGFnIjoiIn0%3D; expires=Wed, 06 May 2026 10:17:35 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/incidunt/users/8/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\": \"izutrpxbzpwdcaoprrjj\"
}"
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/13" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"xgbkbbuhfarzwcvndinb\"
}"
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/4" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://api.metapic.dev/v2/offer-users/aut/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[]=paused&created_by=&or_id=1234&sort_by=current_clicks%3Aasc" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "Frankie Cartwright",
"advertiser_group_id": 4937,
"affiliate_link": {
"id": 870,
"url": "http://gutmann.net/omnis-non-id-aut-est-delectus-est.html",
"original_url": "http://www.hickle.com/iusto-eos-exercitationem-nam-nobis",
"mtpc_url": "https://c.mtpc.se/870",
"user_id": 3959,
"country": "TM",
"provider": "purple",
"advertiser": {
"id": 2277,
"name": "Kozey-Wilkinson"
},
"title": "Murphy Frami",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3960,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.127694Z",
"ends_at": "2026-06-06T08:17:34.127780Z",
"stats": []
},
{
"id": null,
"name": "Adella Bins",
"advertiser_group_id": 4940,
"affiliate_link": {
"id": 871,
"url": "http://www.blick.com/veniam-voluptates-iusto-et-consequatur",
"original_url": "http://www.kuvalis.com/esse-qui-dolorum-maiores-nostrum-numquam-id-dolore.html",
"mtpc_url": "https://c.mtpc.se/871",
"user_id": 3961,
"country": "MS",
"provider": "purple",
"advertiser": {
"id": 2278,
"name": "Heidenreich and Sons"
},
"title": "Kraig Powlowski",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3962,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.156953Z",
"ends_at": "2026-06-06T08:17:34.157036Z",
"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\": \"afruzntochidolqtidiivw\",
\"advertiser_group_id\": 19,
\"advertiser_id\": 12,
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": false,
\"advertiser_ids\": [
8
],
\"advertiser_category_ids\": [
4
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-05-06T10:17:34\",
\"ends_at\": \"2075-01-11\",
\"click_limit\": 20,
\"view_limit\": 1
}"
{
"id": null,
"name": "Giovani Borer",
"advertiser_group_id": 4943,
"affiliate_link": {
"id": 872,
"url": "https://okon.com/odit-quisquam-odit-dolor-quo.html",
"original_url": "http://auer.com/",
"mtpc_url": "https://c.mtpc.se/872",
"user_id": 3963,
"country": "KH",
"provider": "silver",
"advertiser": {
"id": 2279,
"name": "Bednar, Altenwerth and O'Connell"
},
"title": "Hassie Cole",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3964,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.201226Z",
"ends_at": "2026-06-06T08:17:34.201332Z",
"stats": []
}
The ID of the return ad.
curl --request GET \
--get "https://api.metapic.dev/v2/return-ads/15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Ms. Bryana Kirlin V",
"advertiser_group_id": 4946,
"affiliate_link": {
"id": 873,
"url": "https://gusikowski.com/voluptatem-voluptate-officiis-aliquid-eos-recusandae-nisi.html",
"original_url": "http://www.auer.org/sit-aut-quas-architecto-voluptatem-eos-velit-dolores.html",
"mtpc_url": "https://c.mtpc.se/873",
"user_id": 3965,
"country": "GM",
"provider": "lime",
"advertiser": {
"id": 2280,
"name": "Crooks Group"
},
"title": "Bette Jacobi",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3966,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.237234Z",
"ends_at": "2026-06-06T08:17:34.237323Z",
"stats": []
}
The ID of the return ad.
curl --request PUT \
"https://api.metapic.dev/v2/return-ads/14" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"bnyyujtwrqeidyatoospjid\",
\"return_link\": \"https:\\/\\/advertiser.com\",
\"display_for_all_advertisers\": false,
\"advertiser_ids\": [
9
],
\"advertiser_category_ids\": [
16
],
\"styles\": {
\"color\": \"#ffffff\"
},
\"image_key\": \"dG1wL2ltYWdlLmpwZw==\",
\"starts_at\": \"2026-05-06T10:17:34\",
\"ends_at\": \"2098-11-06\",
\"click_limit\": 20,
\"view_limit\": 6
}"
{
"id": null,
"name": "Carmela Langworth",
"advertiser_group_id": 4949,
"affiliate_link": {
"id": 874,
"url": "https://hessel.com/totam-adipisci-dolor-harum-quo.html",
"original_url": "http://www.moore.com/",
"mtpc_url": "https://c.mtpc.se/874",
"user_id": 3967,
"country": "IO",
"provider": "silver",
"advertiser": {
"id": 2281,
"name": "Huel Inc"
},
"title": "Dr. Dayna Torp DVM",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3968,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.271775Z",
"ends_at": "2026-06-06T08:17:34.271845Z",
"stats": []
}
The ID of the return ad.
curl --request DELETE \
"https://api.metapic.dev/v2/return-ads/17" \
--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/19/pause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Hank Crist",
"advertiser_group_id": 4952,
"affiliate_link": {
"id": 875,
"url": "https://paucek.com/repellendus-voluptatem-deleniti-recusandae.html",
"original_url": "http://www.rau.info/facilis-quidem-mollitia-quisquam-aut",
"mtpc_url": "https://c.mtpc.se/875",
"user_id": 3969,
"country": "PK",
"provider": "black",
"advertiser": {
"id": 2282,
"name": "Schmeler, Cummerata and Jones"
},
"title": "Dr. Marguerite Cruickshank PhD",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3970,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.312653Z",
"ends_at": "2026-06-06T08:17:34.312736Z",
"stats": []
}
The ID of the returnAd.
curl --request POST \
"https://api.metapic.dev/v2/return-ads/1/unpause" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"name": "Adrien Olson",
"advertiser_group_id": 4955,
"affiliate_link": {
"id": 876,
"url": "http://bosco.com/iusto-sed-laudantium-cupiditate-aliquam",
"original_url": "http://www.bogan.net/",
"mtpc_url": "https://c.mtpc.se/876",
"user_id": 3971,
"country": "LY",
"provider": "yellow",
"advertiser": {
"id": 2283,
"name": "Waelchi, Mante and Emmerich"
},
"title": "Crystal Yost",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3972,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.351828Z",
"ends_at": "2026-06-06T08:17:34.351903Z",
"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/11/return-ads" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"name": "Marcelo Quitzon",
"advertiser_group_id": 4958,
"affiliate_link": {
"id": 877,
"url": "http://monahan.org/",
"original_url": "http://carter.com/et-exercitationem-sed-autem-ea-eveniet-nemo.html",
"mtpc_url": "https://c.mtpc.se/877",
"user_id": 3973,
"country": "CF",
"provider": "white",
"advertiser": {
"id": 2284,
"name": "McLaughlin, Kutch and Krajcik"
},
"title": "Estel Satterfield",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3974,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.387734Z",
"ends_at": "2026-06-06T08:17:34.387816Z",
"stats": []
},
{
"id": null,
"name": "Emie Larson",
"advertiser_group_id": 4961,
"affiliate_link": {
"id": 878,
"url": "http://www.boyer.com/natus-quia-rem-harum-eos-qui-laborum-id-quae",
"original_url": "https://www.nicolas.net/et-alias-voluptatem-aut-nisi-quidem-possimus",
"mtpc_url": "https://c.mtpc.se/878",
"user_id": 3975,
"country": "JO",
"provider": "navy",
"advertiser": {
"id": 2285,
"name": "Cormier LLC"
},
"title": "Dr. Cyril Carroll",
"created_at": "2026-05-06T10:17:34+02:00"
},
"author_id": 3976,
"display_for_all_advertisers": false,
"status": "active",
"styles": null,
"image": null,
"starts_at": "2026-04-06T08:17:34.412678Z",
"ends_at": "2026-06-06T08:17:34.412743Z",
"stats": []
}
]
List Shared Budgets for Store
The ID of the store.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/12/shared-budgets" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [
{
"id": null,
"title": "Jettie Stehr",
"amount": 1,
"amount_v2": {
"amount": "0.01",
"currency": "GBP"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "GBP"
},
"currency": "GBP"
},
{
"id": null,
"title": "Sister Douglas",
"amount": 7,
"amount_v2": {
"amount": "0.07",
"currency": "PLN"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "PLN"
},
"currency": "PLN"
}
]
Returns information about a specific budget.
The ID of the store.
The ID of the shared budget.
curl --request GET \
--get "https://api.metapic.dev/v2/stores/2/shared-budgets/8" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"id": null,
"title": "Miss Roma Rath MD",
"amount": 3,
"amount_v2": {
"amount": "0.03",
"currency": "SEK"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "SEK"
},
"currency": "SEK"
}
Updates existing budget.
The ID of the store.
The ID of the shared budget.
curl --request PUT \
"https://api.metapic.dev/v2/stores/17/shared-budgets/17" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Summer budget\",
\"amount\": 10000
}"
{
"id": null,
"title": "Janelle Cronin",
"amount": 6,
"amount_v2": {
"amount": "0.06",
"currency": "SEK"
},
"consumed_budget": 0,
"consumed_budget_v2": {
"amount": "0",
"currency": "SEK"
},
"currency": "SEK"
}
The ID of the store.
The ID of the shared budget.
curl --request DELETE \
"https://api.metapic.dev/v2/stores/3/shared-budgets/13" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://api.metapic.dev/v2/stores/3/payment" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_setup_id\": \"porro\"
}"
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\": \"illum\"
}"
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=quam&status=accepted" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 8,
"username": "von.cooper",
"display_name": "Annie Bartell",
"email": "[email protected]",
"client_id": 10,
"preferred_locale": "te_IN",
"language": "te"
},
{
"id": 8,
"username": "von.cooper",
"display_name": "Annie Bartell",
"email": "[email protected]",
"client_id": 10,
"preferred_locale": "te_IN",
"language": "te"
}
],
"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/8" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"include\": [
\"client\"
]
}"
{
"id": 8,
"username": "von.cooper",
"display_name": "Annie Bartell",
"email": "[email protected]",
"client_id": 10,
"preferred_locale": "te_IN",
"language": "te"
}
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": 8,
"username": "von.cooper",
"display_name": "Annie Bartell",
"email": "[email protected]",
"client_id": 10,
"preferred_locale": "te_IN",
"language": "te"
}
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/8/identity" \
--header "Authorization: Bearer {JWT}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"phone\": \"+1234567890\"
}"
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/8/advertiser-categories?page=1&size=15" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": null,
"name": "velit nobis",
"key": "velit nobis"
},
{
"id": null,
"name": "fugiat numquam",
"key": "fugiat numquam"
}
],
"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
}
}
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\": [
6
]
}"
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\": [
20
]
}"
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=maiores" \
--header "Authorization: {accessToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"