Signatures
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
idstring
required
organizationIdstring
required
namestring
required
textstring
required
autoChannelIdsstring[]
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
idstring
namestring
required
textstring
required
autoChannelIdsstring[]
{
"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
idstring
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
kindstring
query
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
idstring
required
clientIdstring
required
kindstring
required
namestring
required
textstring
required
tagsstring[]
required
createdAtstring
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
idstring
kindstring
required
namestring
required
textstring
required
tagsstring[]
clientIdstring
{
"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
idstring
required
DELETE
http://localhost:4000/api/v1 /signatures/snippets/{id} Delete a snippet
Parameters
idstring
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