Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
Graphics
{
"facebook_pages": [1, 2, ...],
"twitter_accounts": [2, 3, ...],
"instagram_accounts": [2, 3, ...],
"facebook_message": "I",
"twitter_message": "LIKE",
"instagram_message": "PEOPLE",
"publication_date": "19/07/2022 20:43:00 UTC",
"local_timezone": "America/New_York",
"alt_text": "VERY MUCH",
"social_attachments_attributes": [
{
"mediable_type": "Picture",
"mediable_id": 43,
"position": 0
},
...
]
}
Newsletter
{
"facebook_pages": [1, 2, ...],
"twitter_accounts": [2, 3, ...],
"facebook_message": "https://viewsite.gogipper.com/page/<uniqueID>",
"twitter_message": "https://viewsite.gogipper.com/page/<uniqueID>",
"publication_date": "19/07/2022 20:43:00 UTC",
"local_timezone": "America/New_York",
"social_attachments_attributes": [
{
"preset_id": PRESET_ID,
"template_id": TEMPLATE_ID
},
...
]
}
{
success: true
}
| Param name | Description |
|---|---|
|
facebook_pages
optional |
Array of IDs facebook pages Validations:
|
|
twitter_accounts
optional |
Array of IDs twitter pages Validations:
|
|
instagram_accounts
optional |
Array of IDs instagram pages Validations:
|
|
facebook_message
optional |
Facebook message Validations:
|
|
twitter_message
optional |
Twitter message Validations:
|
|
instagram_message
optional |
Instagram message Validations:
|
|
publication_date
required |
DateTime of publication Validations:
|
|
local_timezone
optional |
Local timezone for publication date Validations:
|
|
alt_text
optional |
Validations:
|
|
social_attachments_attributes
optional |
Validations:
|
|
social_attachments_attributes[mediable_type]
required |
Validations:
|
|
social_attachments_attributes[mediable_id]
required |
ID of media Validations:
|
|
social_attachments_attributes[position]
required |
Validations:
|
|
social_attachments_attributes[preset_id]
optional |
required for newsletter publishing Validations:
|
|
social_attachments_attributes[template_id]
optional |
required for newsletter publishing Validations:
|