Skip to content
v1.0.0
OpenAPI 3.0.1

Stripo Authentication API

The Stripo Plugin requires an authentication token to perform any operations.

To authenticate your instance of the Stripo Plugin, call the provided endpoint with your Plugin ID and Secret Key. Ensure you include the userId of the user who will be working within the plugin, along with their role. The list of supported roles can be found here

Server:https://plugins.stripo.email
Client Libraries

Methods

​
Methods Operations

Get authentication token

​

Body·

required
application/json
  • The value from your plugin configuration page

  • String value of a user role in the editor. For example, "ADMIN", "USER" or "API". Use "API" value for backend-to-backend requests

  • The value from your plugin configuration page

  • String value of a user identifier

Responses

  • OK

    • Authentication token for the editor

    application/json
Request Example for post/api/v1/auth
curl https://plugins.stripo.email/api/v1/auth \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "pluginId": "PID123456",
  "secretKey": "SK654321",
  "userId": "1",
  "role": "USER"
}'
{
  "token": "TK123456"
}

Models

​
  • The value from your plugin configuration page

  • String value of a user role in the editor. For example, "ADMIN", "USER" or "API". Use "API" value for backend-to-backend requests

  • The value from your plugin configuration page

  • String value of a user identifier

​
  • Authentication token for the editor