Discussions

Ask a Question
ANSWERED

Post to add subscribers is not working!

I am trying a lot of different possibilities... and any of them is working: curl --location --request POST 'https://api.postscript.io/api/v2/subscribers' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "phone_number": "4372225500", "metadata": { "email": "[email protected]" }, "keyword": "HELLOTKEES" }' {"errors":[{"loc":["origin"],"msg":"field required","type":"value_error.missing"}]} curl --location --request POST 'https://api.postscript.io/api/v2/subscribers' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "phone_number": "4372225500", "metadata": { "email": "[email protected]" }, "keyword_id": "139153" }' {"errors":[{"loc":["origin"],"msg":"field required","type":"value_error.missing"},{"loc":["keyword"],"msg":"Must provide `keyword` OR `keyword_id`, one is required.","type":"value_error"}]} curl --location --request POST 'https://api.postscript.io/api/v2/subscribers' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "phone_number": "4372225500", "metadata": { "email": "[email protected]" }, "keyword_id": 139153 }' {"errors":[{"loc":["origin"],"msg":"field required","type":"value_error.missing"},{"loc":["keyword"],"msg":"Must provide `keyword` OR `keyword_id`, one is required.","type":"value_error"}]} curl --location --request POST 'https://api.postscript.io/api/v2/subscribers' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer sk_bba6ffee6d7ac7913cdeef1da55dfba6' \ --header 'Content-Type: application/json' \ --data-raw '{ "phone_number": "4372225500", "metadata": { "email": "[email protected]" }, "keyword_id": 139153, "keyword": "HELLOTKEES" }' {"errors":[{"loc":["origin"],"msg":"field required","type":"value_error.missing"},{"loc":["keyword_id"],"msg":"Must provide `keyword` OR `keyword_id`, not both.","type":"value_error"}]} I really don't know what to do!
ANSWERED

Analytics API

hey team, wondering if there is an API to get analytics data/ metrics on sends, opens, interactions, ctr, etc... Thanks!
ANSWERED
ANSWERED
ANSWERED

Messages for a subscriber

what's the way to get the sent messages associated to a subscriber?
ANSWERED
ANSWERED

Is there a limit of customer_ids?

We're building a Postscript integration to tag customers as being part of an audience in Peel. Is there a limit of customer_ids to be passed to the shopify_customer_id__in ? As it's a URL query param, we don't know if you are following any limit of elements. thanks!
ANSWERED

Custom API access is not available on this plan. To create custom API implementations, upgrade to a plan with full API access.

Unable to use my Postscript API to build custom connector in Power Automate, kindly help i am getting below error, { "errors": [ { "loc": [], "msg": "Custom API access is not available on this plan. To create custom API implementations, upgrade to a plan with full API access.", "type": "v2.access_denied" } ] }

Webhook Work

I have some problems with the webhook. I create my app. I registered several webhooks , and gave endpoints on my app. But I can get responses after events such as 'shop.incoming_message' or 'shop.subscriber.opt_in' on my app logs. I find a way how to test webhooks in the manual. I get 'Example Event' and sent it with postman. I got "message": "OK" but nothing in my app logs. I changed webhook_id to my id after hook registration but it didn't work. I use API v2.0 Need some help. What am I doing wrong?
ANSWERED

API custom integrations not working

When I make a request to any URL its returns. {"errors":[{"loc":[],"msg":"Custom API access is not available on this plan. To create custom API implementations, upgrade to a plan with full API access.","type":"v2.access_denied"}]}