Skip to content

Rotate the URL secret: the previous URL stops working immediately and the new one is shown only here (captures.write)

POST
/v1/inbound-webhooks/{webhook}:rotate
curl --request POST \
--url https://api.replifier.com/v1/inbound-webhooks/ibw_01hx0000000000000000000000:rotate
webhook
required
string
/^ibw_[a-z0-9]{26}$/

Example

ibw_01hx0000000000000000000000

Webhook with its new url

Media typeapplication/json
object
id
required
string
brandId
required
string
name
required
string
status
required
string
Allowed values: active paused
mapping
required
object
email
required
string
<= 200 characters /^\$(\.[A-Za-z_][A-Za-z0-9_-]{0,63}|\[\d{1,4}\]){1,12}$/
name
required
Any of:
object
path
required
string
<= 200 characters /^\$(\.[A-Za-z_][A-Za-z0-9_-]{0,63}|\[\d{1,4}\]){1,12}$/
externalId
string
<= 200 characters /^\$(\.[A-Za-z_][A-Za-z0-9_-]{0,63}|\[\d{1,4}\]){1,12}$/
occurredAt
string
<= 200 characters /^\$(\.[A-Za-z_][A-Za-z0-9_-]{0,63}|\[\d{1,4}\]){1,12}$/
value
string
<= 200 characters /^\$(\.[A-Za-z_][A-Za-z0-9_-]{0,63}|\[\d{1,4}\]){1,12}$/
currency
Any of:
object
path
required
string
<= 200 characters /^\$(\.[A-Za-z_][A-Za-z0-9_-]{0,63}|\[\d{1,4}\]){1,12}$/
properties
object
key
additional properties
string
<= 200 characters /^\$(\.[A-Za-z_][A-Za-z0-9_-]{0,63}|\[\d{1,4}\]){1,12}$/
hmac
required
object
header
required
string
algorithm
required
string
Allowed values: sha256-hex sha256-base64
prefix
required
string
lastReceivedAt
required
string
nullable
lastResult
required
string
nullable
Allowed values: accepted duplicate mapping_failed unauthorized
lastBody
nullable
createdAt
required
string
updatedAt
required
string
url
string

Example

{
"status": "active",
"mapping": {
"properties": {}
},
"hmac": {
"algorithm": "sha256-hex"
},
"lastResult": "accepted"
}

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"
}
}

No session, expired session, or invalid, expired or revoked API key

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"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

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"
}
}

Does not exist or is not visible to you

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"
}
}