$ twurl -H ads-api.twitter.com -XPOST "/3/accounts/18ce54nehwo/scheduled_tweets?text=test&scheduled_at=2018-02-28T07:58:00Z&nullcast=true" | jq .
{
"errors": [
{
"code": "NOT_FOUND",
"message": "Promotable User 870127656477483008 was not found for Account 18ce54nehwo"
}
],
"request": {
"params": {}
}
}
I’ve verified the current user has the right to compose tweet for the 18ce54nehwo account.
$ twurl -H "https://ads-api.twitter.com" -X GET "/2/accounts/18ce54nehwo/authenticated_user_access" | jq .
{
"data": {
"user_id": 870127656477483008,
"permissions": [
"TWEET_COMPOSER",
"ACCOUNT_ADMIN"
]
},
"request": {
"params": {
"account_id": "18ce54nehwo"
}
}
}