Create

POST /users/:user/signature

A Signature is a piece of text that can be automatically appended to outgoing messages.

Examples

Create the User’s Signature

Request

POST /users/zygnZv/signature

Body

{
  "content": "Naomi Nagata"
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X POST /users/zygnZv/signature
    -d '{
  "content": "Naomi Nagata"
}'

Response

Status

201

Response Type

Signature

Example Body

{
  "@type": "Signature",
  "id": "/users/zygnZv/signature",
  "@context": "/contexts/Signature.jsonld",
  "content": "Naomi Nagata"
}

© 2024 TextUs