POST http://dev.amply.tools/admin/graphql/

GraphQL requests

20 HTTP queries on GraphQL endpoint(s)

Refresh with latest query
200 May 5, 2025 10:28 schema: default 595d60
# Time Info
1 29 ms
401 May 5, 2025 00:03 c0fe1e
# Time Info
200 May 4, 2025 20:53 schema: default db744f
# Time Info
1 43 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 19:54 schema: default c9b608
# Time Info
1 55 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 18:55 schema: default bedea3
# Time Info
1 53 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 17:56 schema: default 88747c
# Time Info
1 51 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 16:57 schema: default 29a1f8
# Time Info
1 41 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 15:58 schema: default 0a6944
# Time Info
1 37 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 14:59 schema: default 689750
# Time Info
1 43 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 14:00 schema: default 42bc2d
# Time Info
1 40 ms
mutation refreshToken(...) {
refreshToken(...)
}
Variables:
[
  "refreshToken" => "a548d59aa5fbbc0c55140af6235d2383060ecebc0fa36dbb73d27ea8ba93d03a05afa25f476bf7557371d42f80df2cac127cda356b40824977cbd827ca27481e"
]
mutation refreshToken($refreshToken: String!) {
  refreshToken(token: $refreshToken) {
    token
    refreshToken
    __typename
  }
}
[
  "data" => [
    "refreshToken" => [
      "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDYzNjcyMTEsImV4cCI6MTc0NjM3MDgxMSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoieWFua2VydmlwQGdtYWlsLmNvbSJ9.EMe8QUtRrDlhcIQRAP4GE-xsgLebrTcHulwOJZVktLAloUPGYSg3kNvAYZDRX7ZENWGsSMKjp6EEEQ-w8UXWU9HbTxuEkB61Z9dVbjtz6cr0-BuZ7ycTmJmgs78GC3KwQxb5pC8U_JV3GRsB8F0RsU2mq25uuKMlmdJDepKZLlTYZrzwyxAODMCt7t9F7kXq9eCuQk2AiWGt05NnWVFLVnbjiqkF5tPCIhd-FKQzEyglo5D4sZTSkCt58sk4yP_sDLhYwJwuj_Ady0GEgUWvySKNPmna1_aA6Xnpz_CTMYirwtYgYBq3xKGQshIdAGe08ejW_6524Z0cXDxcr4VTEw"
      "refreshToken" => "c483f1257e097b375d76e1ea8d8b94d87d08e79d37b170b196ada1029cbeb75fdf03a013059488c7764d2577554a4b37f4ae5a100a6e8f384d0eecab56918553"
      "__typename" => "AuthPayload"
    ]
  ]
]
200 May 4, 2025 13:01 schema: default 13eb4b
# Time Info
1 42 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 12:04 schema: default 9bcd24
# Time Info
1 68 ms
query Campaign(...) {
campaign(...)
}
200 May 4, 2025 12:04 schema: default b2c878
# Time Info
1 28 ms
query Campaign(...) {
campaign(...)
}
200 May 4, 2025 12:04 schema: default ade408
# Time Info
1 37 ms
query Campaigns(...) {
campaigns(...)
}
200 May 4, 2025 12:04 schema: default 4db802
# Time Info
1 154 ms
mutation campaignCreate(...) {
campaignCreate(...)
}
200 May 4, 2025 12:03 schema: default 4914c6
# Time Info
1 24 ms
query Applications(...) {
applications(...)
}
200 May 4, 2025 12:02 schema: default be1fc7
# Time Info
1 31 ms
query Projects(...) {
projects(...)
}
200 May 4, 2025 12:02 schema: default 460052
# Time Info
1 23 ms
query Me(...) {
me(...)
}
200 May 4, 2025 12:02 schema: default f5b268
# Time Info
1 28 ms
query Me(...) {
me(...)
}
200 May 4, 2025 12:02 schema: default 30cea8
# Time Info
1 697 ms
mutation Login(...) {
login(...)
}

Schema: default

schema {
  query: Query
  mutation: Mutation
}

type Query {
  id: String
  countries: [Country]
}

type Country {
  code: String!
  name: String!
}

type Mutation {
  "Refresh tokens"
  refreshToken(
    "Refresh Token"
    token: String!
  ): AuthPayload!

  "User login with email and password"
  login(input: LoginInput!): AuthPayload!

  "User reset password"
  resetPassword(input: ResetPasswordInput!): Boolean!

  "User registration with email and password"
  signup(input: RegistrationUserInput!): AuthPayload!

  "User update password"
  updatePassword(input: UpdatePasswordInput!): Boolean!
}

type AuthPayload {
  token: String!
  refreshToken: String!
  user: AmplyUser!
  organization: Organization!
}

type AmplyUser {
  email: String
  name: String
  role: String
  status: String
  avatar: String
}

type Organization {
  name: String!
  id: UUID!
  users: [AmplyUser]
  projectsCount: Int
  projects: [Project]
  logo: String
}

scalar UUID

type Project {
  name: String!
  id: UUID!
  applications: [Application]
  image: String
}

type Application {
  id: UUID!
  bundleId: String!
  name: String!
  image: String!
  platform: String!
  project: Project!
  apiKeys: [ApiKey]
}

type ApiKey {
  public: String!
  secret: String!
  application: Application!
  lastUsed: DateTime
}

scalar DateTime

input LoginInput {
  email: String!
  password: String!
}

input ResetPasswordInput {
  email: String!
}

input RegistrationUserInput {
  email: String!
  password: String!
  organization: String!
  name: String!
}

input UpdatePasswordInput {
  token: String!
  newPassword: String!
  newPasswordRepeat: String!
}