Skip to content

Confirm a pending subscription with the confirmation link token (no session)

POST
/v1/confirmations
curl --request POST \
--url https://api.replifier.com/v1/confirmations \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'
Media typeapplication/json
object
token
required
string
<= 2048 characters

Example generated

{
"token": "example"
}

Confirmed

Media typeapplication/json
object
status
required
string
Allowed values: subscribed

Example

{
"status": "subscribed"
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}