Skip to content

Describe an authorization request for the consent screen (dashboard session).

GET
/v1/oauth/authorization
curl --request GET \
--url 'https://api.replifier.com/v1/oauth/authorization?query=example'

query is the query string that reached app.replifier.com/oauth/authorize. Returns the client (with its kind: known or “unverified”), its redirect domain, the requested scopes and the organizations and brands the user can grant.

query
required
string
>= 1 characters <= 4096 characters

Request

Media typeapplication/json
object
valid
required
boolean
description
required
string
nullable
redirectTo
required
string
nullable
client
required
object
id
required
string
name
required
string
kind
required
string
Allowed values: known cimd dynamic preregistered
verified
required
boolean
redirectHost
required
string
redirectIsLoopback
required
boolean
resource
required
string
nullable
scopes
required
Array<string>
organizations
required
Array<object>
object
id
required
string
name
required
string
brands
required
Array<object>
object
id
required
string
name
required
string
allowed
required
boolean

Example

{
"client": {
"kind": "known"
}
}

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

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