Skip to main content
POST
Create a partner tag

Authorizations

Authorization
string
header
required

Tolt API key sent as a bearer token.

Body

application/json
program_id
string
required

Id of the program the tag belongs to (prg_...), as returned when listing programs. Only partners in that program can have the tag.

Minimum string length: 1
name
string
required

Label shown on the partner in the dashboard, up to 50 characters. A program cannot have two tags with the same name, ignoring case.

Required string length: 1 - 50
color
string

Color of the tag in the dashboard, as a hex code like #2457D6. Defaults to one of the dashboard's tag colors.

Pattern: ^#[0-9A-Fa-f]{6}$

Response

The created partner tag

success
boolean
required
Example:

true

message
string
required
Example:

"Request successful"

data
object
required