Signatures

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-signatures"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/41130eb0-790c-402a-acf7-d63c6153ef1a/social-card.svg?v=3e7ae33eec8b" alt="Signatures" width="600" height="315"></a>
GET http://localhost:4000/api/v1/signatures

List signatures

Code samples

cURL
curl -X GET "http://localhost:4000/api/v1/signatures" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
[
  {
    "id": "string",
    "organizationId": "string",
    "name": "string",
    "text": "string",
    "autoChannelIds": [
      "string"
    ]
  }
]
Schema
id
string
required
organizationId
string
required
name
string
required
text
string
required
autoChannelIds
string[]
required
POST http://localhost:4000/api/v1/signatures

Create or update a signature

A signature is text appended to posts; autoChannelIds are the channels that get it without being asked.

Request body

application/json
id
string
name
string
required
text
string
required
autoChannelIds
string[]
= []
{
  "id": "string",
  "name": "string",
  "text": "string",
  "autoChannelIds": []
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/signatures" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"string","name":"string","text":"string","autoChannelIds":[]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
DELETE http://localhost:4000/api/v1/signatures/{id}

Delete a signature

Parameters

id
string
path
required

Code samples

cURL
curl -X DELETE "http://localhost:4000/api/v1/signatures/{id}" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
GET http://localhost:4000/api/v1/signatures/snippets

List snippets

Saved captions, hashtag groups, mention groups, shortcodes ([[name]] in a post) and templates. Filter with kind.

Parameters

kind
string
query
caption | hashtags | mentions | shortcode | template

Code samples

cURL
curl -X GET "http://localhost:4000/api/v1/signatures/snippets" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
[
  {
    "id": "string",
    "clientId": "string",
    "kind": "caption",
    "name": "string",
    "text": "string",
    "tags": [
      "string"
    ],
    "createdAt": "2024-01-01T00:00:00Z"
  }
]
Schema
id
string
required
clientId
string
required
kind
string
required
caption | hashtags | mentions | shortcode | template
name
string
required
text
string
required
tags
string[]
required
createdAt
string
required
POST http://localhost:4000/api/v1/signatures/snippets

Create or update a snippet

Send id to change one. A hashtags snippet holds at most 30 hashtags; a shortcode is used in a post as [[name]].

Request body

application/json
id
string
kind
string
required
caption | hashtags | mentions | shortcode | template
name
string
required
text
string
required
tags
string[]
= []
clientId
string
{
  "id": "string",
  "kind": "caption",
  "name": "string",
  "text": "string",
  "tags": [],
  "clientId": "string"
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/signatures/snippets" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"string","kind":"caption","name":"string","text":"string","tags":[],"clientId":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "id": "string"
}
Schema
id
string
required
DELETE http://localhost:4000/api/v1/signatures/snippets/{id}

Delete a snippet

Parameters

id
string
path
required

Code samples

cURL
curl -X DELETE "http://localhost:4000/api/v1/signatures/snippets/{id}" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated