Discussions
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!
Posted by Davi Amaral 12 months ago
Analytics API
hey team, wondering if there is an API to get analytics data/ metrics on sends, opens, interactions, ctr, etc...
Thanks!
Posted by Daniel Langer about 1 year ago
When is v2 coming out of Beta?
Curious about when v2 of the API is coming out of Beta.
Posted by Emmett Naughton about 1 year ago
Virtual test numbers?
Are there any plans to offer virtual test numbers/inboxes? This would be handy when developing API integrations. We'd like to send test SMS messages to a virtual inbox without hitting traditional limitations or using up real-life resources.
Thanks!
Posted by Eric Carlstrom about 1 year ago
Messages for a subscriber
what's the way to get the sent messages associated to a subscriber?
Posted by Garima Sachdeva 12 months ago
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!
Posted by Ruhi Patel 10 months ago
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"
}
]
}
Posted by chandra 9 months ago
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?
Posted by Vlad 6 months ago
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"}]}
Posted by Ammad Eyamin 6 months ago