Feed Posts
Create a feed post
Getting Started
Endpoints
- Benefit Applications
- Benefits
- Bookings
- Companies
- Event Tickets
- Feed Posts
- Invoices
- Invoice Items
- Locations
- Memberships
- Networks
- Orders
- Plans
- Products
- Resources
- Subscriptions
- Support Tickets
- Transactions
- Visitors
Feed Posts
Create a feed post
Create a feed post.
OAuth
Required scopes:feed
POST
/
feed
/
posts
/
v1
curl --request POST \
--url https://api.spacebring.com/feed/posts/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"post": {
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>"
}
}'
{
"post": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"media": [
{
"height": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"width": 123
}
],
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"og": {},
"text": "<string>",
"user": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}
Authorizations
See our authentication documentation for how to authorize your requests
Headers
The id of the network. Required when using bearer token authentication
Body
application/json
Response
201
application/json
Created
curl --request POST \
--url https://api.spacebring.com/feed/posts/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"post": {
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>"
}
}'
{
"post": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"media": [
{
"height": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"width": 123
}
],
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"og": {},
"text": "<string>",
"user": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}