# Feature is not enabled

**URL:** <https://forum.social.plus/t/feature-is-not-enabled/576>\
**Category:** Web\
**Created:** [November 14, 2022, 1:59am UTC](https://forum.social.plus/t/feature-is-not-enabled/576 "2022-11-14T01:59:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rewards](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@rewards](https://forum.social.plus/u/rewards)\
**Post date:** [November 14, 2022, 1:59am UTC](https://forum.social.plus/t/feature-is-not-enabled/576/1 "2022-11-14T01:59:11Z")

</div>

[https://api.us.amity.co/api/v3/posts](https://api.us.amity.co/api/v3/posts)

I’m trying to do a create post request but whatever I do I can’t make it work.

```auto
curl -X 'POST' \
  'https://api.us.amity.co/api/v3/posts' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer ' \
  -H 'Content-Type: application/json' \
  -d '{
  "data": {
    "text": "test post",
    "images": [
      "string"
    ],
    "files": [
      "string"
    ]
  },
  "dataType": "upstra.customtype",
  "targetType": "user",
  "targetId": "jeffrey-test",
  "metadata": {},
  "postId": "string1",
  "tags": [
    ""
  ],
  "createdAt": "2022-07-07T04:24:20.444Z"
}'

```

Error: response status is 403

I’m doing this call via [Amity API](https://api-docs.amity.co/#/) . I’m also not sure where to put the accessToken generated via /generate-session. Please help.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [November 15, 2022, 6:07am UTC](https://forum.social.plus/t/feature-is-not-enabled/576/2 "2022-11-15T06:07:27Z")

</div>

Hello @rewards our relevant team will reach out to you, thank you :)) 🙏

---

<div class="post-metadata">

**Author:** ![devdieter](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@devdieter](https://forum.social.plus/u/devdieter)\
**Post date:** [November 15, 2022, 11:37am UTC](https://forum.social.plus/t/feature-is-not-enabled/576/3 "2022-11-15T11:37:13Z")

</div>

Hi rewards,

You have to add your access token after the “Bearer” in the authorization header.

```auto
curl -X 'POST' \
  'https://api.us.amity.co/api/v3/posts' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer ACCESSTOKENGOESHERE' \
  -H 'Content-Type: application/json' \

```

---

<div class="post-metadata">

**Author:** ![rewards](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@rewards](https://forum.social.plus/u/rewards)\
**Post date:** [November 16, 2022, 2:39pm UTC](https://forum.social.plus/t/feature-is-not-enabled/576/4 "2022-11-16T14:39:07Z")

</div>

Hello devdieter,

Yes, I’m adding the Accesstoken in authorization but still the response on API is “Feature is not enabled”

---

<div class="post-metadata">

**Author:** ![devdieter](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@devdieter](https://forum.social.plus/u/devdieter)\
**Post date:** [November 17, 2022, 8:21pm UTC](https://forum.social.plus/t/feature-is-not-enabled/576/6 "2022-11-17T20:21:29Z")

</div>

Maybe worth trying v4 of the api for post creation?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [November 18, 2022, 2:36am UTC](https://forum.social.plus/t/feature-is-not-enabled/576/7 "2022-11-18T02:36:51Z")

</div>

Hello @rewards we’re checking this on our side, will keep you posted 🙏
